[edk2-devel] [PATCH v2] OvmfPkg/build.sh: enable multitheaded build by default

Jordan Justen jordan.l.justen at intel.com
Wed Jul 24 22:04:04 UTC 2019


On 2019-07-24 05:21:35, Philippe Mathieu-Daudé wrote:
> On 7/23/19 2:32 AM, rebecca at 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 at 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 at redhat.com>

Whoops. Sorry, I pushed this a few days back, but I forgot to reply to
notify the list.

It's 83e7d5c75e7304aa5172c88eb24fa563445ce043.

-Jordan

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44341): https://edk2.groups.io/g/devel/message/44341
Mute This Topic: https://groups.io/mt/32565505/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list