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 |
|
---|
8 | set -ex
|
---|
9 |
|
---|
10 | VALIDATION_TAG="v1.3.269"
|
---|
11 |
|
---|
12 | git clone -b "$VALIDATION_TAG" --single-branch --depth 1 https://github.com/KhronosGroup/Vulkan-ValidationLayers.git
|
---|
13 | pushd Vulkan-ValidationLayers
|
---|
14 | python3 scripts/update_deps.py --dir external --config debug
|
---|
15 | cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=OFF -DBUILD_WERROR=OFF -C external/helper.cmake -S . -B build
|
---|
16 | ninja -C build install
|
---|
17 | popd
|
---|
18 | rm -rf Vulkan-ValidationLayers
|
---|