diff options
author | Danny Rawlins <contact@romster.me> | 2022-05-22 20:33:59 +1000 |
---|---|---|
committer | Danny Rawlins <contact@romster.me> | 2022-05-22 20:36:30 +1000 |
commit | a8fc00b28f2514cffcc01fed41dac8b8d63846da (patch) | |
tree | 2a194282d455062d40c0aa5ac31886e1eb68ebeb /vulkan-validation-layers | |
parent | cc39df0a7d69617ec35c10152b213385d9a5e2bd (diff) | |
download | opt-a8fc00b28f2514cffcc01fed41dac8b8d63846da.tar.gz opt-a8fc00b28f2514cffcc01fed41dac8b8d63846da.tar.xz |
vulkan-validation-layers: 1.3.204.0 -> 1.3.211.0
Diffstat (limited to 'vulkan-validation-layers')
-rw-r--r-- | vulkan-validation-layers/.signature | 9 | ||||
-rw-r--r-- | vulkan-validation-layers/Pkgfile | 38 |
2 files changed, 16 insertions, 31 deletions
diff --git a/vulkan-validation-layers/.signature b/vulkan-validation-layers/.signature index cd4b25fe4..150bcac7e 100644 --- a/vulkan-validation-layers/.signature +++ b/vulkan-validation-layers/.signature @@ -1,10 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/ddp0Mk6lnB83rimmC/5PqLKcw6mXeC9/g8ZmGCuBlRkZmleRojgpuHFNKjKktlQEq/P4hfveNQZRXvthM5xjAY= -SHA256 (Pkgfile) = 12014068c3233e343d24b372b3380d47028ab1ee3fa886be10c1899d7efd7690 +RWSE3ohX2g5d/UN6VRL2QelnAugWjS6rb+oI7RQhwds41Ecnj+nj1jWLid3SjwwVUxBcHjrOU9VwuFcNofDZ5DsFgUI0OUuNUA0= +SHA256 (Pkgfile) = c30600f47c8526e375fcaedbfea0538cdaa2a2cbf8799a53c4c534fdaf0a21b6 SHA256 (.footprint) = cd0824869148d109d026a99a0393dd24215cedf6341979627c5b49957a634e5f -SHA256 (Vulkan-ValidationLayers-1.3.204.0.tar.gz) = 82b59c4622e9d1dbe267c4651bb2514b6b89bee90e512ae7d1d7abc76c833a1d -SHA256 (SPIRV-Headers-b42ba6d92faf6b4938e6f22ddd186dbdacc98d78.tar.gz) = d58e8e65ea4b4f1e421caaad68f88ce7b713ac3519bd49e7b71b6a5690489eb6 -SHA256 (known_good.py.in) = f5e5330201ab5686a84d9ff65fd372af510d564aa6eb2d3c332d59a6e69ce2e3 +SHA256 (Vulkan-ValidationLayers-sdk-1.3.211.0.tar.gz) = 927c1cb98c81fe8a1a529cf2d977d701dcda49c495a19583dc00e178b6757203 SHA256 (add-missing-export.patch) = 6ce7222099403dea8425b1dd305b9ebc43e747c32aca2a24cfc7f67ddd34cebf SHA256 (fix_shared.patch) = 840af33ab26638c8c29da4a7f284eae6aeb40e01d506eef9851d7e6ee4a8bed0 -SHA256 (vulkan-layers-1.3.204-Fix-dependency-detection.patch) = 9aff42a5d6fc5073fbcb6c0dde45b4eba49083317a4bee0cd6db011c92b4744c diff --git a/vulkan-validation-layers/Pkgfile b/vulkan-validation-layers/Pkgfile index 3fd96e1a6..651058c56 100644 --- a/vulkan-validation-layers/Pkgfile +++ b/vulkan-validation-layers/Pkgfile @@ -1,48 +1,36 @@ # Description: Vulkan validation layers # URL: https://www.khronos.org/vulkan/ # Maintainer: Danny Rawlins, crux at romster dot me -# Depends on: glslang robin-hood-hashing spirv-tools vulkan-headers xorg-libxrandr +# Depends on: glslang robin-hood-hashing vulkan-headers xorg-libxrandr # Optional: wayland name=vulkan-validation-layers -version=1.3.204.0 -_spirv_headers=b42ba6d92faf6b4938e6f22ddd186dbdacc98d78 +_name=Vulkan-ValidationLayers-sdk +version=1.3.211.0 +_version=sdk-$version +#version=1.3.213 +#_version=v$version +#_name=Vulkan-ValidationLayers release=1 -source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/sdk-$version/Vulkan-ValidationLayers-$version.tar.gz - https://github.com/KhronosGroup/SPIRV-Headers/archive/$_spirv_headers/SPIRV-Headers-$_spirv_headers.tar.gz - known_good.py.in +source=(https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/$_version/$_name-$version.tar.gz add-missing-export.patch - fix_shared.patch - vulkan-layers-1.3.204-Fix-dependency-detection.patch) + fix_shared.patch) build() { - - ( - cd Vulkan-ValidationLayers-sdk-$version - mkdir -p headers/external/spirv-headers - cp -r $SRC/SPIRV-Headers-$_spirv_headers/* headers/external/spirv-headers - - patch -p1 -i $SRC/add-missing-export.patch - patch -p1 -i $SRC/fix_shared.patch - patch -p1 -i $SRC/vulkan-layers-1.3.204-Fix-dependency-detection.patch - ) - - sed -e "s|@SRC@|$SRC/Vulkan-ValidationLayers-sdk-$version|" $SRC/known_good.py.in > $SRC/known_good.py - chmod u+x $SRC/known_good.py - $SRC/known_good.py + patch -d $_name-$version -p1 -i $SRC/add-missing-export.patch + patch -d $_name-$version -p1 -i $SRC/fix_shared.patch prt-get isinst ninja && PKGMK_VULKAN_VALIDATION_LAYERS+=' -G Ninja' prt-get isinst wayland || PKGMK_VULKAN_VALIDATION_LAYERS+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF' - cmake -S Vulkan-ValidationLayers-sdk-$version -B build $PKGMK_VULKAN_VALIDATION_LAYERS \ + cmake -S $_name-$version -B build $PKGMK_VULKAN_VALIDATION_LAYERS \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib \ -D CMAKE_BUILD_TYPE=Release \ - -D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \ + -D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS} -ffat-lto-objects" \ -D BUILD_TESTS=OFF \ -D BUILD_LAYER_SUPPORT_FILES=ON \ -D USE_ROBIN_HOOD_HASHING=ON \ - -D SPIRV_HEADERS_INSTALL_DIR:PATH="$SRC/Vulkan-ValidationLayers-sdk-$version/headers/external/spirv-headers" \ -Wno-dev cmake --build build |