From 60c19bf1d1e78bff283403748f46b00807d400d1 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Wed, 20 Nov 2024 00:40:07 +0100 Subject: [PATCH] Try to force parallel hunter build on macos --- .ci/macos/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/macos/build.sh b/.ci/macos/build.sh index 7d1d9143..e6e4fdaa 100755 --- a/.ci/macos/build.sh +++ b/.ci/macos/build.sh @@ -15,6 +15,8 @@ export PATH CMAKE_PREFIX_PATH="${QT_BASEPATH}/lib/cmake" export CMAKE_PREFIX_PATH +export CMAKE_BUILD_PARALLEL_LEVEL="$(sysctl -n hw.ncpu)" + cmake -GNinja -S. -Bbuild \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX="nheko.temp" \ @@ -31,7 +33,7 @@ cmake --install build git clone https://github.com/Nheko-Reborn/qt-jdenticon.git ( cd qt-jdenticon qmake - make -j 4 + make -j "$CMAKE_BUILD_PARALLEL_LEVEL" cp libqtjdenticon.dylib ../../nheko.temp/nheko.app/Contents/MacOS ) # "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/