Since #252 we have got increased build times on WoA build bots. Also WoA 2 stage bot does not collapse the queue because it is not configured to always do a clean build. This patch tries to fix above issues.
On both single and 2 stage bots:
Set LLVM_TARGETS_TO_BUILD to 'ARM;AArch64;X86'. We only care about these targets on windows.
On 2 stage bot:
Set stage 1 LLVM_TARGETS_TO_BUILD to AArch64 only.
Set extra_stage2_cmake_args which overrides extra_cmake_flags.
Disable flang build on stage1 by setting checkout_flang=False.
Enabled LLVM_ENABLE_PROJECTS=flang;mlir for stage 2.
Switched to a clean build (clean=True) for collapsing queue.
Like stage 1 set stage 2 CLANG_DEFAULT_LINKER to lld. This makes sure just built lld is used by just built clang as default linker.
Since #252 we have got increased build times on WoA build bots. Also WoA 2 stage bot does not collapse the queue because it is not configured to always do a clean build. This patch tries to fix above issues.
On both single and 2 stage bots:
LLVM_TARGETS_TO_BUILD
to 'ARM;AArch64;X86'. We only care about these targets on windows.On 2 stage bot:
LLVM_ENABLE_PROJECTS=flang;mlir
for stage 2.clean=True
) for collapsing queue.