summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2023-01-19 15:11:17 +0100
committerMichel Dänzer <michel@daenzer.net>2023-01-19 15:11:17 +0100
commit5c18e25e12e38313aa45aa806f2533165abf167d (patch)
treea90a5b523d82e7b315e2c77988827a6b7401c986 /.gitlab-ci
parent81d91f7d0140d70824be651d788f7453c1ac32b0 (diff)
ci: Export LP_NUM_THREADS=0 for meson test
This prevents the Mesa llvmpipe driver from spawning (potentially lots of) worker threads. Suggested by Daniel Stone on IRC.
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/build-and-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/build-and-test.sh b/.gitlab-ci/build-and-test.sh
index e97c8c698..b0fbf90d5 100755
--- a/.gitlab-ci/build-and-test.sh
+++ b/.gitlab-ci/build-and-test.sh
@@ -22,7 +22,7 @@ check_piglit_results ()
meson -Dc_args="-fno-common" -Dprefix=/usr -Dxephyr=true -Dwerror=true $MESON_EXTRA_OPTIONS build/
-export PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts
+export PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts LP_NUM_THREADS=0
ninja -j${FDO_CI_CONCURRENT:-4} -C build/
meson test --num-processes ${FDO_CI_CONCURRENT:-4} --print-errorlogs -C build/