(macOS) Changed the make job count from 8 to 4 for the dependency build script

This commit is contained in:
Leon Styhre 2023-06-25 00:06:17 +02:00
parent bb9eee2692
commit 72e14d6a95

View file

@ -15,7 +15,7 @@
export MACOSX_DEPLOYMENT_TARGET=10.14 export MACOSX_DEPLOYMENT_TARGET=10.14
# How many CPU threads to use for the compilation. # How many CPU threads to use for the compilation.
JOBS=8 JOBS=4
if [ ! -f .clang-format ]; then if [ ! -f .clang-format ]; then
echo "You need to run this script from the root of the repository." echo "You need to run this script from the root of the repository."
@ -146,8 +146,8 @@ fi
cd poppler/build cd poppler/build
rm -f CMakeCache.txt rm -f CMakeCache.txt
PKG_CONFIG_PATH=$(pwd)/../local_install/lib/pkgconfig cmake -S .. -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(pwd)/../../local_install -DENABLE_UTILS=off -DBUILD_CPP_TESTS=off -DENABLE_LIBCURL=off \ PKG_CONFIG_PATH=$(pwd)/../local_install/lib/pkgconfig cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(pwd)/../../local_install \
-DRUN_GPERF_IF_PRESENT=off -DENABLE_QT5=off -DENABLE_QT6=off -DENABLE_BOOST=off -DENABLE_GLIB=off -DENABLE_NSS3=off -DENABLE_UTILS=off -DBUILD_CPP_TESTS=off -DENABLE_LIBCURL=off -DRUN_GPERF_IF_PRESENT=off -DENABLE_QT5=off -DENABLE_QT6=off -DENABLE_BOOST=off -DENABLE_GLIB=off -DENABLE_NSS3=off -S .. -B .
make clean make clean
make -j${JOBS} make -j${JOBS}