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

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 12:51:10 PST 2016


Author: vedantk
Date: Wed Nov 23 14:51:09 2016
New Revision: 287804

URL: http://llvm.org/viewvc/llvm-project?rev=287804&view=rev
Log:
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

Modified:
    llvm/trunk/utils/lit/lit/util.py

Modified: llvm/trunk/utils/lit/lit/util.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/util.py?rev=287804&r1=287803&r2=287804&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/util.py (original)
+++ llvm/trunk/utils/lit/lit/util.py Wed Nov 23 14:51:09 2016
@@ -251,7 +251,7 @@ def usePlatformSdkOnDarwin(config, lit_c
     # 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()




More information about the llvm-commits mailing list