]> granicus.if.org Git - llvm/commitdiff
Revert "[lit] When setting SDKROOT on Darwin, use '--sdk macosx' to find the right...
authorVedant Kumar <vsk@apple.com>
Wed, 23 Nov 2016 20:51:09 +0000 (20:51 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 23 Nov 2016 20:51:09 +0000 (20:51 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287804 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/util.py

index be37998c6f16cdf8cf1f09458db0c858668bbc67..609011b1972d8f92a578b6d16a7f440dad711529 100644 (file)
@@ -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()