Neal Becker schrieb am 08.04.2016 um 15:27:
> I'd like to add -march=native to my pip builds.  How can I do this?

First of all, make sure you don't install binary packages and wheels.
Changing the C compiler flags will require source builds.

Then, it should be enough to set the CFLAGS environment variable, e.g.

  CFLAGS="-O3 -march=native"  pip install  --no-use-wheel  numpy

Stefan


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to