This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Use Xcode's CMake if it's present
ClosedPublic

Authored by ldionne on May 7 2021, 10:19 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rGc42007e266a3: [libc++] Use Xcode's CMake if it's present
Summary

This resolves issues when the CMake in use on the host is too old to
configure libc++ properly, but Xcode has a sufficiently recent version.
It is technically possible for the reverse issue to happen, where the
Xcode version would be too old and the user-installed version would be
better, however in the context of our build bots, we use AppleClang on
Apple platforms, and the CMake shipped with Xcode should work with the
AppleClang shipped alongside that Xcode.

Diff Detail

Event Timeline

ldionne created this revision.May 7 2021, 10:19 AM
ldionne requested review of this revision.May 7 2021, 10:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 7 2021, 10:19 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne updated this revision to Diff 343720.May 7 2021, 10:54 AM

Poke BuildKite

This revision was not accepted when it landed; it landed in state Needs Review.May 8 2021, 4:40 AM
This revision was automatically updated to reflect the committed changes.