me
/
guix
Archived
1
0
Fork 0

gnu: xtensor: Update to 0.24.0.

* gnu/packages/algebra.scm (xtensor): Update to 0.24.0.
[native-inputs]: Add DOCTEST.
(xtensor-benchmark)[arguments]: Narrow substitution regex.
Marius Bakke 2022-02-18 21:37:47 +01:00
parent 93cc9fb140
commit 4aae3774ca
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 4 deletions

View File

@ -1139,7 +1139,7 @@ features, and more.")
(define-public xtensor
(package
(name "xtensor")
(version "0.20.10")
(version "0.24.0")
(source (origin
(method git-fetch)
(uri (git-reference
@ -1147,11 +1147,11 @@ features, and more.")
(commit version)))
(sha256
(base32
"1fmv2hpx610xwhxrndfsfvlbqfyk4l3gi5q5d7pa9m82kblxjj9l"))
"14fpzwdq26p2fqdrmc78hny9pp09k9c53jnwlh7f8x54ikzm23c2"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(native-inputs
(list googletest xtl))
(list doctest googletest xtl))
(arguments
`(#:configure-flags
'("-DBUILD_TESTS=ON")
@ -1181,7 +1181,7 @@ xtensor provides:
(add-after 'unpack 'remove-march=native
(lambda _
(substitute* "benchmark/CMakeLists.txt"
(("-march=native") ""))))
(("-march=native\"") "\""))))
(add-after 'unpack 'link-with-googlebenchmark
(lambda _
(substitute* "benchmark/CMakeLists.txt"