Skip to content

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

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

DougGregor
Copy link
Member

I think this will unbreak the incremental buildbots

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor enabled auto-merge November 28, 2023 06:16
@DougGregor DougGregor force-pushed the riscv-in-incremental-archs branch from 19dd5a0 to de186fd Compare November 28, 2023 06:18
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@finagolfin
Copy link
Member

You could also remove these two lines and always just build the default set of architectures.

@DougGregor
Copy link
Member Author

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.

drodriguez added a commit to drodriguez/swift that referenced this pull request Dec 5, 2023
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.
drodriguez added a commit that referenced this pull request Dec 5, 2023
…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.
Catfish-Man pushed a commit to Catfish-Man/swift that referenced this pull request Jan 19, 2024
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants