Skip to content

Commit

Permalink
GitLab CI: reduce parallel jobs in ninja
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nicolas17 committed Oct 23, 2020
1 parent 3ca7488 commit 696d5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 696d5a0

Please sign in to comment.