Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WoA LLVM bots config update to improve build time #286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 24, 2024

  1. WoA LLVM bots config update to improve build time

    Since llvm#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.
    omjavaid committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7dc58c3 View commit details
    Browse the repository at this point in the history