5
git clone https://gitlab.freedesktop.org/mesa/piglit.git --single-branch --no-checkout /piglit
7
git checkout 445711587d461539a4d8f9d35a7fe996a86d3c8d
8
patch -p1 <$OLDPWD/.gitlab-ci/piglit/disable-vs_in.diff
9
cmake -S . -B . -G Ninja -DCMAKE_BUILD_TYPE=Release $PIGLIT_OPTS $EXTRA_CMAKE_ARGS
10
ninja $PIGLIT_BUILD_TARGETS
11
find -name .git -o -name '*ninja*' -o -iname '*cmake*' -o -name '*.[chao]' | xargs rm -rf
13
if [ "x$PIGLIT_BUILD_TARGETS" = "xpiglit_replayer" ]; then
14
find ! -regex "^\.$" \
15
! -regex "^\.\/piglit.*" \
16
! -regex "^\.\/framework.*" \
17
! -regex "^\.\/bin$" \
18
! -regex "^\.\/bin\/replayer\.py" \
19
! -regex "^\.\/templates.*" \
20
! -regex "^\.\/tests$" \
21
! -regex "^\.\/tests\/replay\.py" 2>/dev/null | xargs rm -rf