OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 <rebecca@bsdio.com>
---
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=no
BUILDTARGET=DEBUG
BUILD_OPTIONS=
PLATFORMFILE=
-THREADNUMBER=1
+THREADNUMBER=0
LAST_ARG=
RUN_QEMU=no
ENABLE_FLASH=no
--
2.22.0
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#44181): https://edk2.groups.io/g/devel/message/44181
Mute This Topic: https://groups.io/mt/32565505/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Laszlo, want me to add your r-b? On 2019-07-22 17:32:25, wrote: > 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 <rebecca@bsdio.com> > --- > 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=no > BUILDTARGET=DEBUG > BUILD_OPTIONS= > PLATFORMFILE= > -THREADNUMBER=1 > +THREADNUMBER=0 > LAST_ARG= > RUN_QEMU=no > ENABLE_FLASH=no > -- > 2.22.0 > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44221): https://edk2.groups.io/g/devel/message/44221 Mute This Topic: https://groups.io/mt/32565505/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
On 07/23/19 09:47, Jordan Justen wrote: > Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> > > Laszlo, want me to add your r-b? Yes, please: http://mid.mail-archive.com/86503359-2f97-a602-b918-abb8cb3d6da2@redhat.com https://edk2.groups.io/g/devel/message/44239 (At the time of writing my email, your R-b was already on the list, but I hadn't seen it yet -- you sent your R-b between my prior IMAP sync and my reading of the v2 patch.) Thanks! Laszlo > On 2019-07-22 17:32:25, wrote: >> 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 <rebecca@bsdio.com> >> --- >> 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=no >> BUILDTARGET=DEBUG >> BUILD_OPTIONS= >> PLATFORMFILE= >> -THREADNUMBER=1 >> +THREADNUMBER=0 >> LAST_ARG= >> RUN_QEMU=no >> ENABLE_FLASH=no >> -- >> 2.22.0 >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44251): https://edk2.groups.io/g/devel/message/44251 Mute This Topic: https://groups.io/mt/32565505/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
On 7/23/19 2:32 AM, rebecca@bsdio.com wrote: > 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 <rebecca@bsdio.com> > --- > 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=no > BUILDTARGET=DEBUG > BUILD_OPTIONS= > PLATFORMFILE= > -THREADNUMBER=1 > +THREADNUMBER=0 > LAST_ARG= > RUN_QEMU=no > ENABLE_FLASH=no > Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44310): https://edk2.groups.io/g/devel/message/44310 Mute This Topic: https://groups.io/mt/32565505/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
On 07/23/19 02:32, rebecca@bsdio.com wrote: > 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 <rebecca@bsdio.com> > --- > 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=no > BUILDTARGET=DEBUG > BUILD_OPTIONS= > PLATFORMFILE= > -THREADNUMBER=1 > +THREADNUMBER=0 > LAST_ARG= > RUN_QEMU=no > ENABLE_FLASH=no > Reviewed-by: Laszlo Ersek <lersek@redhat.com> I won't push this patch until Jordan approves it too. Thanks! Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44239): https://edk2.groups.io/g/devel/message/44239 Mute This Topic: https://groups.io/mt/32565505/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.