VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-24.0.2/.gitlab-ci/container/build-piglit.sh@ 103996

Last change on this file since 103996 was 103996, checked in by vboxsync, 13 months ago

Additions/3D/mesa: export mesa-24.0.2 to OSE. bugref:10606

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1#!/bin/bash
2# shellcheck disable=SC2086 # we want word splitting
3set -ex
4
5# When changing this file, you need to bump the following
6# .gitlab-ci/image-tags.yml tags:
7# DEBIAN_X86_64_TEST_GL_TAG
8# DEBIAN_X86_64_TEST_VK_TAG
9# KERNEL_ROOTFS_TAG
10
11REV="f7db20b03de6896d013826c0a731bc4417c1a5a0"
12
13git clone https://gitlab.freedesktop.org/mesa/piglit.git --single-branch --no-checkout /piglit
14pushd /piglit
15git checkout "$REV"
16patch -p1 <$OLDPWD/.gitlab-ci/piglit/disable-vs_in.diff
17cmake -S . -B . -G Ninja -DCMAKE_BUILD_TYPE=Release $PIGLIT_OPTS $EXTRA_CMAKE_ARGS
18ninja $PIGLIT_BUILD_TARGETS
19find . -depth \( -name .git -o -name '*ninja*' -o -iname '*cmake*' -o -name '*.[chao]' \) -exec rm -rf {} \;
20rm -rf target_api
21if [ "$PIGLIT_BUILD_TARGETS" = "piglit_replayer" ]; then
22 find . -depth \
23 ! -regex "^\.$" \
24 ! -regex "^\.\/piglit.*" \
25 ! -regex "^\.\/framework.*" \
26 ! -regex "^\.\/bin$" \
27 ! -regex "^\.\/bin\/replayer\.py" \
28 ! -regex "^\.\/templates.*" \
29 ! -regex "^\.\/tests$" \
30 ! -regex "^\.\/tests\/replay\.py" \
31 -exec rm -rf {} \; 2>/dev/null
32fi
33popd
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette