Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fallback to legacy way to build compiler-rt in some Linux bots #81354

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

Conversation

edymtt
Copy link
Contributor

@edymtt edymtt commented May 7, 2025

In particular, this ensures we are able to build Linux packages for aarch64.

Addresses rdar://150423995

In particular, this ensures we are able to build Linux packages for aarch64.

Addresses rdar://150423995
@edymtt
Copy link
Contributor Author

edymtt commented May 7, 2025

@swift-ci please test

@edymtt
Copy link
Contributor Author

edymtt commented May 7, 2025

@swift-ci please build toolchain Linux

@edymtt edymtt enabled auto-merge May 7, 2025 19:25
@edymtt edymtt merged commit a95bb31 into swiftlang:main May 7, 2025
5 of 6 checks passed
edymtt added a commit to edymtt/swift that referenced this pull request May 8, 2025
...we disabled in swiftlang#81354

This requires a couple of supporting changes

* under Linux, do not cross compile by default -- that will ensure that
  the compiler-rt build will use the just built compiler and not the
system one (which may not be new enough for this purpose);
* provide sanitizer flags depending on the linker the just built compiler
 will use -- this detection is brittle, so ensure the user can override
those if needed.

Addresses rdar://150849329
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.

1 participant