diff options
author | Kyle Manna <kyle@kylemanna.com> | 2017-09-15 17:44:45 +0300 |
---|---|---|
committer | Kyle Manna <kyle@kylemanna.com> | 2017-09-15 17:44:45 +0300 |
commit | cb852f0cf36a8a1c5beb6db4e165b5b3a046ca4f (patch) | |
tree | e88046ac9b8cff45537f8a24554072f6ba53ce32 | |
parent | 4dde8a435e7a59b94750f2acfc43e4d918d2573f (diff) |
travis: Use nproc to count CPUs
* Simpler tool provided by coreutils.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 2e77e7c..8cbe25f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ addons: before_install: - export PATH=$HOME/.local/bin:$HOME/protobuf/bin:$PATH - - export MAKEFLAGS=-j$(grep processor /proc/cpuinfo | wc -l) + - export MAKEFLAGS=-j$(nproc) - $CC --version - $CXX --version - python --version |