mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: vc: Use G-expressions.
* gnu/packages/maths.scm (vc)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
d6cb55b395
commit
24d4e8182d
1 changed files with 13 additions and 12 deletions
|
@ -5942,18 +5942,19 @@ (define-public vc
|
||||||
(base32 "0zq37r8yisd4dwlb024l10wk2yq9kisa4xm79ia1ggrz7w2s13lq"))))
|
(base32 "0zq37r8yisd4dwlb024l10wk2yq9kisa4xm79ia1ggrz7w2s13lq"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
(list
|
||||||
'("-DBUILD_TESTING=ON"
|
#:configure-flags
|
||||||
;; By default, Vc will optimize for the CPU of the build machine.
|
#~(list "-DBUILD_TESTING=ON"
|
||||||
;; Setting this to "none" makes it create portable binaries. See
|
;; By default, Vc will optimize for the CPU of the build machine.
|
||||||
;; "cmake/OptimizeForArchitecture.cmake".
|
;; Setting this to "none" makes it create portable binaries. See
|
||||||
"-DTARGET_ARCHITECTURE=none")
|
;; "cmake/OptimizeForArchitecture.cmake".
|
||||||
#:phases (modify-phases %standard-phases
|
"-DTARGET_ARCHITECTURE=none")
|
||||||
(add-after 'unpack 'copy-testdata
|
#:phases
|
||||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
#~(modify-phases %standard-phases
|
||||||
(let ((testdata (assoc-ref (or native-inputs inputs)
|
(add-after 'unpack 'copy-testdata
|
||||||
"testdata")))
|
(lambda _
|
||||||
(copy-recursively testdata "tests/testdata")))))))
|
(copy-recursively #$(this-package-native-input "testdata")
|
||||||
|
"tests/testdata"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("virtest" ,virtest)
|
`(("virtest" ,virtest)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue