drm-shim: Let the driver choose to overwrite the first render node.
[mesa.git] / .gitlab-ci / build-piglit.sh
1 #!/bin/bash
2
3 set -ex
4
5 git clone https://gitlab.freedesktop.org/mesa/piglit.git --single-branch --no-checkout /piglit
6 pushd /piglit
7 git checkout 8771c3860505db2bcf4877216221d774bf90af6b
8 patch -p1 <$OLDPWD/.gitlab-ci/piglit/disable-vs_in.diff
9 cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
10 ninja
11 find -name .git -o -name '*ninja*' -o -iname '*cmake*' -o -name '*.[chao]' | xargs rm -rf
12 rm -rf target_api
13 popd