#12647: Add support for a "sagerc" script
-----------------------------+----------------------------------------------
Reporter: jdemeyer | Owner: leif
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: John Palmieri | Author: Jeroen Demeyer
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by leif):
Replying to [comment:11 jdemeyer]:
> Setting `MAKE` in `sagerc` is a bad idea by the way: currently, `sage-
env` is '''not''' sourced by `spkg/install` which runs the top-level
`$MAKE`. So, setting `MAKE=make -j4` in `sagerc` would only build
individual packages in parallel, it would not build multiple packages
concurrently.
I see. I was pretty sure we'd source `sage-env` (at least) in the `build`
rule (of course on the same line we call `spkg/install`) of the top-level
Makefile (`$SAGE_ROOT/Makefile`).
We could of course implement `./sage --make ...` :-)
(But perhaps the easiest way is to make `make` an alias to a script that
behaves differently in case the current directory is the root of a Sage
installation, and just calls `make` otherwise.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12647#comment:17>
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.