summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-01-29 14:38:35 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-01-30 13:52:09 +0200
commit1688130809a892ff199b8fd54d558a1299b7152a (patch)
tree3dd9f9350c54669180d13643465bc85fa8c29dcf
parentce59c56f9fd2ed29a8c4aebafc0299adf49989c1 (diff)
downloadqtlocation-mapboxgl-1688130809a892ff199b8fd54d558a1299b7152a.tar.gz
[build] Use all available cores for CI builds
-rw-r--r--circle.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/circle.yml b/circle.yml
index 2191a09e1d..65a37e3bf2 100644
--- a/circle.yml
+++ b/circle.yml
@@ -236,7 +236,7 @@ commands:
name: Build
command: |
ccache --zero-stats --max-size=2G
- cmake --build build -j 8 << parameters.build_params >>
+ cmake --build build -j $(nproc) << parameters.build_params >>
ccache --show-stats
install:
steps:
@@ -538,7 +538,7 @@ jobs:
- run:
name: Clang Tidy
command: |
- run-clang-tidy-8 -quiet -j24 -p build $PWD/src/.*cpp $PWD/platform/.*cpp |tee clang-tidy.log
+ run-clang-tidy-8 -quiet -j $(nproc) -p build $PWD/src/.*cpp $PWD/platform/.*cpp |tee clang-tidy.log
grep -o \\[[a-z].*-.*[a-z]\] clang-tidy.log |sort |uniq -c |sort -n
- save
baselines: