#12830: Improve handling of CFLAGS in GMP-ECM's spkg-install
----------------------------------------------------------------------------------------------------+
Reporter: leif
| Owner: leif
Type: enhancement
| Status: needs_review
Priority: major
| Milestone: sage-5.0
Component: packages
| Resolution:
Keywords: spkg -march=native assembler error Darwin MacOS __GMP_CFLAGS
__MPIR_CFLAGS gmp.h | Work issues:
Report Upstream: N/A
| Reviewers:
Authors: Leif Leonhardy
| Merged in:
Dependencies:
| Stopgaps:
----------------------------------------------------------------------------------------------------+
Comment (by leif):
Replying to [comment:9 jdemeyer]:
> What's wrong with simply storing MPIR's flags in some easy-to-read file?
That would be the most simple solution.
Why reinvent the wheel?
(And reading `gmp.h` isn't complicated at all, presumably because doing so
is intended...)
[[BR]]
> Moreover, it would ensure that we don't need to change the ECM spkg (or
any other) if either Sage or MPIR changes the CFLAGS handling for MPIR.
We would only need to change the MPIR spkg.
I don't see the point. First of all, that would be incompatible to any
other MPIR or GMP installation / package, and we'd certainly have to
change all packages using such a file whenever we change "Sage's format"
(or handling) of MPIR's flags / settings.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12830#comment:10>
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.