1
Fork 0
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:
Kenneth Myhra 2023-05-02 21:05:04 +02:00 committed by Jelle Raaijmakers
parent 36c892ae14
commit 50413c2326
8 changed files with 17 additions and 55 deletions

View file

@ -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}"