mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
test_build.sh: Use multiple cores if Make is used
Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ia67e9202e49f1b4bc3301399a8ec741ac01c3ce0 Reviewed-on: https://review.coreboot.org/c/flashrom/+/67244 Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
46f94ba671
commit
5f326e43d2
@ -28,7 +28,7 @@ fi
|
|||||||
|
|
||||||
build_make () {
|
build_make () {
|
||||||
make clean
|
make clean
|
||||||
make CONFIG_EVERYTHING=yes
|
make -j $(nproc) CONFIG_EVERYTHING=yes
|
||||||
|
|
||||||
# In case of clang analyzer we don't want to run it on
|
# In case of clang analyzer we don't want to run it on
|
||||||
# each programmer individually. Thus, just return here.
|
# each programmer individually. Thus, just return here.
|
||||||
@ -39,7 +39,7 @@ build_make () {
|
|||||||
for option in ${make_programmer_opts}; do
|
for option in ${make_programmer_opts}; do
|
||||||
echo "Building ${option}"
|
echo "Building ${option}"
|
||||||
make clean
|
make clean
|
||||||
make CONFIG_NOTHING=yes CONFIG_${option}=yes
|
make -j $(nproc) CONFIG_NOTHING=yes CONFIG_${option}=yes
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user