Archived
1
0
Fork 0

gnu: vc: Use G-expressions.

* gnu/packages/maths.scm (vc)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-16 02:00:01 +02:00
parent d6cb55b395
commit 24d4e8182d
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5942,18 +5942,19 @@ supports compressed MAT files, as well as newer (version 7.3) MAT files.")
(base32 "0zq37r8yisd4dwlb024l10wk2yq9kisa4xm79ia1ggrz7w2s13lq")))) (base32 "0zq37r8yisd4dwlb024l10wk2yq9kisa4xm79ia1ggrz7w2s13lq"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:configure-flags (list
'("-DBUILD_TESTING=ON" #:configure-flags
#~(list "-DBUILD_TESTING=ON"
;; By default, Vc will optimize for the CPU of the build machine. ;; By default, Vc will optimize for the CPU of the build machine.
;; Setting this to "none" makes it create portable binaries. See ;; Setting this to "none" makes it create portable binaries. See
;; "cmake/OptimizeForArchitecture.cmake". ;; "cmake/OptimizeForArchitecture.cmake".
"-DTARGET_ARCHITECTURE=none") "-DTARGET_ARCHITECTURE=none")
#:phases (modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'copy-testdata (add-after 'unpack 'copy-testdata
(lambda* (#:key inputs native-inputs #:allow-other-keys) (lambda _
(let ((testdata (assoc-ref (or native-inputs inputs) (copy-recursively #$(this-package-native-input "testdata")
"testdata"))) "tests/testdata"))))))
(copy-recursively testdata "tests/testdata")))))))
(native-inputs (native-inputs
`(("virtest" ,virtest) `(("virtest" ,virtest)