Skip to content

Commit

Permalink
build_script: do not use more jobs than threads threads
Browse files Browse the repository at this point in the history
  • Loading branch information
retrozenith authored Feb 13, 2024
1 parent 2ea6a98 commit b4f95e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ K_MOD_DIR="$(pwd)/out/modules"
# Enviorment Variables
SRC_DIR=$(pwd)
TC_DIR=~/toolchains/clang-r383902b1
JOBS=64
JOBS="$(nproc --all)"
MAKE_PARAMS="-j$JOBS -C $SRC_DIR O=$SRC_DIR/out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- LLVM=1 CROSS_COMPILE=$TC_DIR/bin/llvm-"
export PATH="$TC_DIR/bin:$PATH"

Expand Down Expand Up @@ -65,4 +65,4 @@ else
rm -rf AQUA*
zip -r9 $ZIP_NAME . -x '*.git*' '*patch*' '*ramdisk*' 'LICENSE' 'README.md'
cd ..
fi
fi

0 comments on commit b4f95e2

Please sign in to comment.