-
Notifications
You must be signed in to change notification settings - Fork 99
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -296,6 +296,7 @@ | |||
checkout_flang=True, | ||||
checkout_lld=True, | ||||
extra_cmake_args=[ | ||||
"-DLLVM_TARGETS_TO_BUILD='ARM;AArch64;X86'", | ||||
"-DCLANG_DEFAULT_LINKER=lld", | ||||
"-DCMAKE_TRY_COMPILE_CONFIGURATION=Release", | ||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF", | ||||
|
@@ -572,15 +573,21 @@ | |||
'builddir': "clang-arm64-windows-msvc-2stage", | ||||
'factory' : ClangBuilder.getClangCMakeBuildFactory( | ||||
vs="manual", | ||||
clean=False, | ||||
clean=True, | ||||
useTwoStage=True, | ||||
checkout_flang=True, | ||||
testStage1=False, | ||||
extra_cmake_args=[ | ||||
"-DLLVM_TARGETS_TO_BUILD=AArch64", | ||||
"-DCLANG_DEFAULT_LINKER=lld", | ||||
"-DCMAKE_TRY_COMPILE_CONFIGURATION=Release", | ||||
"-DCMAKE_C_COMPILER_LAUNCHER=ccache", | ||||
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache", | ||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"], | ||||
extra_stage2_cmake_args=[ | ||||
"-DLLVM_TARGETS_TO_BUILD='ARM;AArch64;X86'", | ||||
"-DLLVM_ENABLE_PROJECTS=flang;mlir", | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this additive or replacing the projects? I assume we should have clang and maybe lld in this list. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. clang clang-tools-extra and llvm gets automatically added in both configs. Also we have set checkout_lld=True which will include lld automatically. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it will replace
|
||||
"-DCLANG_DEFAULT_LINKER=lld", | ||||
"-DCMAKE_TRY_COMPILE_CONFIGURATION=Release", | ||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"])}, | ||||
|
||||
{'name' : 'clang-x64-windows-msvc', | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's obvious in hindsight but if we're not testing stage 1, of course it only needs to be able to produce code for the host. Great thinking!
Every saving helps with this particular build.