mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "build: Introduce CONCURRENCY_MAKE_FACTOR"
This reverts commit 42c0ad09df23b3494193d40e8cd6e0c1a4c13b61. config/options requires 'bc' to calculate CONCURRENCY_MAKE_FACTOR before scripts/checkdeps having any chance to tell the user that 'bc' is a required dependency for now, remove CONCURRENCY_MAKE_FACTOR. CONCURRENCY_MAKE_LEVEL is more than enough
This commit is contained in:
parent
d758eb02b6
commit
1eadb4d440
@ -66,10 +66,7 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
|
||||
# Try value 1 (default) to 4 on single CPU computer, or more on
|
||||
# multi-processor computer (like hyperthreading SMP CPU)
|
||||
if test -z "${CONCURRENCY_MAKE_LEVEL}"; then
|
||||
if test -z "${CONCURRENCY_MAKE_FACTOR}"; then
|
||||
CONCURRENCY_MAKE_FACTOR=1.0
|
||||
fi
|
||||
CONCURRENCY_MAKE_LEVEL=`echo "$(grep -c '^processor[[:cntrl:]]*:' /proc/cpuinfo) * ${CONCURRENCY_MAKE_FACTOR}" | bc | cut -d'.' -f1`
|
||||
CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'`
|
||||
fi
|
||||
|
||||
# cache size for ccache
|
||||
|
Loading…
x
Reference in New Issue
Block a user