#5847: Update GMP-ECM to 6.3
------------------------------------------------------------+---------------
Reporter: mabshoff | Owner:
leif
Type: enhancement | Status:
needs_work
Priority: major | Milestone:
sage-4.7
Component: packages | Resolution:
Keywords: MPIR elliptic curves libecm ecm spkg | Work_issues:
Upstream: N/A | Reviewer:
Leif Leonhardy, Dima Pasechnik
Author: Mike Hansen, Leif Leonhardy, Jeroen Demeyer | Merged:
Dependencies: |
------------------------------------------------------------+---------------
Comment(by leif):
Replying to [comment:93 drkirkby]:
> {{{SAGE_FAT_BINARY}}} is unsupported in this package, but to compond the
problem, the compiler option
>
{{{
-march=native
}}}
>
> is added.
[[BR]]
Well, apparently `SAGE_FAT_BINARY` has ''never been'' supported by the ECM
spkg.
And no, `-march=native` isn't added by `spkg-install` in case
`SAGE_FAT_BINARY=yes`:
{{{
#!sh
if [ "$SAGE_FAT_BINARY" = yes ]; then
# XXX Disable SSE2 on x86? (by passing '--enable-sse2=no' to
'configure')
# XXX Disable asm-redc? Or pass some "generic" '--host=...' to
'configure'?
echo "Warning: SAGE_FAT_BINARY is currently not really supported by
this package."
echo " Add e.g. '--disable-asm-redc' and/or '--enable-
sse2=no'"
echo " to ECM_EXTRA_OPTS if you run into problems."
else
# Tune the code generation to the machine we build on:
...
fi
}}}
(Note that some 'optimized' parameters may come from `gmp.h` anyway, but
these aren't used either if `SAGE_FAT_BINARY=yes`.)
We had some discussion on that before, and Paul said they're considering
adding a `--enable-fat` switch to ECM's `configure` IIRC. There are also a
few comments in ECM's `SPKG.txt`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5847#comment:95>
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.