mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Toolchain: Replace inline nproc with get_number_of_processing_units()
This commit is contained in:
parent
36c892ae14
commit
50413c2326
8 changed files with 17 additions and 55 deletions
|
@ -41,9 +41,8 @@ pushd "${TARBALLS_DIR}"
|
|||
fi
|
||||
popd
|
||||
|
||||
if [ -z "$MAKEJOBS" ]; then
|
||||
MAKEJOBS=$(nproc)
|
||||
fi
|
||||
NPROC=$(get_number_of_processing_units)
|
||||
[ -z "$MAKEJOBS" ] && MAKEJOBS=${NPROC}
|
||||
|
||||
mkdir -p "${PREFIX_DIR}"
|
||||
mkdir -p "${BUILD_DIR}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue