This is an archive of the discontinued LLVM Phabricator instance.

[CMake][compiler-rt] Clean up the use of libcxx and libcxxabi
AcceptedPublic

Authored by phosek on Jun 2 2022, 11:50 AM.

Details

Summary

We no longer support the use of LLVM_ENABLE_PROJECTS for libcxx and
libcxxabi. We don't use paths to libcxx and libcxxabi in compiler-rt.

Diff Detail

Event Timeline

phosek created this revision.Jun 2 2022, 11:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 11:50 AM
phosek requested review of this revision.Jun 2 2022, 11:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 11:50 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
phosek updated this revision to Diff 433831.Jun 2 2022, 12:03 PM
mstorsjo accepted this revision.Jun 17 2022, 1:31 AM
mstorsjo added a subscriber: libcxx-commits.

Looks reasonable!

This revision is now accepted and ready to land.Jun 17 2022, 1:31 AM
phosek reopened this revision.Jun 24 2022, 1:31 AM
This revision is now accepted and ready to land.Jun 24 2022, 1:31 AM
phosek reopened this revision.Jul 6 2022, 5:07 PM
This revision is now accepted and ready to land.Jul 6 2022, 5:07 PM
ldionne accepted this revision.Jul 7 2022, 8:04 AM

I love this. Concretely, I suspect it would be easier to make using LLVM_ENABLE_PROJECTS=libcxx an error *before* landing this patch. That would shake out any potential issues with it upfront.