This is an archive of the discontinued LLVM Phabricator instance.

[CMake][Fuchsia] Include fewer targets in stage 1 build
AbandonedPublic

Authored by abrachet on Apr 16 2022, 5:01 PM.

Details

Reviewers
phosek
Summary

These targets are for cross compiling the stage 2 toolchain. But it is unlikely we will need a toolchain on ARM32 ever, or RISC-V in a very long time.

Diff Detail

Event Timeline

abrachet created this revision.Apr 16 2022, 5:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2022, 5:01 PM
abrachet requested review of this revision.Apr 16 2022, 5:01 PM

This won't work for the cross-compilation case where the stage 1 compiler is used to build stage 2 runtimes (since stage 2 compiler is cross-compiled and cannot be used on the host). We would need some other mechanism to handle that use case.

abrachet abandoned this revision.Apr 18 2022, 2:40 PM

This won't work for the cross-compilation case where the stage 1 compiler is used to build stage 2 runtimes (since stage 2 compiler is cross-compiled and cannot be used on the host). We would need some other mechanism to handle that use case.

Ah, I did not think about that case, thanks.