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.
This commit is contained in:
parent
93cc9fb140
commit
4aae3774ca
1 changed files with 4 additions and 4 deletions
|
@ -1139,7 +1139,7 @@ features, and more.")
|
||||||
(define-public xtensor
|
(define-public xtensor
|
||||||
(package
|
(package
|
||||||
(name "xtensor")
|
(name "xtensor")
|
||||||
(version "0.20.10")
|
(version "0.24.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1147,11 +1147,11 @@ features, and more.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1fmv2hpx610xwhxrndfsfvlbqfyk4l3gi5q5d7pa9m82kblxjj9l"))
|
"14fpzwdq26p2fqdrmc78hny9pp09k9c53jnwlh7f8x54ikzm23c2"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list googletest xtl))
|
(list doctest googletest xtl))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
'("-DBUILD_TESTS=ON")
|
'("-DBUILD_TESTS=ON")
|
||||||
|
@ -1181,7 +1181,7 @@ xtensor provides:
|
||||||
(add-after 'unpack 'remove-march=native
|
(add-after 'unpack 'remove-march=native
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "benchmark/CMakeLists.txt"
|
(substitute* "benchmark/CMakeLists.txt"
|
||||||
(("-march=native") ""))))
|
(("-march=native\"") "\""))))
|
||||||
(add-after 'unpack 'link-with-googlebenchmark
|
(add-after 'unpack 'link-with-googlebenchmark
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "benchmark/CMakeLists.txt"
|
(substitute* "benchmark/CMakeLists.txt"
|
||||||
|
|
Reference in a new issue