From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: bsdio.com, ip: 65.103.231.193, mailfrom: rebecca@bsdio.com) Received: from muon.bsdio.com (muon.bsdio.com [65.103.231.193]) by groups.io with SMTP; Mon, 22 Jul 2019 17:32:33 -0700 Received: from muon.bsdio.com (localhost [127.0.0.1]) by muon.bsdio.com (Postfix) with ESMTP id 415E188E4C; Mon, 22 Jul 2019 18:32:54 -0600 (MDT) Received: from muon.bsdio.com ([127.0.0.1]) by muon.bsdio.com (muon.bsdio.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZRJSr3TdmbEb; Mon, 22 Jul 2019 18:32:52 -0600 (MDT) Received: from photon.int.bluestop.org (unknown [10.0.10.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bsdio.com (Postfix) with ESMTPSA; Mon, 22 Jul 2019 18:32:52 -0600 (MDT) From: rebecca@bsdio.com To: devel@edk2.groups.io, Jordan Justen , Laszlo Ersek , Ard Biesheuvel Cc: Rebecca Cran Subject: [PATCH v2] OvmfPkg/build.sh: enable multitheaded build by default Date: Mon, 22 Jul 2019 18:32:25 -0600 Message-Id: <20190723003225.46171-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 4fcbdd2bc9..bacab5e22a 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -40,7 +40,7 @@ ARCH_X64=3Dno BUILDTARGET=3DDEBUG BUILD_OPTIONS=3D PLATFORMFILE=3D -THREADNUMBER=3D1 +THREADNUMBER=3D0 LAST_ARG=3D RUN_QEMU=3Dno ENABLE_FLASH=3Dno --=20 2.22.0