Skip to content

Add RISCV as llvm target to build #66699

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 Jul 4, 2023
Merged

Add RISCV as llvm target to build #66699

merged 1 commit into from Jul 4, 2023

Conversation

futurejones
Copy link
Contributor

Test Environment
OS = Ubuntu
Release = 22.04 / Jammy

When trying to build swift on a riscv64 linux system the following error occurs -

error: unable to create target: 'No available targets are compatible with triple "riscv64-unknown-linux-gnu"

Resolves https://github.com/swift-riscv/swift-riscv64/issues/2

Updates and fixes the issues with #61891

@gottesmm , on #61891 you requested testing of how much extra build time adding RISCV will add to a clean build.
I have run several test builds at https://ci.swiftlang.xyz/job/swift-main-ubuntu-jammy/
There does not seem to be any noticeable increase build time. All build times are between 1h 4min and 1h 12min.

@futurejones
Copy link
Contributor Author

@swift-ci please test

@futurejones
Copy link
Contributor Author

@shahmishal can you run the CI tests please?

@phausler
Copy link
Contributor

@swift-ci please test

@DougGregor
Copy link
Member

@swift-ci please smoke test macOS

@DougGregor
Copy link
Member

The macOS test failure was spurious; kicking off another round

@DougGregor
Copy link
Member

@swift-ci please test macOS

@ramonbrugman
Copy link

Difficuilt if im working in the field

@shahmishal shahmishal merged commit 5807cdd into swiftlang:main Jul 4, 2023
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.

6 participants