From: Michel Dänzer Date: Wed, 20 Mar 2019 10:00:06 +0000 (+0100) Subject: gitlab-ci: Use 8 CPU cores in autotools job X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d0a7f798c7f3de5c35b5ab3f2006a50f49f79b5;p=mesa.git 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 Reviewed-by: Eric Engestrom --- 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