mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Try to force parallel hunter build on macos
This commit is contained in:
parent
18f13f187c
commit
80b82f2261
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@ export PATH
|
||||||
CMAKE_PREFIX_PATH="${QT_BASEPATH}/lib/cmake"
|
CMAKE_PREFIX_PATH="${QT_BASEPATH}/lib/cmake"
|
||||||
export CMAKE_PREFIX_PATH
|
export CMAKE_PREFIX_PATH
|
||||||
|
|
||||||
|
export CMAKE_BUILD_PARALLEL_LEVEL="$(sysctl -n hw.ncpu)"
|
||||||
|
|
||||||
cmake -GNinja -S. -Bbuild \
|
cmake -GNinja -S. -Bbuild \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DCMAKE_INSTALL_PREFIX="nheko.temp" \
|
-DCMAKE_INSTALL_PREFIX="nheko.temp" \
|
||||||
|
@ -31,7 +33,7 @@ cmake --install build
|
||||||
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
||||||
( cd qt-jdenticon
|
( cd qt-jdenticon
|
||||||
qmake
|
qmake
|
||||||
make -j 4
|
make -j "$CMAKE_BUILD_PARALLEL_LEVEL"
|
||||||
cp libqtjdenticon.dylib ../../nheko.temp/nheko.app/Contents/MacOS
|
cp libqtjdenticon.dylib ../../nheko.temp/nheko.app/Contents/MacOS
|
||||||
)
|
)
|
||||||
# "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/
|
# "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/
|
||||||
|
|
Loading…
Reference in a new issue