drm-shim: Let the driver choose to overwrite the first render node.
[mesa.git] / .gitlab-ci / build-deqp-vk.sh
1 #!/bin/bash
2
3 set -ex
4
5 git clone \
6 --depth 1 \
7 https://github.com/KhronosGroup/VK-GL-CTS.git \
8 -b vulkan-cts-1.2.1.0 \
9 /VK-GL-CTS
10 pushd /VK-GL-CTS
11
12 # --insecure is due to SSL cert failures hitting sourceforge for zlib and
13 # libpng (sigh). The archives get their checksums checked anyway, and git
14 # always goes through ssh or https.
15 python3 external/fetch_sources.py --insecure
16
17 mkdir -p /deqp
18
19 popd
20
21 pushd /deqp
22 cmake -G Ninja \
23 -DDEQP_TARGET=x11_glx \
24 -DCMAKE_BUILD_TYPE=Release \
25 /VK-GL-CTS
26 ninja
27
28 # Copy out the mustpass list we want.
29 mkdir /deqp/mustpass
30 cp /VK-GL-CTS/external/vulkancts/mustpass/master/vk-default.txt \
31 /deqp/mustpass/vk-master.txt
32
33 rm -rf /deqp/modules/internal
34 rm -rf /deqp/executor
35 rm -rf /deqp/execserver
36 rm -rf /deqp/modules/egl
37 rm -rf /deqp/framework
38 find -iname '*cmake*' -o -name '*ninja*' -o -name '*.o' -o -name '*.a' | xargs rm -rf
39 strip external/vulkancts/modules/vulkan/deqp-vk
40 du -sh *
41 rm -rf /VK-GL-CTS
42 popd