guix-patches
[Top][All Lists]
Advanced

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

[bug#58617] [PATCH core-updates 2/8] gnu: spirv-tools: Update to 2022.3.


From: Kaelyn Takata
Subject: [bug#58617] [PATCH core-updates 2/8] gnu: spirv-tools: Update to 2022.3.
Date: Wed, 19 Oct 2022 00:42:06 +0000

* gnu/packages/vulkan.scm (spirv-tools): Update to 2022.3.
[configure-flags]: Disable static libraries as they cause link issues
with several packages such as mpv.
---
 gnu/packages/vulkan.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index a859709460..3c8b7c3169 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -77,7 +77,7 @@ (define-public spirv-headers
 (define-public spirv-tools
   (package
     (name "spirv-tools")
-    (version "2020.2")
+    (version "2022.3")
     (source
      (origin
       (method git-fetch)
@@ -85,11 +85,14 @@ (define-public spirv-tools
             (url "https://github.com/KhronosGroup/SPIRV-Tools";)
             (commit (string-append "v" version))))
       (sha256
-       (base32 "00b7xgyrcb2qq63pp3cnw5q1xqx2d9rfn65lai6n6r89s1vh3vg6"))
+       (base32 "0jgyqxj2d9dlmh3la7jd3vl74lmq6vycmxi9p8k4h71wliklwl87"))
       (file-name (git-file-name name version))))
     (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")))))
--
2.37.3







reply via email to

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