[SciPy-dev] building numpy-1.0b1 on linux x86_64

Neal Becker ndbecker2 at gmail.com
Thu Jul 27 09:27:17 CDT 2006


I'm trying to make a rpm for fedora 5 (x86_64).

lapack and blas are in /usr/lib64.

I've used this in the past:
env CFLAGS="$RPM_OPT_FLAGS" BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 build

That is, pass BLAS and LAPACK in env during build.

I noticed comments about site.cfg.  I wonder if it would be better to specify BLAS, LAPACK there?

Also, does it matter whether I do the same during install?

BLAS=%{_libdir} LAPACK=%{_libdir} python setup.py config_fc --fcompiler=gnu95 install --root=$RPM_BUILD_ROOT



More information about the Scipy-dev mailing list