From f7723b905c316ff1af03b3c8375be7831c5c7601 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sun, 12 May 2019 23:36:56 -0400 Subject: [PATCH] Use more cores for build --- PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index b0758ae..912ee57 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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