Skip to content

Commit 782c09d

Browse files
committed
Set number of CPUs on OSX build (@skaht).
1 parent 2e2e462 commit 782c09d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if [[ $TRAVIS == true ]]; then
6666
elif [[ $OS == Linux ]]; then
6767
PARALLEL=`nproc`
6868
elif [[ $OS == Darwin ]]; then
69-
PARALLEL=2 #TODO
69+
PARALLEL=`sysctl -n hw.ncpu`
7070
else
7171
echo "Unsupported system: $OS"
7272
exit 1

0 commit comments

Comments
 (0)