guix-commits
[Top][All Lists]
Advanced

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

branch staging updated: gnu: spirv-tools: Disable building static librar


From: guix-commits
Subject: branch staging updated: gnu: spirv-tools: Disable building static libraries.
Date: Thu, 17 Nov 2022 13:24:02 -0500

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

mbakke pushed a commit to branch staging
in repository guix.

The following commit(s) were added to refs/heads/staging by this push:
     new 522d21863e gnu: spirv-tools: Disable building static libraries.
522d21863e is described below

commit 522d21863eabf032e6131ab0f0f65091b0b81963
Author: Kaelyn Takata <kaelyn.alexi@protonmail.com>
AuthorDate: Wed Nov 16 22:52:56 2022 +0000

    gnu: spirv-tools: Disable building static libraries.
    
    * gnu/packages/vulkan.scm (spirv-tools): Disable building static libraries 
to
    fix linking issues for packages such as mpv.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/vulkan.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index c00c06d7f3..6840f66c68 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -91,6 +91,9 @@ and for the GLSL.std.450 extended instruction set.
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
+                               ;; Some packages like mpv fail to link
+                               ;; when the static libraries are built.
+                               "-DSPIRV_TOOLS_BUILD_STATIC=OFF"
                                (string-append
                                 "-DSPIRV-Headers_SOURCE_DIR="
                                 (assoc-ref %build-inputs "spirv-headers")))))



reply via email to

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