mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: spirv-llvm-translator: Rewrite using g-exps.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Rewrite using g-expressions. Change-Id: If0025060e5aa24a9d90724966887ea03f4f8c4b3
This commit is contained in:
parent
865920e01e
commit
1615084a9a
1 changed files with 13 additions and 12 deletions
|
@ -169,19 +169,20 @@ (define-public spirv-llvm-translator
|
||||||
(arguments
|
(arguments
|
||||||
;; The test suite is known to fail on several architectures:
|
;; The test suite is known to fail on several architectures:
|
||||||
;; https://github.com/llvm/llvm-project/issues/59637
|
;; https://github.com/llvm/llvm-project/issues/59637
|
||||||
`(#:tests? ,(and (not (%current-target-system))
|
(list
|
||||||
(target-x86-64?))
|
#:tests? (and (not (%current-target-system))
|
||||||
|
(target-x86-64?))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list (string-append "-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="
|
#~(list (string-append "-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="
|
||||||
(assoc-ref %build-inputs "spirv-headers")
|
#$(this-package-native-input "spirv-headers")
|
||||||
"/include/spirv")
|
"/include/spirv")
|
||||||
(string-append "-DLLVM_EXTERNAL_LIT="
|
(string-append "-DLLVM_EXTERNAL_LIT="
|
||||||
(assoc-ref %build-inputs "python-lit")
|
#$(this-package-native-input "python-lit")
|
||||||
"/bin/lit")
|
"/bin/lit")
|
||||||
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
|
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out") "/lib")
|
#$output "/lib")
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
"-DLLVM_SPIRV_INCLUDE_TESTS=ON")))
|
"-DLLVM_SPIRV_INCLUDE_TESTS=ON")))
|
||||||
(inputs (list llvm-18))
|
(inputs (list llvm-18))
|
||||||
(native-inputs (list clang-18 llvm-18 python-lit spirv-headers))
|
(native-inputs (list clang-18 llvm-18 python-lit spirv-headers))
|
||||||
(home-page "https://github.com/KhronosGroup/SPIRV-LLVM-Translator")
|
(home-page "https://github.com/KhronosGroup/SPIRV-LLVM-Translator")
|
||||||
|
|
Loading…
Reference in a new issue