mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-01-12 05:08:27 +08:00
fix: 使用cpu核心数目构建,防止小内存机器OOM
This commit is contained in:
parent
8475623135
commit
369a7801ab
@ -18,7 +18,7 @@ echo "sudo apt install git qt5-default debhelper pkg-config qtchooser libqt5core
|
||||
echo "Ubuntu 22.04 系统下, 安装依赖"
|
||||
echo "sudo apt install git qtbase5-dev debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev qtwayland5 qtwayland5-dev-tools"
|
||||
|
||||
dpkg-buildpackage -j
|
||||
dpkg-buildpackage -j$(cat /proc/cpuinfo | grep processor | wc -l)
|
||||
sudo apt reinstall ../spark-store_*.deb
|
||||
|
||||
rm ../spark-store_*
|
Loading…
Reference in New Issue
Block a user