apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

add support for riscv64 #4983

Open futurejones opened 2 weeks ago

futurejones commented 2 weeks ago

Add support for riscv64 as host architecture.

parkera commented 2 weeks ago

Thanks @futurejones -- we are working on a brand new set of CMake configs in the package branch over here -- we should rebase this on top of that once it lands.

jmschonfeld commented 2 weeks ago

I believe @iCharlesHu's changes to the cmake for the package branch will actually remove this manual list of architectures and instead ask the compiler for the architecture (which should eliminate the need for this change and others like it in the future). We should double check to confirm, but hopefully this should "Just Work" with the new cmake setup

iCharlesHu commented 2 weeks ago

Ditto to what @jmschonfeld said. We are removing this list with https://github.com/apple/swift-corelibs-foundation/pull/4959 and just ask the compiler at runtime.