guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: spirv-llvm-translator: Build shared library.


From: guix-commits
Subject: branch master updated: gnu: spirv-llvm-translator: Build shared library.
Date: Mon, 03 Jun 2024 01:31:36 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2dfe45e12e gnu: spirv-llvm-translator: Build shared library.
2dfe45e12e is described below

commit 2dfe45e12ed55e5f9bf3d4061200bc607e2e5db8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jun 2 21:31:00 2024 +0300

    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
---
 gnu/packages/vulkan.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 4c53a19aba..4bcdb1b226 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -174,6 +174,9 @@ SPIR-V, aiming to emit GLSL or MSL that looks like 
human-written code.")
              (string-append "-DLLVM_EXTERNAL_LIT="
                             (assoc-ref %build-inputs "python-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")))
     (inputs (list llvm-18))
     (native-inputs (list clang-18 llvm-18 python-lit spirv-headers))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]