1#!/usr/bin/env bash 2 3# When changing this file, you need to bump the following 4# .gitlab-ci/image-tags.yml tags: 5# DEBIAN_X86_64_TEST_GL_TAG 6# KERNEL_ROOTFS_TAG: 7 8set -ex 9 10VALIDATION_TAG="snapshot-2024wk06" 11 12git clone -b "$VALIDATION_TAG" --single-branch --depth 1 https://github.com/KhronosGroup/Vulkan-ValidationLayers.git 13pushd Vulkan-ValidationLayers 14python3 scripts/update_deps.py --dir external --config debug 15cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -DBUILD_WERROR=OFF -C external/helper.cmake -S . -B build 16ninja -C build install 17popd 18rm -rf Vulkan-ValidationLayers 19