[LNT] r302271 - Make sure sdk is set on darwin
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 11:42:54 PDT 2017
Author: cmatthews
Date: Fri May 5 13:42:54 2017
New Revision: 302271
URL: http://llvm.org/viewvc/llvm-project?rev=302271&view=rev
Log:
Make sure sdk is set on darwin
I noticed in some places xcrun was not correctly picking the macOS sdk.
Lets set that explicitly.
Modified:
lnt/trunk/setup.py
Modified: lnt/trunk/setup.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/setup.py?rev=302271&r1=302270&r2=302271&view=diff
==============================================================================
--- lnt/trunk/setup.py (original)
+++ lnt/trunk/setup.py Fri May 5 13:42:54 2017
@@ -8,8 +8,8 @@ from setuptools import setup, find_packa
cflags = []
if _platform == "darwin":
- os.environ["CC"] = "xcrun clang"
- os.environ["CXX"] = "xcrun clang"
+ os.environ["CC"] = "xcrun --sdk macosx clang"
+ os.environ["CXX"] = "xcrun --sdk macosx clang"
cflags += ['-stdlib=libc++', '-mmacosx-version-min=10.7']
# setuptools expects to be invoked from within the directory of setup.py, but it
More information about the llvm-commits
mailing list