mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: spirv-llvm-translator: Build shared library.
* gnu/packages/vulkan.scm (spirv-llvm-translator)[arguments]: Adjust configure-flags to link the executable to the shared library location and enable building the shared libraries. Change-Id: I0f44e1562957fb7e6c2e6f7a10dceed8f32ca7ce
This commit is contained in:
parent
834a419524
commit
2dfe45e12e
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,9 @@ (define-public spirv-llvm-translator
|
||||||
(string-append "-DLLVM_EXTERNAL_LIT="
|
(string-append "-DLLVM_EXTERNAL_LIT="
|
||||||
(assoc-ref %build-inputs "python-lit")
|
(assoc-ref %build-inputs "python-lit")
|
||||||
"/bin/lit")
|
"/bin/lit")
|
||||||
|
(string-append "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath="
|
||||||
|
(assoc-ref %outputs "out") "/lib")
|
||||||
|
"-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))
|
||||||
|
|
Loading…
Reference in a new issue