#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 leif):
Replying to [comment:20 leif]:
> * In `spkg/install`, there should be a way to bypass the installation
of GCC (if the compiler isn't GCC), e.g. if `SAGE_PORT=yes` (?). Or is
there already such?
Doesn't look like. (Although one can set `SAGE_INSTALL_GCC=no`.)
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.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12821#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 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.