-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Description
I tried the new version on master (x86_64 only) on Travis (default osx image) with a library that uses and compiles its own C extensions.
I am seeing this clang error during compilation when it gets to Python 3.5 (Python 2.7 seems fine):
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
Please check your Xcode installation
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]
The only way workaround is to add the following to .travis.yml:
env: CFLAGS="-isysroot $(xcrun --show-sdk-path)"
CFLAGS then expands into:
CFLAGS=-isysroot /Applications/Xcode-9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
Is there a better fix?
Metadata
Metadata
Assignees
Labels
No labels