1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Revert "[lit] When setting SDKROOT on Darwin, use '--sdk macosx' to find the right SDK path."

This reverts commit r287403. It breaks an internal asan bot. According
to Kuba, a fix is up for review here: https://reviews.llvm.org/D26929

llvm-svn: 287804
This commit is contained in:
Vedant Kumar 2016-11-23 20:51:09 +00:00
parent 6746ba845f
commit 8cd1c5209c

View File

@ -251,7 +251,7 @@ def usePlatformSdkOnDarwin(config, lit_config):
# default system root path. # default system root path.
if 'darwin' in config.target_triple: if 'darwin' in config.target_triple:
try: try:
cmd = subprocess.Popen(['xcrun', '--show-sdk-path', '--sdk', 'macosx'], cmd = subprocess.Popen(['xcrun', '--show-sdk-path'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = cmd.communicate() out, err = cmd.communicate()
out = out.strip() out = out.strip()