This is an archive of the discontinued LLVM Phabricator instance.

[libc] Update cross-compilation instructions
ClosedPublic

Authored by jeffbailey on Mar 12 2023, 8:51 AM.

Details

Summary
  • Add various options so that it uses the build lld and compiler-rt
  • Add instructions on how to use the newly built libc
  • Remove trailing comments in code-block for cut and pastability

Diff Detail

Event Timeline

jeffbailey created this revision.Mar 12 2023, 8:51 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 12 2023, 8:51 AM
jeffbailey requested review of this revision.Mar 12 2023, 8:51 AM
sivachandra accepted this revision.Mar 13 2023, 9:30 PM
This revision is now accepted and ready to land.Mar 13 2023, 9:30 PM
This revision was automatically updated to reflect the committed changes.
MaskRay added inline comments.
libc/docs/full_host_build.rst
73

FWIW: Specifying DEFAULT_SYSROOT causes many test failures and I propose that we deprecate it (D158218).

sivachandra added inline comments.Aug 17 2023, 2:59 PM
libc/docs/full_host_build.rst
73

Thanks for the heads-up. I will work on cleaning this up.