mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: libfive: Fix build.
* gnu/packages/engineering.scm (libfive)[source]: Remove snippet. [arguments]: Remove custom phase to find catch's header. [native-inputs]: Remove catch-framework2.
This commit is contained in:
parent
56c39a07c8
commit
d2ec1f8ed6
1 changed files with 1 additions and 14 deletions
|
@ -766,12 +766,7 @@ (define-public libfive
|
|||
(sha256
|
||||
(base32
|
||||
"0ryv2hcbrwqc087w7rrs4a2irkcpmqync00g4dh8n7jn10w2jkim"))
|
||||
(file-name (git-file-name name version))
|
||||
(snippet
|
||||
;; Remove bundled catch since we provide our own.
|
||||
'(begin
|
||||
(delete-file "libfive/test/catch.hpp")
|
||||
#t))))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:test-target "libfive-test"
|
||||
|
@ -780,19 +775,11 @@ (define-public libfive
|
|||
(add-after 'unpack 'remove-native-compilation
|
||||
(lambda _
|
||||
(substitute* "CMakeLists.txt" (("-march=native") ""))
|
||||
#t))
|
||||
(add-after 'unpack 'find-catch
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "CPLUS_INCLUDE_PATH"
|
||||
(string-append (assoc-ref inputs "catch")
|
||||
"/include/catch2:"
|
||||
(or (getenv "CPLUS_INCLUDE_PATH") "")))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("boost" ,boost)
|
||||
("catch" ,catch-framework2)
|
||||
("libpng" ,libpng)
|
||||
("qtbase" ,qtbase)
|
||||
("eigen" ,eigen)
|
||||
|
|
Loading…
Reference in a new issue