From 696d5a0221b47dfb50f6558079702d9d0b88d64e Mon Sep 17 00:00:00 2001 From: Nicolas Alvarez Date: Fri, 23 Oct 2020 20:09:06 +0000 Subject: [PATCH] GitLab CI: reduce parallel jobs in ninja Currently ninja is using its default number of parallel jobs (10 on an 8-core system). This is overloading I/O on the single GitLab CI worker we have, and probably making the build *slower*; I see very high iowait numbers. Set an explicit -j8, hopefully it will work better. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ab4fc2cf6..0077c028e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ cache: - mkdir -p kstars-build - cd kstars-build - cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. -DCCACHE_SUPPORT=ON -DBUILD_TESTING=${BUILD_TESTING:-OFF} -DBUILD_DOC=${BUILD_DOC:-OFF} - - ninja all install + - ninja -j8 all install build: stage: build