#13415: Prevent unneeded rebuilding when upgrading
------------------------------------------+---------------------------------
       Reporter:  jdemeyer                |         Owner:  GeorgSWeber
           Type:  enhancement             |        Status:  new        
       Priority:  major                   |     Milestone:  sage-5.4   
      Component:  build                   |    Resolution:             
       Keywords:                          |   Work issues:             
Report Upstream:  N/A                     |     Reviewers:             
        Authors:  Jeroen Demeyer          |     Merged in:             
   Dependencies:  #13395, #13392, #13416  |      Stopgaps:             
------------------------------------------+---------------------------------
Description changed by jdemeyer:

Old description:

> Since (almost) every package depends on `patch` and `bzip2`, an update of
> either of these packages causes a rebuild of everything when upgrading.
>
> An update of `prereq` even causes everything to be built twice(!) when
> upgrading (the new prereq script is only seen after the new root repo is
> installed, so the second `sage-upgrade` run for double-checking will
> install the new `prereq` and therefore rebuild everything).
>
> We should simply remove dependencies of packages on `PREREQ`, `BZIP2` and
> `PATCH` and build those packages separately.

New description:

 Since (almost) every package depends on `patch` and `bzip2`, an update of
 either of these packages causes a rebuild of everything when upgrading.

 An update of `prereq` even causes everything to be built twice(!) when
 upgrading (the new prereq script is only seen after the new root repo is
 installed, so the second `sage-upgrade` run for double-checking will
 install the new `prereq` and therefore rebuild everything).

 We should simply remove dependencies of packages on `PREREQ`, `BZIP2` and
 `PATCH` and build those packages separately.

 '''Apply''' to the SAGE_ROOT repository:
  1. [attachment:13415_separate_base_deps_auto.patch] -- automatically
 generated by
 {{{
 sed -i 's| *\$(BASE)||; s| *\$(INST)/\$(PATCH)||' spkg/standard/deps
 }}}
  1. [attachment:13415_separate_base_deps_2.patch]

--

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