#12443: the sage library doesn't respect global CC and CXX flags
----------------------+-----------------------------------------------------
Reporter: rohana | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: R. Andrew Ohana
Merged: | Dependencies:
----------------------+-----------------------------------------------------
Comment(by rohana):
Replying to [comment:2 jdemeyer]:
> This will break if `$CC` includes arguments:
{{{
compilerinclude = Popen([os.environ['CC'], '--print-file-name=include'],
stdout=PIPE)
}}}
True, thankfully this is a trivial fix if we assume there are no spaces in
compiler path.
> What's the point of the `use_gnu`, `use_sun` stuff?? What does "tools"
do anyway?
By default scons searches the system and to set up its environment, if you
specify tools it skips this search and just sets stuff up with the given
tools. Currently all this does is speed up the configuring process, but
this can be used to make sage respect the CC, CXX, LD, AR,... variables.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12443#comment:3>
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.