#21064: Enable NTL's '-march=native' more cautiously
-------------------------------------+-------------------------------------
Reporter: leif | Owner: leif
Type: defect | Status: positive_review
Priority: blocker | Milestone: sage-7.3
Component: packages: | Resolution:
standard |
Keywords: assembler shlx | Merged in:
mulx | Reviewers: Jeroen Demeyer,
Authors: Leif Leonhardy | Volker Braun
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/leif/enable_NTL_native_more_safely|
41ea5daf35f02a6e53bd62a08a423a472edbb2d4
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by leif):
Replying to [comment:22 vbraun]:
> Fixing the configure tests would be the best solution, but for now we
should probably ship this workaround.
Yep. Unfortunately NTL doesn't have the usual `configure && make`
structure; `configure` calls a Perl script which generates (and
continually rewrites) a makefile (and indirectly config files) which is
then again called (`make -f ...`) from the script to perform some tests.
The "final" makefile then first builds kind of another configure chain and
runs that before building the library; there, some tests simply happen
"too late" (as building the tools may already fail).
(This is similar to a shell script which first tests features of the shell
it is run with, but, when run with the wrong shell, already bails out with
a syntax error when performing the tests supposed to avoid exactly that.)
So it's not easy to submit anything useful / acceptable upstream (without
completely rewriting the above, or being too specific and probably kind of
redundant in just fixing our problem which is rather uncommon).
--
Ticket URL: <https://trac.sagemath.org/ticket/21064#comment:23>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.