Skip to content
Snippets Groups Projects
Verified Commit b8b48a2f authored by Joe Donofry's avatar Joe Donofry
Browse files

Attempt to make travis build with more cores

parent be5287aa
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ set -ex
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
export CC=${C_COMPILER}
export CXX=${CXX_COMPILER}
# make build use all available cores
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
sudo update-alternatives --install /usr/bin/gcc gcc "/usr/bin/${C_COMPILER}" 10
sudo update-alternatives --install /usr/bin/g++ g++ "/usr/bin/${CXX_COMPILER}" 10
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment