#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):

 W.r.t. script solutions:

 Putting one of the following into `$SAGE_ROOT/local/bin/as` (and of course
 `chmod +x` it) should work.

 {{{
 #!sh
 #!/bin/sh

 exec /usr/bin/as -q "$@"
 }}}

 \\

 {{{
 #!sh
 #!/bin/sh

 exec `clang -print-prog-name=as` "$@"
 }}}

 I'm not sure whether the first at all works if `/usr/bin/as` is already
 LLVM's `as` (e.g. on 10.11; François?), and one could hardcode the path to
 `as` in the second (perhaps unless it is shipped with a binary
 distribution of Sage).

--
Ticket URL: <https://trac.sagemath.org/ticket/20779#comment:21>
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.

Reply via email to