https://llvm.org/bugs/show_bug.cgi?id=23162
Bug ID: 23162
Summary: CMake build should support a host with CLT Command
Line Tools installed but not Xcode
Product: compiler-rt
Version: unspecified
Hardware: All
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 14169
--> https://llvm.org/bugs/attachment.cgi?id=14169&action=edit
Patch CMakeLists.txt test exit code of xcodebuild
When you run Cmake to configure 'compiler-rt' it issues a few commands with
xcodebuild to detect the SDK Path.
But when Xcode is not installed xcodebuild / xcrun / ... doesn't return an
empty string but instead a message "Error: ....." which obviously isn't a valid
answer and path
The patch attached solve this issue by checking the return/exit code of
xcodebuild and in that case change the path content to an empty string.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs