-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add RISCV to standard set of architectures for incremental buildbots #70057
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
Add RISCV to standard set of architectures for incremental buildbots #70057
Conversation
@swift-ci please smoke test |
19dd5a0
to
de186fd
Compare
@swift-ci please smoke test |
You could also remove these two lines and always just build the default set of architectures. |
You're right, we should probably just do that instead. We're not likely to save ourselves much build time by limiting the architectures, but we will cause ourselves surprises like this. |
LLVM might not be build with support for all architectures to save time. The changes in this commit check the value of LLVM_TARGETS_TO_BUILD provided by LLVMConfig.cmake to add or skip the different embedded targets if LLVM happens to not build with support for that target. While x86_64 and ARM/AArch64 are very common in `LLVM_TARGETS_TO_BUILD`, targets like RISCV are more specialized and might not be always enabled. This is not a problem for builds using the `build-script` because of the changes introduced in swiftlang#70057, but it is still a problem for other builds that do not use `build-script`. This solution should work for any build.
…70218) LLVM might not be build with support for all architectures to save time. The changes in this commit check the value of LLVM_TARGETS_TO_BUILD provided by LLVMConfig.cmake to add or skip the different embedded targets if LLVM happens to not build with support for that target. While x86_64 and ARM/AArch64 are very common in `LLVM_TARGETS_TO_BUILD`, targets like RISCV are more specialized and might not be always enabled. This is not a problem for builds using the `build-script` because of the changes introduced in #70057, but it is still a problem for other builds that do not use `build-script`. This solution should work for any build.
…wiftlang#70218) LLVM might not be build with support for all architectures to save time. The changes in this commit check the value of LLVM_TARGETS_TO_BUILD provided by LLVMConfig.cmake to add or skip the different embedded targets if LLVM happens to not build with support for that target. While x86_64 and ARM/AArch64 are very common in `LLVM_TARGETS_TO_BUILD`, targets like RISCV are more specialized and might not be always enabled. This is not a problem for builds using the `build-script` because of the changes introduced in swiftlang#70057, but it is still a problem for other builds that do not use `build-script`. This solution should work for any build.
I think this will unbreak the incremental buildbots