Use more cores for build

master
Joseph Donofry 2019-05-12 23:36:56 -04:00
parent 18aa001702
commit f7723b905c
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ build() {
rm -f cmake/FindOlm.cmake
# build with more cores than the default
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=ON -DMTX_STATIC=ON
cmake --build .deps