On Tue, Oct 22, 2019 at 12:34 PM Michael Orlitzky <mich...@orlitzky.com> wrote:
>
> On 10/22/19 7:00 AM, 'Jonathan Kliem' via sage-devel wrote:
> > I was wondering, if it was possible to compile sage (or parts of it)
> > with `-march=native` or something similar (unless SAGE_FAT_BINARIES is set).
> > Some time ago I created #27122 <https://trac.sagemath.org/ticket/27122>
> > for this.
>
> Set CFLAGS="-march=native" in your shell before running "make", and then
> pray that the sage packages respect that variable.

many packages would ignore it, and C++ and Fortran modules won't be
affected by this, either.

For sagelib, enabling -march=native is probably doable via its setup.py
(in SAGEROOT/src/setup.py)


>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/fdd81e90-573b-49f3-40ee-50f4ed2ca1fc%40orlitzky.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3Z2%3Ds1-OQ8cRis_1i84rkvxhd1WE4DOOc-nP8Q36umWw%40mail.gmail.com.

Reply via email to