[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: vulkan-loader: Update to 1.2.202.
From: |
guix-commits |
Subject: |
04/07: gnu: vulkan-loader: Update to 1.2.202. |
Date: |
Tue, 13 Sep 2022 11:37:39 -0400 (EDT) |
rekado pushed a commit to branch update-vulkan-headers-staging
in repository guix.
commit 77514d9b20c14b09e2018a60d593c97100a1c143
Author: Kaelyn Takata <kaelyn.alexi@protonmail.com>
AuthorDate: Thu Sep 1 16:27:09 2022 +0000
gnu: vulkan-loader: Update to 1.2.202.
* gnu/packages/vulkan.scm (vulkan-loader): Update to 1.2.202.
[arguments]: Enable tests by removing obsolete build phase
'disable-loader-tests and adjusting configure flags.
---
gnu/packages/vulkan.scm | 21 ++++++---------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index 61cbcf8411..74432298f8 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -207,7 +207,7 @@ interpretation of the specifications for these languages.")
(define-public vulkan-loader
(package
(name "vulkan-loader")
- (version "1.2.162")
+ (version "1.2.202")
(source
(origin
(method git-fetch)
@@ -217,32 +217,23 @@ interpretation of the specifications for these
languages.")
(file-name (git-file-name name version))
(sha256
(base32
- "15gx9ab6w1sjq9hkpbas7z2f8f47j6mlln6p3w26qmydjj8gfjjv"))))
+ "1vsaa16clncz19lihgj39rdg4dspkxjay1ii6pkf6fpl1vkw1dh2"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags
,#~(list
(string-append "-DVULKAN_HEADERS_INSTALL_DIR="
#$(this-package-input "vulkan-headers"))
- (string-append "-DCMAKE_INSTALL_INCLUDEDIR="
- #$(this-package-input "vulkan-headers")
- "/include"))
+ (string-append "-DGOOGLETEST_INSTALL_DIR="
+ (getcwd) "/source/external/googletest")
+ "-DBUILD_TESTS=ON")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'unpack-googletest
(lambda* (#:key inputs #:allow-other-keys)
(let ((gtest (assoc-ref inputs "googletest:source")))
(when gtest
(copy-recursively gtest "external/googletest"))
- #t)))
- (add-after 'unpack 'disable-loader-tests
- (lambda _
- ;; Many tests require a Vulkan driver. Skip those.
- (substitute* "tests/loader_validation_tests.cpp"
- ((".*= vkCreateInstance.*" all)
- (string-append "GTEST_SKIP();\n" all))
- (("TEST_F.*InstanceExtensionEnumerated.*" all)
- (string-append all "\nGTEST_SKIP();\n")))
- #t)))))
+ #t))))))
(native-inputs
`(("googletest:source" ,(package-source googletest))
("libxrandr" ,libxrandr)
- branch update-vulkan-headers-staging created (now 9e3bb38de9), guix-commits, 2022/09/13
- 01/07: gnu: spirv-headers: Update to 1.2.198.0., guix-commits, 2022/09/13
- 02/07: gnu: spirv-tools: Update to 2021.4., guix-commits, 2022/09/13
- 07/07: gnu: Add vulkan-validationlayers., guix-commits, 2022/09/13
- 04/07: gnu: vulkan-loader: Update to 1.2.202.,
guix-commits <=
- 06/07: gnu: shaderc: Update to 2021.3., guix-commits, 2022/09/13
- 05/07: gnu: vulkan-tools: Update to 1.2.201., guix-commits, 2022/09/13
- 03/07: gnu: vulkan-headers: Update to 1.2.202., guix-commits, 2022/09/13