[LLVMbugs] [Bug 23162] New: CMake build should support a host with CLT Command Line Tools installed but not Xcode
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 8 11:10:53 PDT 2015
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: unassignedbugs at nondot.org
Reporter: jonathan+llvm at pinacea.com
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150408/ffeeb986/attachment.html>
More information about the llvm-bugs
mailing list