gitlab-ci: set the number of Fossilize threads to 4
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 24 Jun 2020 10:16:31 +0000 (12:16 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 06:45:23 +0000 (06:45 +0000)
The shared runners are set up for concurrent jobs ~= CPUs / 4 (x86)
or 8 (ARM).

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5627>

.gitlab-ci/fossils/fossils.sh

index fa49efca2ce0a2f678d860e6ac16a1c897f0d01f..d951a7e6431c558a4c2add00d062d1ea0a8dd375 100755 (executable)
@@ -64,7 +64,7 @@ create_clean_git
 for fossil in $(query_fossils_yaml fossils)
 do
     fetch_fossil "$fossil" || exit $?
-    fossilize-replay $fossil || exit $?
+    fossilize-replay --num-threads 4 $fossil || exit $?
     rm $fossil
 done