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

Use toolchain clang to build compilers (fix Clang 18 breakage on arm64) #750

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

z2oh
Copy link
Contributor

@z2oh z2oh commented Jun 24, 2024

Clang 18 is the default version of Clang on GitHub runner images, and has a broken definition of the __prefetch intrinsic on arm64 which causes build failures. We can instead use the Clang that comes with the pinned toolchain (Clang 16 on Swift 5.x releases), which does not have this broken definition.

See llvm/llvm-project#93235 for more details.

Clang 18 is the default version of Clang on Github runner images, and has a broken definition of the __prefetch intrinsic on arm64 which causes build failures. We can instead use the Clang that comes with the pinned toolchain (Clang 16 on Swift 5.x releases), which does not have this broken definition.
@compnerd compnerd merged commit a6dbb7f into compnerd:main Jun 24, 2024
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.

2 participants