[Numpy-discussion] ANN: NumPy 1.7.0 release

Dag Sverre Seljebotn d.s.seljebotn@astro.uio...
Sun Feb 10 04:58:07 CST 2013


On 02/10/2013 03:36 AM, Neal Becker wrote:
> Is there a way to add '-march=native' flag to gcc for the build?

I think something along these lines should work (untested):

CFLAGS="$(python-config --cflags) -march=native" python setup.py install

Dag Sverre


More information about the NumPy-Discussion mailing list