VirtualBox

Changeset 58506 in vbox for trunk


Ignore:
Timestamp:
Oct 29, 2015 11:20:11 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware/Makefile.kmk: Speed up the windows build by setting MAX_CONCURRENT_THREAD_NUMBER to KMK_OPTS_JOBS / 2 instead of 1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/Makefile.kmk

    r58505 r58506  
    260260
    261261#
     262# Derive the number of parallel jobs (on windows) from KMK_OPTS_JOBS.
     263#
     264VBOX_EFI_MAX_THREADS := 1
     265if defined(KMK_OPTS_JOBS) && "$(KBUILD_HOST)" == "win"
     266 VBOX_EFI_MAX_THREADS := $(expr $(KMK_OPTS_JOBS) / 2)
     267endif
     268
     269#
    262270# Tools configurations.
    263271#
     
    299307                "TARGET_ARCH     = IA32" \
    300308                "TOOL_CHAIN_TAG  = $(VBOX_EFI_TOOL_CHAIN)" \
    301                 "MAX_CONCURRENT_THREAD_NUMBER = 1"
     309                "MAX_CONCURRENT_THREAD_NUMBER = $(VBOX_EFI_MAX_THREADS)"
    302310
    303311$(VBoxEfiFirmware_0_OUTDIR)/x86/$(VBOX_EFI_OUTPUT_SUBDIR)/FV/OVMF.fd \
     
    312320                --vbox-target-conf "$(VBoxEfiFirmware_0_OUTDIR)/x86/Conf/target.txt" \
    313321                --arch IA32 \
    314                 --platform OvmfPkg/OvmfPkgIa32.dsc \
    315                 -n 1 # -v
     322                --platform OvmfPkg/OvmfPkgIa32.dsc
    316323
    317324#
     
    331338                "TARGET_ARCH     = X64" \
    332339                "TOOL_CHAIN_TAG  = $(VBOX_EFI_TOOL_CHAIN)" \
    333                 "MAX_CONCURRENT_THREAD_NUMBER = 1"
     340                "MAX_CONCURRENT_THREAD_NUMBER = $(VBOX_EFI_MAX_THREADS)"
    334341
    335342$(VBoxEfiFirmware_0_OUTDIR)/amd64/$(VBOX_EFI_OUTPUT_SUBDIR)/FV/OVMF.fd \
     
    344351                --vbox-target-conf "$(VBoxEfiFirmware_0_OUTDIR)/amd64/Conf/target.txt" \
    345352                --arch X64 \
    346                 --platform OvmfPkg/OvmfPkgX64.dsc \
    347                -n 1 # -v
     353                --platform OvmfPkg/OvmfPkgX64.dsc
    348354
    349355#
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette