diff options
| author | Vedant Kumar <vsk@apple.com> | 2016-11-23 20:51:09 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2016-11-23 20:51:09 +0000 |
| commit | fa6339f32121dc32b5c377be7b2f564eab2e6d47 (patch) | |
| tree | 65364bf2b17a00c69ec4766f8c383d1a8dffce00 /llvm/utils | |
| parent | ca975589e5715605e754a4acd4a2d03a924648b7 (diff) | |
| download | bcm5719-llvm-fa6339f32121dc32b5c377be7b2f564eab2e6d47.tar.gz bcm5719-llvm-fa6339f32121dc32b5c377be7b2f564eab2e6d47.zip | |
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
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/lit/lit/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py index be37998c6f1..609011b1972 100644 --- a/llvm/utils/lit/lit/util.py +++ b/llvm/utils/lit/lit/util.py @@ -251,7 +251,7 @@ def usePlatformSdkOnDarwin(config, lit_config): # default system root path. if 'darwin' in config.target_triple: try: - cmd = subprocess.Popen(['xcrun', '--show-sdk-path', '--sdk', 'macosx'], + cmd = subprocess.Popen(['xcrun', '--show-sdk-path'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = cmd.communicate() out = out.strip() |

