I'm trying to compile python 2.7.10 using ICC 16.0.0 20150803, on OSX 10.10. I have xcode commandlinetools installed in /Library/Developer/CommandLineTools
Running make works fine, but during make install I run into the following error:
icc -g -O2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -o FileSettings.o -c ./FileSettings.m
clang: error: argument to '-isysroot' is missing (expected 1 value)
problem occurred when compiling './FileSettings.m' with the clang compiler (code 1)
make: *** [FileSettings.o] Error 1
icc seems to call clang with the following command:
/Library/Developer/CommandLineTools/usr/bin/clang -DNDEBUG -v -g -O2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -c -femit-all-decls ./FileSettings.m -o FileSettings.o -arch x86_64 -isysroot
without an argument to isysroot, which generates the error.
Is there some way I can pass the correct argument to isysroot?