#20779: NTL 9.8.1 does not build on OS X versions 10.8 and 10.9
-------------------------------------------------+------------------------
Reporter: dunfield | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: algebra | Resolution:
Keywords: MacOS AVX no such instruction | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+------------------------
Comment (by leif):
Replying to [comment:33 dunfield]:
> Ok, with Sage 7.3.beta5, which includes this version of NTL, the
following worked to build Sage on 10.9:
>
> 1. Get source.
>
> 2. Create $SAGE_ROOT/local/bin and put a script `as` consisting of
>
> {{{
> #!/usr/bin/env bash
>
> exec /usr/bin/as -q "$@"
> }}}
>
> 3. Type `make` as usual.
Yep, we could create such a script in Sage's `configure` when necessary
(i.e., on MacOS X, if the default `as` is still GAS).
I still don't know whether `as -q ...` works on more recent versions
(where it shouldn't be necessary). While we could check that in
`configure` for source builds, that doesn't help with binary dists. If it
doesn't break anything on 10.10 and later, we could simply include the
script in (all) binary distributions of Sage for MacOS X.
Not sure whether we have to require Apple's "command line tools" '''and'''
Xcode then (at least for builds from source and "developing" with bdists).
\\
All of this is IMHO still orthogonal to fixing NTL's `-march=native` check
(which apparently simply tests whether the compiler ''accepts the
option'', but nothing beyond that -- I haven't looked into the code
though).
--
Ticket URL: <https://trac.sagemath.org/ticket/20779#comment:34>
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.