#12016: parallelism in Sage: just use value of 'MAKE'
---------------------------------------------+------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: critical | Milestone: sage-4.8
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: John Palmieri, Jeroen Demeyer | Author: John Palmieri,
Jeroen Demeyer
Merged: | Dependencies: sage-4.8.alpha3
+ #12096, #12137, #12138
---------------------------------------------+------------------------------
Comment(by jdemeyer):
Replying to [comment:43 jhpalmieri]:
> In the following lines from sage-spkg
> {{{
> # Handle -n, -t, -q options for recursive make
> # See Trac #12016.
> if echo "$MAKE $MAKEFLAGS -$MAKEFLAGS" |grep -e ' -[A-Za-z]*[qnt]'
>/dev/null; then
> if echo "$MAKE $MAKEFLAGS -$MAKEFLAGS" |grep -e ' -[A-Za-z]*q'
>/dev/null; then
> exit 1
> else
> exit 0
> fi
> fi
> }}}
> do we also need to handle the long versions? (I don't think so, but I
thought I would ask.)
Well, this would only be needed if the user does something very silly like
{{{
MAKE="make --dry-run" ./sage -f ...
}}}
> More importantly, on !OpenSolaris, or at least on David Kirkby's machine
hawk, the default 'grep' command doesn't take a `-e` option. Can we just
omit it?
Probably yes, but it might be safer to replace the leading space by a {{{[
]}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12016#comment:45>
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.