#8809: change local/bin/sage_fortran script to respect the SAGE_FORTRAN 
variable,
if it is set
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  GeorgSWeber
       Type:  enhancement  |      Status:  new        
   Priority:  minor        |   Milestone:  sage-4.4.1 
  Component:  build        |    Keywords:             
     Author:               |    Upstream:  N/A        
   Reviewer:               |      Merged:             
Work_issues:               |  
---------------------------+------------------------------------------------
Description changed by was:

Old description:

> When building binaries that include fortran, etc., it would give
> developers and users a lot more control if the local/bin/sage_fortran
> script were changed from
> {{{
> !/bin/sh
>
> /usr/bin/gfortran -fPIC $@
> }}}
> to
> {{{
> !/bin/sh
>
> if [ x"$SAGE_FORTRAN" != x ]; then
>      "$SAGE_FORTRAN" -fPIC $@
> else
>      /usr/bin/gfortran -fPIC $@
> fi
> }}}

New description:

 When building binaries that include fortran, etc., it would give
 developers and users a lot more control if the local/bin/sage_fortran
 script were changed from
 {{{
 !/bin/sh

 /usr/bin/gfortran -fPIC $@
 }}}
 to
 {{{
 !/bin/sh

 if [ x"$SAGE_FORTRAN" != x ]; then
      "$SAGE_FORTRAN" -fPIC $@
 else
      /usr/bin/gfortran -fPIC $@
 fi
 }}}

 where /usr/bin/gfortran just happens to what was hardcoded.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8809#comment:1>
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.

Reply via email to