#12830: Improve handling of CFLAGS in GMP-ECM's spkg-install
---------------------------+------------------------------------------------
Reporter: leif | Owner: leif
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: packages | Keywords: spkg -march=native assembler
error Darwin MacOS __GMP_CFLAGS __MPIR_CFLAGS gmp.h
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
---------------------------+------------------------------------------------
Adding `-march=native` to `CFLAGS` may lead to assembler errors, e.g. on
MacOS X with newer GCCs on newer CPUs (e.g. such supporting AVX, which
Apple's assembler currently doesn't).
Newer versions of MPIR don't define `__GMP_CFLAGS` (in `gmp.h`) to a
''string literal'', but instead to a ''preprocessor macro''
(`__MPIR_CFLAGS`), which in turn is defined to the string we want.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12830>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.