HomePhabricator

Fix compiler-rt build on macOS without XCode

Authored by arichardson on Oct 31 2019, 2:17 PM.

Description

Fix compiler-rt build on macOS without XCode

Summary:
Starting with 8a5bfbe6db2824642bf9a1d27a24c5b6132b244f (D68292) this file
unconditionally uses xcodebuild to get the SDK version. On my system this
always fails with
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Reviewers: delcypher, yln

Reviewed By: delcypher, yln

Subscribers: dberris, mgorny, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D69610

Details

Committed
arichardsonOct 31 2019, 2:17 PM
Reviewer
delcypher
Differential Revision
D69610: Fix compiler-rt build on macOS without XCode
Parents
rG54a873b158bd: Fix typeo in CPU_TYPE_ARM64_32 for older SDKs.
Branches
Unknown
Tags
Unknown

Event Timeline

Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> committed rG52beec76de83: Fix compiler-rt build on macOS without XCode (authored by Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>).Oct 31 2019, 2:17 PM