[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/416: gnu: vulkan-loader: Update to 1.2.202.
From: |
guix-commits |
Subject: |
04/416: gnu: vulkan-loader: Update to 1.2.202. |
Date: |
Fri, 14 Apr 2023 15:25:10 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c4fec03621c4ad3a5a27a46aef96a7ce894d51f7
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 9e9174ca7e..6519f34f20 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -204,7 +204,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)
@@ -214,32 +214,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 master updated (cbba52aaf7 -> 4bbd0f8c7a), guix-commits, 2023/04/14
- 02/416: gnu: spirv-tools: Update to 2021.4., guix-commits, 2023/04/14
- 01/416: gnu: spirv-headers: Update to 1.2.198.0., guix-commits, 2023/04/14
- 03/416: gnu: vulkan-headers: Update to 1.2.202., guix-commits, 2023/04/14
- 06/416: gnu: shaderc: Update to 2021.3., guix-commits, 2023/04/14
- 07/416: gnu: Add vulkan-validationlayers., guix-commits, 2023/04/14
- 16/416: gnu: python-pytest-timeout: Update to 2.1.0., guix-commits, 2023/04/14
- 21/416: gnu: sbcl: Resolve TODO., guix-commits, 2023/04/14
- 04/416: gnu: vulkan-loader: Update to 1.2.202.,
guix-commits <=
- 05/416: gnu: vulkan-tools: Update to 1.2.201., guix-commits, 2023/04/14
- 08/416: gnu: vulkan-validationlayers: Avoid direct variable references., guix-commits, 2023/04/14
- 10/416: gnu: spirv-headers: Update to 1.3.231.1., guix-commits, 2023/04/14
- 09/416: gnu: spirv-tools: Disable building static libraries., guix-commits, 2023/04/14
- 11/416: gnu: spirv-tools: Update to 2022.4., guix-commits, 2023/04/14
- 12/416: gnu: glslang: Update to 11.9.0., guix-commits, 2023/04/14
- 13/416: gnu: libaom: Update to 3.5.0., guix-commits, 2023/04/14
- 17/416: gnu: xdg-utils: Resolve TODOs., guix-commits, 2023/04/14
- 18/416: gnu: xdg-utils: Use G-expression., guix-commits, 2023/04/14
- 14/416: gnu: VLC: Fix build with dav1d 1.0., guix-commits, 2023/04/14