From 5c18e25e12e38313aa45aa806f2533165abf167d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 19 Jan 2023 15:11:17 +0100 Subject: [PATCH] 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. --- .gitlab-ci/build-and-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/