diff options
author | Chris Bieneman <beanz@apple.com> | 2016-08-19 22:22:35 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-08-19 22:22:35 +0000 |
commit | 9b818ac5d9a617dc2485ca3ed83b08f46d30824b (patch) | |
tree | 16d2ce1132d408fb287403dc77a45025e654e368 /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | 11da66fc103687beeb785eee224ede91669d9013 (diff) | |
download | bcm5719-llvm-9b818ac5d9a617dc2485ca3ed83b08f46d30824b.tar.gz bcm5719-llvm-9b818ac5d9a617dc2485ca3ed83b08f46d30824b.zip |
[CMake] Support building on OS X without Xcode installation
This should resolve PR23162. This patch has two parts.
First we need to check the error code from xcodebuild when querying for SDKs, second if the OS X SDK is not discovered, we ensure that /usr/include exists and use / as the OS X sysroot.
llvm-svn: 279336
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions