From 83e7d5c75e7304aa5172c88eb24fa563445ce043 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Mon, 22 Jul 2019 18:32:25 -0600 Subject: [PATCH] OvmfPkg/build.sh: enable multitheaded build by default Enable multithreaded builds by default when building OvmfPkg using build.sh. This can drastically reduce build times. For example, on a modern ThreadRipper system the time required to build decreases from 3 minutes to 1 minute. Signed-off-by: Rebecca Cran Reviewed-by: Jordan Justen Reviewed-by: Laszlo Ersek --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 4fcbdd2bc9..e94aa2a37e 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -40,7 +40,7 @@ ARCH_X64=no BUILDTARGET=DEBUG BUILD_OPTIONS= PLATFORMFILE= -THREADNUMBER=1 +THREADNUMBER=0 LAST_ARG= RUN_QEMU=no ENABLE_FLASH=no