summaryrefslogtreecommitdiff
path: root/circle.yml
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-02-12 12:45:04 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-02-14 12:01:52 +0200
commit8f8eb46c7cdf837874efa0a8a0599cf4136e3d34 (patch)
tree43372c5924d8c6e1e3aeacdcb3aea0379c505819 /circle.yml
parent7a9f8027ac1aa93c5e073d4fe138414059125fa8 (diff)
downloadqtlocation-mapboxgl-8f8eb46c7cdf837874efa0a8a0599cf4136e3d34.tar.gz
[build] Use all available cores for macOS CI builds
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 8417f8e640..661b64b53d 100644
--- a/circle.yml
+++ b/circle.yml
@@ -237,7 +237,7 @@ commands:
name: Build
command: |
ccache --zero-stats --max-size=2G
- cmake --build build -j $(nproc) << parameters.build_params >>
+ cmake --build build -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null) << parameters.build_params >>
ccache --show-stats
install:
steps: