From: Vijay Date: 星期天, 18 Jul 2021 18:36:14 +0000 (+0530) Subject: remove parallel build param from BaseTools make X-Git-Tag: v0.4.2~17^2 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=d20471507ddc5ce91c424c1b97be2545d6573247;p=edk2-sdm845.git 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.) --- 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