git: 7e6bb8bb94ea - main - graphics/vulkan-validation-layers: update to 1.3.232
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Oct 2022 11:31:38 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e6bb8bb94ea3cc85e99e50a681bae8f5c135036 commit 7e6bb8bb94ea3cc85e99e50a681bae8f5c135036 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-10-28 03:54:50 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-10-28 11:31:19 +0000 graphics/vulkan-validation-layers: update to 1.3.232 Changes: https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/v1.3.231...v1.3.232 Reported by: Repology, portscout --- graphics/vulkan-validation-layers/Makefile | 2 +- graphics/vulkan-validation-layers/distinfo | 6 ++-- .../files/patch-CMakeLists.txt | 32 ++++++++++++++++++++-- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/graphics/vulkan-validation-layers/Makefile b/graphics/vulkan-validation-layers/Makefile index b2cecd74675c..b237da18d388 100644 --- a/graphics/vulkan-validation-layers/Makefile +++ b/graphics/vulkan-validation-layers/Makefile @@ -1,6 +1,6 @@ PORTNAME= vulkan-validation-layers DISTVERSIONPREFIX= v -DISTVERSION= 1.3.231 +DISTVERSION= 1.3.232 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org diff --git a/graphics/vulkan-validation-layers/distinfo b/graphics/vulkan-validation-layers/distinfo index 0cc670828e41..b4fd8c710ec7 100644 --- a/graphics/vulkan-validation-layers/distinfo +++ b/graphics/vulkan-validation-layers/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1665729722 -SHA256 (KhronosGroup-Vulkan-ValidationLayers-v1.3.231_GH0.tar.gz) = 8b071ae6007c867d7cd6aadbf6ae51f56970cd838526697453e78601b5134958 -SIZE (KhronosGroup-Vulkan-ValidationLayers-v1.3.231_GH0.tar.gz) = 4390556 +TIMESTAMP = 1666929290 +SHA256 (KhronosGroup-Vulkan-ValidationLayers-v1.3.232_GH0.tar.gz) = 4c138c5cd7de5dbeb5fabcbb64f2ec7e63153e77e50a43f4820f37178339cda3 +SIZE (KhronosGroup-Vulkan-ValidationLayers-v1.3.232_GH0.tar.gz) = 4423574 SHA256 (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-187-g85a1ed2_GH0.tar.gz) = 2a8b49657434cbb96c20e0c1558a70d32fc8eadf80e1d611c73ff721fb3d8212 SIZE (KhronosGroup-SPIRV-Headers-1.5.4.raytracing.fixed-187-g85a1ed2_GH0.tar.gz) = 440065 SHA256 (martinus-robin-hood-hashing-3.11.5_GH0.tar.gz) = 3693e44dda569e9a8b87ce8263f7477b23af448a3c3600c8ab9004fe79c20ad0 diff --git a/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt b/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt index 7b32eb01f8af..95461361098d 100644 --- a/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt +++ b/graphics/vulkan-validation-layers/files/patch-CMakeLists.txt @@ -1,3 +1,15 @@ +CMake Error at CMakeLists.txt:220 (find_package): + Could not find a package configuration file provided by "SPIRV-Headers" + with any of the following names: + + SPIRV-HeadersConfig.cmake + spirv-headers-config.cmake + + Add the installation prefix of "SPIRV-Headers" to CMAKE_PREFIX_PATH or set + "SPIRV-Headers_DIR" to a directory containing one of the above files. If + "SPIRV-Headers" provides a separate development package or SDK, be sure it + has been installed. + CMake Error at CMakeLists.txt:255 (find_package): Could not find a package configuration file provided by "robin_hood" with any of the following names: @@ -10,9 +22,9 @@ CMake Error at CMakeLists.txt:255 (find_package): "robin_hood" provides a separate development package or SDK, be sure it has been installed. ---- CMakeLists.txt.orig 2022-10-14 06:42:02 UTC +--- CMakeLists.txt.orig 2022-10-28 03:54:50 UTC +++ CMakeLists.txt -@@ -89,6 +89,8 @@ if (ROBIN_HOOD_HASHING_INSTALL_DIR) +@@ -89,12 +89,16 @@ if (ROBIN_HOOD_HASHING_INSTALL_DIR) # Dependencies can be installed in arbitrary locations. This is done by update_deps.py / users. if (ROBIN_HOOD_HASHING_INSTALL_DIR) list(APPEND CMAKE_PREFIX_PATH ${ROBIN_HOOD_HASHING_INSTALL_DIR}) @@ -21,7 +33,15 @@ CMake Error at CMakeLists.txt:255 (find_package): endif() if (GLSLANG_INSTALL_DIR) list(APPEND CMAKE_PREFIX_PATH ${GLSLANG_INSTALL_DIR}) -@@ -206,7 +208,9 @@ if (USE_ROBIN_HOOD_HASHING) + endif() + if (SPIRV_HEADERS_INSTALL_DIR) + list(APPEND CMAKE_PREFIX_PATH ${SPIRV_HEADERS_INSTALL_DIR}) ++ add_library(SPIRV-Headers::SPIRV-Headers INTERFACE IMPORTED) ++ target_include_directories(SPIRV-Headers::SPIRV-Headers INTERFACE ${SPIRV_HEADERS_INSTALL_DIR}/include) + endif() + if (SPIRV_TOOLS_INSTALL_DIR) + list(APPEND CMAKE_PREFIX_PATH ${SPIRV_TOOLS_INSTALL_DIR}) +@@ -209,11 +213,15 @@ if (USE_ROBIN_HOOD_HASHING) option(BUILD_LAYER_SUPPORT_FILES "Generate layer files" OFF) # For generating files when not building layers option(USE_ROBIN_HOOD_HASHING "Use robin-hood-hashing" ON) if (USE_ROBIN_HOOD_HASHING) @@ -31,3 +51,9 @@ CMake Error at CMakeLists.txt:255 (find_package): endif() if(BUILD_LAYERS OR BUILD_TESTS) ++ if (NOT TARGET SPIRV-Headers::SPIRV-Headers) + find_package(SPIRV-Headers REQUIRED CONFIG QUIET) ++ endif() + + include(VVLGenerateSourceCode) +