Page MenuHomePhabricator

[Clang] Enable RISC-V support for Fuchsia
ClosedPublic

Authored by phosek on Nov 19 2019, 7:59 PM.

Details

Summary

We don't have a full sysroot yet, so for now we only include compiler
support and compiler-rt builtins, the rest of the runtimes will get
enabled later.

Diff Detail

Event Timeline

phosek created this revision.Nov 19 2019, 7:59 PM
leonardchan accepted this revision.Nov 20 2019, 10:18 AM
This revision is now accepted and ready to land.Nov 20 2019, 10:18 AM
lenary added inline comments.Nov 20 2019, 11:04 AM
clang/cmake/caches/Fuchsia-stage2.cmake
130

I don't know what's preventing you from enabling compiling the runtimes. I made a cmake config that built the runtimes, in part based off the fuschia config in this file.

I suppose this requires you to have a RISC-V sysroot, which you may not have.

phosek marked 2 inline comments as done.Nov 20 2019, 11:14 AM
phosek added inline comments.
clang/cmake/caches/Fuchsia-stage2.cmake
130

Correct, as mentioned in the summary of this change, we don't have a sysroot yet. Once the sysroot is ready, we'll enable runtimes as well in a follow up change.

This revision was automatically updated to reflect the committed changes.
phosek marked an inline comment as done.