修复 CPU 占用过高导致系统卡死
This commit is contained in:
2
build.sh
2
build.sh
@@ -30,7 +30,7 @@ readonly BUILD_MODES=("accelerated" "normal" "toolchain-only")
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
GROUP_FLAG=false
|
GROUP_FLAG=false
|
||||||
START_TIME=$(date +%s)
|
START_TIME=$(date +%s)
|
||||||
CPU_CORES=$(( $(nproc --all) + 1 ))
|
CPU_CORES=$(nproc)
|
||||||
BUILD_MODE="normal"
|
BUILD_MODE="normal"
|
||||||
TOOLCHAIN_ARCH=""
|
TOOLCHAIN_ARCH=""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user