diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2015-08-19 11:14:24 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2015-08-19 11:14:24 +0200 |
commit | a2f1983ccb8492e9377e1dd3497909d430e0365a (patch) | |
tree | 174d620db2cd51ccd98c2b36fea658acc17fac2b | |
parent | a3e474f60066bac7bd28b25bb763ba9982209ec4 (diff) |
Re-enable -j #cpu for native builds.ryanarn/reduced_parallel
Change-Id: Ia6dbd750870ba31ff7860894cb8281ebb439db6c
-rwxr-xr-x | lib/make.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make.sh b/lib/make.sh index 67a41981..ae255cbb 100755 --- a/lib/make.sh +++ b/lib/make.sh @@ -737,10 +737,10 @@ make_check() if test x"${parallel}" = x"yes"; then local make_flags case "${target}" in - "$build"|*"-elf"*) make_flags="${make_flags} -j 1" ;; + "$build"|*"-elf"*) make_flags="${make_flags} -j ${cpus}" ;; # Try to find out which test is crashing the aarch64-linux-gnu # boards and x86_64 builders. - aarch64-linux-gnu|x86_64*) make_flags="${make_flags} -j 1" ;; + aarch64-linux-gnu) make_flags="${make_flags} -j 1" ;; # Double parallelization when running tests on remote boards # to avoid host idling when waiting for the board. *) make_flags="${make_flags} -j $((2*${cpus}))" ;; |