mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-26 01:20:57 +00:00
Only run an unbridled parallel make (make -j) if MAKEFLAGS is unset
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
0ba0109ce0
commit
5a09a4a386
|
@ -62,6 +62,11 @@ fi
|
||||||
: ${SEED:=1}
|
: ${SEED:=1}
|
||||||
export SEED
|
export SEED
|
||||||
|
|
||||||
|
# if MAKEFLAGS is not set add the -j option to speed up invocations of make
|
||||||
|
if [ -z "${MAKEFLAGS+set}" ]; then
|
||||||
|
export MAKEFLAGS="-j"
|
||||||
|
fi
|
||||||
|
|
||||||
# To avoid setting OpenSSL and GnuTLS for each call to compat.sh and ssl-opt.sh
|
# To avoid setting OpenSSL and GnuTLS for each call to compat.sh and ssl-opt.sh
|
||||||
# we just export the variables they require
|
# we just export the variables they require
|
||||||
export OPENSSL_CMD="$OPENSSL"
|
export OPENSSL_CMD="$OPENSSL"
|
||||||
|
@ -87,7 +92,7 @@ export LDFLAGS=' --coverage'
|
||||||
make clean
|
make clean
|
||||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
make -j
|
make
|
||||||
|
|
||||||
|
|
||||||
# Step 2 - Execute the tests
|
# Step 2 - Execute the tests
|
||||||
|
|
Loading…
Reference in a new issue