This commit is contained in:
Daniel Ziltener 2024-04-30 21:52:17 +02:00
parent 3022a84999
commit 17443dfa32
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -25,6 +25,8 @@
#:use-module #:use-module
(gnu packages llvm-meta) (gnu packages llvm-meta)
#:use-module #:use-module
(gnu packages xml)
#:use-module
(gnu packages zig) (gnu packages zig)
) )
@ -51,16 +53,15 @@
#~(cons* (string-append "-DCMAKE_PREFIX_PATH=" #~(cons* (string-append "-DCMAKE_PREFIX_PATH="
#$(file-append llvm-17 "")) #$(file-append llvm-17 ""))
"-DCMAKE_SKIP_BUILD_RPATH=ON" "-DCMAKE_SKIP_BUILD_RPATH=ON"
"-DZIG_STATIC_LLVM=ON" #$flags))
(delete "-DZIG_SHARED_LLVM=ON"
#$flags)))
((#:phases phases '%standard-phases) ((#:phases phases '%standard-phases)
#~(modify-phases #$phases #~(modify-phases #$phases
(delete 'patch-more-shebangs))))) (delete 'patch-more-shebangs)))))
(inputs (inputs
(modify-inputs (package-inputs zig-0.10) (modify-inputs (package-inputs zig-0.10)
(replace "clang" clang-17) (replace "clang" clang-17)
(replace "lld" lld-17))) (replace "lld" lld-17)
(append libxml2)))
(native-inputs (native-inputs
(modify-inputs (package-native-inputs zig-0.10) (modify-inputs (package-native-inputs zig-0.10)
(append gcc-13) (append gcc-13)