From d20471507ddc5ce91c424c1b97be2545d6573247 Mon Sep 17 00:00:00 2001 From: Vijay Date: Mon, 19 Jul 2021 00:06:14 +0530 Subject: [PATCH] remove parallel build param from BaseTools make tianocore/edk2-platforms recommend not passing any -j option. Source: https://github.com/tianocore/edk2-platforms/tree/086a3a3ce6c42c859ee5943eb2c4b6edcefdc241#manual-building (BaseTools can currently not be built in parallel, so do not specify any -j option, either on the command line or in a MAKEFLAGS environment variable.) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 01c5d25..7eab721 100755 --- a/build.sh +++ b/build.sh @@ -50,7 +50,7 @@ function _build(){ source "${_EDK2}/edksetup.sh" [ -d "${WORKSPACE}" ]||mkdir "${WORKSPACE}" set -x - make -C "${_EDK2}/BaseTools" -j "$(nproc)"||exit "$?" + make -C "${_EDK2}/BaseTools"||exit "$?" if "${GEN_ACPI}" && ! iasl -ve "sdm845Pkg/AcpiTables/${DEVICE}/Dsdt.asl" then echo "iasl failed with ${?}" >&2;return 1 fi -- 2.45.2