From 6d0a7f798c7f3de5c35b5ab3f2006a50f49f79b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Wed, 20 Mar 2019 11:00:06 +0100 Subject: [PATCH] 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 --- .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 -- 2.30.2