#12729: decrease the size of SAGE_ROOT/install.log
----------------------------------+-----------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.0
Component: build | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: John Palmieri | Merged in:
Dependencies: #12714, #12369 | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by leif):
Since we're going to ''generate'' the effective `Makefile` anyway, I
wouldn't patch `deps`, but only put dependencies (as its name suggests)
into it, and flexibly generate the build ''rules'' on-the-fly, depending
on what output / verbosity level is currently requested.
I.e., `deps` would just contain lines like
{{{
#!make
$(INST)/$(ATLAS): $(BASE) $(INST)/$(LAPACK) $(INST)/$(PYTHON)
$(INST)/$(PATCH)
$(INST)/$(BOEHM_GC): $(BASE) $(INST)/$(PATCH)
$(INST)/$(BOOST_CROPPED): $(BASE) $(INST)/$(PATCH)
$(INST)/$(CLIQUER): $(BASE) $(INST)/$(PATCH)
$(INST)/$(TERMCAP): $(BASE) $(INST)/$(PATCH)
}}}
or, preferably:
{{{
#!make
$(ATLAS): $(BASE) $(LAPACK) $(PYTHON) $(PATCH)
$(BOEHM_GC): $(BASE) $(PATCH)
$(BOOST_CROPPED): $(BASE) $(PATCH)
$(CLIQUER): $(BASE) $(PATCH)
$(TERMCAP): $(BASE) $(PATCH)
}}}
Or, for the example given:
{{{
#!make
$(ATLAS) $(BOEHM_GC) $(BOOST_CROPPED) $(CLIQUER) $(TERMCAP): $(BASE)
$(PATCH)
$(ATLAS): $(LAPACK) $(PYTHON)
}}}
(In general, one could write ''a single'' `make` rule for building /
installing all spkgs, probably with some changes to the directory
structure though.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12729#comment:11>
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.