[edk2-devel] [PATCH v2] OvmfPkg/build.sh: enable multitheaded build by default
Philippe Mathieu-Daudé
philmd at redhat.com
Wed Jul 24 12:21:35 UTC 2019
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>
-=-=-=-=-=-=-=-=-=-=-=-
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/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