#12329: Remove unneeded dependencies of the Sage library
---------------------------+------------------------------------------------
   Reporter:  jdemeyer     |          Owner:  GeorgSWeber   
       Type:  enhancement  |         Status:  needs_review  
   Priority:  minor        |      Milestone:  sage-5.0      
  Component:  build        |       Keywords:                
Work_issues:               |       Upstream:  N/A           
   Reviewer:               |         Author:  Jeroen Demeyer
     Merged:               |   Dependencies:                
---------------------------+------------------------------------------------
Description changed by jdemeyer:

Old description:

> According to `spkg/standard/deps`, the sage library depends on:
> {{{
> $(INST)/$(SAGE): $(BASE) \
>          $(INST)/$(SAGE_SCRIPTS) \
>          $(INST)/$(ATLAS) \
>          $(INST)/$(CEPHES) \
>          $(INST)/$(CLIQUER) \
>          $(INST)/$(CONWAY) \
>          $(INST)/$(CYTHON) \
>          $(INST)/$(DOCUTILS) \
>          $(INST)/$(ECL) \
>          $(INST)/$(ECLIB) \
>          $(INST)/$(ECM) \
>          $(INST)/$(ELLIPTIC_CURVES) \
>          $(INST)/$(EXTCODE) \
>          $(INST)/$(FLINT) \
>          $(INST)/$(FPLLL) \
>          $(INST)/$(GDMODULE) \
>          $(INST)/$(GRAPHS) \
>          $(INST)/$(GIVARO) \
>          $(INST)/$(GLPK) \
>          $(INST)/$(GSL) \
>          $(INST)/$(IML) \
>          $(INST)/$(IPYTHON) \
>          $(INST)/$(LCALC) \
>          $(INST)/$(LIBM4RI) \
>          $(INST)/$(LIBM4RIE) \
>          $(INST)/$(LINBOX) \
>          $(INST)/$(MATPLOTLIB) \
>          $(INST)/$(MERCURIAL) \
>          $(INST)/$(MPFI) \
>          $(INST)/$(MPFR) \
>          $(INST)/$(MPIR) \
>          $(INST)/$(MPMATH) \
>          $(INST)/$(NETWORKX) \
>          $(INST)/$(NTL) \
>          $(INST)/$(NUMPY) \
>          $(INST)/$(PARI) \
>          $(INST)/$(PEXPECT) \
>          $(INST)/$(POLYBORI) \
>          $(INST)/$(PPL) \
>          $(INST)/$(PYCRYPTO) \
>          $(INST)/$(PYNAC) \
>          $(INST)/$(PYTHON) \
>          $(INST)/$(R) \
>          $(INST)/$(RATPOINTS) \
>          $(INST)/$(RUBIKS) \
>          $(INST)/$(SAGENB) \
>          $(INST)/$(SCONS) \
>          $(INST)/$(SETUPTOOLS) \
>          $(INST)/$(SINGULAR) \
>          $(INST)/$(SYMMETRICA) \
>          $(INST)/$(SYMPY) \
>          $(INST)/$(ZNPOLY)
> }}}
> However, only components which are needed at build-time should be listed
> here.
>
> '''Apply''' [attachment:12329_prune_deps.patch] to the sage root
> repository.
>
> With this patch, building just the Sage library using
> {{{
> cd spkg
> ./install sage-4.8   # put the correct version here
> }}}
> works fine, also using a parallel build.
>
> Just for information: using "make -j", this is the critical path to build
> the Sage library (every packge in this list depends on the one just above
> it):
> {{{
> (base)
> patch
> iconv
> libgpg_error
> libgcrypt
> opencdk
> gnutls
> python
> fortran
> lapack
> atlas
> linbox
> sage
> }}}

New description:

 According to `spkg/standard/deps`, the sage library depends on:
 {{{
 $(INST)/$(SAGE): $(BASE) \
          $(INST)/$(SAGE_SCRIPTS) \
          $(INST)/$(ATLAS) \
          $(INST)/$(CEPHES) \
          $(INST)/$(CLIQUER) \
          $(INST)/$(CONWAY) \
          $(INST)/$(CYTHON) \
          $(INST)/$(DOCUTILS) \
          $(INST)/$(ECL) \
          $(INST)/$(ECLIB) \
          $(INST)/$(ECM) \
          $(INST)/$(ELLIPTIC_CURVES) \
          $(INST)/$(EXTCODE) \
          $(INST)/$(FLINT) \
          $(INST)/$(FPLLL) \
          $(INST)/$(GDMODULE) \
          $(INST)/$(GRAPHS) \
          $(INST)/$(GIVARO) \
          $(INST)/$(GLPK) \
          $(INST)/$(GSL) \
          $(INST)/$(IML) \
          $(INST)/$(IPYTHON) \
          $(INST)/$(LCALC) \
          $(INST)/$(LIBM4RI) \
          $(INST)/$(LIBM4RIE) \
          $(INST)/$(LINBOX) \
          $(INST)/$(MATPLOTLIB) \
          $(INST)/$(MERCURIAL) \
          $(INST)/$(MPFI) \
          $(INST)/$(MPFR) \
          $(INST)/$(MPIR) \
          $(INST)/$(MPMATH) \
          $(INST)/$(NETWORKX) \
          $(INST)/$(NTL) \
          $(INST)/$(NUMPY) \
          $(INST)/$(PARI) \
          $(INST)/$(PEXPECT) \
          $(INST)/$(POLYBORI) \
          $(INST)/$(PPL) \
          $(INST)/$(PYCRYPTO) \
          $(INST)/$(PYNAC) \
          $(INST)/$(PYTHON) \
          $(INST)/$(R) \
          $(INST)/$(RATPOINTS) \
          $(INST)/$(RUBIKS) \
          $(INST)/$(SAGENB) \
          $(INST)/$(SCONS) \
          $(INST)/$(SETUPTOOLS) \
          $(INST)/$(SINGULAR) \
          $(INST)/$(SYMMETRICA) \
          $(INST)/$(SYMPY) \
          $(INST)/$(ZNPOLY)
 }}}
 However, only components which are needed at build-time should be listed
 here.

 '''Apply''' [attachment:12329_prune_deps.patch] to the sage root
 repository.

 With this patch, building just the Sage library using
 {{{
 cd spkg
 ./install installed/sage-4.8   # put the correct version here
 }}}
 works fine, also using a parallel build.

 Just for information: using "make -j", this is the critical path to build
 the Sage library (every packge in this list depends on the one just above
 it):
 {{{
 (base)
 patch
 iconv
 libgpg_error
 libgcrypt
 opencdk
 gnutls
 python
 fortran
 lapack
 atlas
 linbox
 sage
 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12329#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.

Reply via email to