#12821: testcc.sh: allow $CC to contain multiple words
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: jdemeyer
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Leif Leonhardy
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by jdemeyer):
Replying to [comment:21 leif]:
> Quite unrelated, but from `spkg/install` (i.e., while we're at it):
> {{{
> #!sh
> if [ -z "$SAGE_FORTRAN" ]; then
> if command -v gfortran >/dev/null 2>/dev/null; then
> SAGE_FORTRAN=gfortran
> elif command -v g95 >/dev/null 2>/dev/null; then
> SAGE_FORTRAN=g95
> elif command -v g77 >/dev/null 2>/dev/null; then
> SAGE_FORTRAN=g77
> fi
> fi
> }}}
> ignores settings of `FC` and `F77`, the standard variables containing
the Fortran compiler.
>
> The created `sage_fortran` script hardcodes `-m64` (and ignores
`FFLAGS`, `FCFLAGS`, `F77FLAGS` etc.).
>
> Don't know whether that's really intentional, but also the ''current
setting'' of `SAGE_FORTRAN` is hardcoded into the script, such that later
changing `SAGE_FORTRAN` has no effect.
You're certainly right that there are some issues here, but that's totally
outside of the scope of this ticket.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12821#comment:24>
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.