At 11:13 PM 11/10/2006 -0500, [EMAIL PROTECTED] wrote:

>Hello,
>
>I am trying to compile a module with the Intel compiler, and I can't
>figure out how to get the bdist_rpm to change the default compiler. I can
>use build:
>
>python setup.py build --compiler=intel
>
>but for some reason it doesn't work for bdist_rpm:
>
>python setup.py bdist_rpm --compiler=intel
>
>gives me
>
>error: option --compiler not recognized
>
>How can I set the compiler (and CC won't work, because that doesn't set
>the default linker to use Intel's linker - and then I get all sorts of
>undefined _intel_memset errors when loading the module). Thanks.

Put the setting as a default in your setup.cfg:

[build]
compiler=intel

It will then be used by all commands that do builds, including bdist_rpm.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to