Mesa (master): gitlab-ci: Use 8 CPU cores in autotools job

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 21 10:02:29 UTC 2019


Module: Mesa
Branch: master
Commit: 6d0a7f798c7f3de5c35b5ab3f2006a50f49f79b5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d0a7f798c7f3de5c35b5ab3f2006a50f49f79b5

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Wed Mar 20 11:00:06 2019 +0100

gitlab-ci: Use 8 CPU cores in autotools job

This cuts down the job runtime from ~9.5 to ~7 minutes with my personal
runner on an 8-core Ryzen 7 1700.

While this might result in slightly higher load on shared runners, it
should be OK, since libtool doesn't use the CPU cores as effectively as
e.g. ninja does; a significant part of the CPU load tends to be in bash
processes at any time, which should be relatively light on memory.

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40d6a714101..6ab6f6cc741 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -126,7 +126,7 @@ ubuntu:
 autotools:
   extends: .build
   variables:
-    MAKEFLAGS: "-j4"
+    MAKEFLAGS: "-j8"
     LLVM_CONFIG: llvm-config-7
   script:
     - mkdir build




More information about the mesa-commit mailing list