#11926: "make build" should run Sage once
---------------------------------+------------------------------------------
   Reporter:  jdemeyer           |          Owner:  GeorgSWeber   
       Type:  defect             |         Status:  needs_work    
   Priority:  major              |      Milestone:  sage-4.7.3    
  Component:  build              |       Keywords:  Makefile build
Work_issues:  temporary DOTSAGE  |       Upstream:  N/A           
   Reviewer:                     |         Author:  Jeroen Demeyer
     Merged:                     |   Dependencies:                
---------------------------------+------------------------------------------

Comment(by jdemeyer):

 Replying to [comment:5 leif]:
 > I don't like the idea of running `sage` after `make build` since it
 certainly doesn't belong to that target
 I think it does.  Currently, after `make build` (or simply `make`), Sage
 '''does not work''' for a different user.  I think `make build` should
 result in a proper Sage installation, which means that it should work for
 '''every user'''.

 > it shouldn't be run from `spkg/install` but the `Makefile`
 Why?  I like `spkg/install` better because it allows us to run Sage only
 if something was actually installed.  You don't want to run Sage everytime
 somebody does `make foo` for various values of "foo".  Also, IIRC, we run
 `spkg/install` on upgrading but not a top-level `make all` or `make
 build`.

 > Or run `sage-location` from there if `make` did anything, but we should
 in principle run it from elsewhere.
 Running `sage-location` is certainly not sufficient to generate all files
 needed to run Sage.

 > Someone who is going to install Sage system-wide should run `make
 ptestlong`
 Let the sysadmin decide whether they want to run `make ptestlong` or not,
 I want to give him the option of NOT doing it.

 > Also note that `sage` (or `sage-location`) should be run (at least)
 '''after''' it has been moved to its final installation location, which is
 likely to happen ''after'' having built Sage.
 I would think most people run Sage from the location where they installed
 it, or equivalently, install Sage in the location they want to run it
 from.  In any case, this does not invalidate the reasons for this ticket.

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