jsmidt
October 4th, 2009, 05:20 AM
I have a few python packages I have downloaded that have c code that needs to be compiled. When I type
python setup.py build I get the gcc doing the compiling.
Normally you want this. However, I want to try to compile these packages with the intel compilers. When I try like this
python setup.py build -c=icc I get this error:
don't know how to compile C/C++ code on platform 'posix' with '=icc' compiler
I've tried changing icc with intel or doing -compiler or adding -f and, etc... and I always get the same error.
Is there any way to edit setup.py to force it to use "icc" as the compiler? While I'm at it, can I edit setup.py to force it to use different flags?
Thanks.
python setup.py build I get the gcc doing the compiling.
Normally you want this. However, I want to try to compile these packages with the intel compilers. When I try like this
python setup.py build -c=icc I get this error:
don't know how to compile C/C++ code on platform 'posix' with '=icc' compiler
I've tried changing icc with intel or doing -compiler or adding -f and, etc... and I always get the same error.
Is there any way to edit setup.py to force it to use "icc" as the compiler? While I'm at it, can I edit setup.py to force it to use different flags?
Thanks.