Skip to content

Commit 0c8ca76

Browse files
committed
Use parallel builds on travis
1 parent 5b3fd0a commit 0c8ca76

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/travis/linux_compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if [[ "$RELEASE_BUILD" == "1" ]]; then
2020
else
2121
cmake -DCMAKE_BUILD_TYPE=Debug ..
2222
fi
23-
make
23+
make -j2

scripts/travis/osx_compile.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
mkdir build
44
cd build
55
cmake -DCMAKE_BUILD_TYPE=Debug ..
6-
make
6+
echo "Building with $(nproc) jobs"
7+
make -j2

0 commit comments

Comments
 (0)