[SciPy-dev] How to avoid arch specific compiler flags in scipy_distutils?
pearu at scipy.org
Wed Feb 11 12:20:18 CST 2004
On Wed, 11 Feb 2004, José Fonseca wrote:
> I've finally been doing some work updating the scipy & f2py debian
> packages and things are slowly progressing.
Good to hear.
> The showstopper ATM, is the fact that the fortran sources are being
> compiled with architecture specific compiler flags ("-march=pentium4
> -msse2 -msse ..."). I know that this is done automatically in
> scipy_distutils/gnufcompiler.py . Is there any non-intrusive way (i.e.,
> from command line) to prevent that?
Yes, there is. Use build_src branch of scipy_distutils (soon it will be
merged into the HEAD branch):
cvs -z7 update -r build_src
Then build scipy as follows
python setup.py config_fc --noarch build
More information about the Scipy-dev