This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Add an option to prefer public SDK in find_darwin_sdk_dir
ClosedPublic

Authored by kubamracek on Jul 6 2017, 10:20 AM.

Details

Summary

Adds a CMake option DARWIN_PREFER_PUBLIC_SDK, off by default. When on, this prefers to use the public SDK, even when an internal one is present. With this, it's easy to emulate a build that the public buildbots are doing.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek created this revision.Jul 6 2017, 10:20 AM
This revision is now accepted and ready to land.Jul 6 2017, 1:43 PM
This revision was automatically updated to reflect the committed changes.