#9185: Update Singular's spkg-install for building multiple spkgs in parallel
----------------------------+-----------------------------------------------
   Reporter:  mpatel        |       Owner:  tbd         
       Type:  enhancement   |      Status:  needs_review
   Priority:  minor         |   Milestone:  sage-5.0    
  Component:  packages      |    Keywords:              
     Author:  Mitesh Patel  |    Upstream:  N/A         
   Reviewer:                |      Merged:              
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by drkirkby):

 Replying to [comment:3 mpatel]:
 > I'm not sure why `unset MAKE` in `spkg-install` doesn't suppress
 parallel intra-spkg builds/installs for Singular (#9185), R (#9186), or
 ECL (#9187) on OS X.  In particular, I don't know whether the source of
 the problem is in `make`, OS X, or the Sage/spkg `Makefile`s.  But setting
 an empty `MAKEFLAGS` variable seems to work without causing problems on
 other platforms.

 IMHO, unsetting MAKE is a bad idea.

 It is quite common for people to specify something like

 {{{
 MAKE=/usr/sfw/bin/gmake -j 10
 export MAKE
 }}}

 with the vague hope of using 'gmake' rather than 'make'.

 Rather than unsetting, one other possibility is

 {{{
 MAKE="$MAKE -j1"
 }}}

 if the aim is to stop more than one thread.

 Of course, all this relies on people referring to variables and non hard-
 coded names like 'make'.

 I don't know if MAKEFLAGS is portable or not, but for now at least I guess
 it will do.

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