#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:                |  
----------------------------+-----------------------------------------------
Changes (by mpatel):

 * cc: mhansen (added)


Comment:

 We already build Singular, ECL, and some other packages (e.g., Maxima and
 ATLAS) serially.  I'm pretty sure that this ticket and its related tickets
 (#9186, #9187) don't change that.  In particular, Singular's `spkg-
 install` already contains
 {{{
 #!sh
 # since parallel make breaks the singular build
 MAKE="make"
 export MAKE
 }}}
 and ECL's `spkg-install` already contains
 {{{
 #!sh
 # 'export MAKE='make -j n' where n>1, breaks ECL builds, so unset make
 unset MAKE
 }}}
 R's `spkg-install` already contains
 {{{
 #!sh
 #parallel make install is broken
 export MAKE=make
 }}}

 I don't know the details about why we don't build/install these packages
 in parallel.  Perhaps their upstream build systems (`Makefiles`, etc.)
 have too many "serialisms"?  It would be great if `make -jN` did work for
 ATLAS, ECL, Maxima, and Singular, since these packages seem to contribute
 significantly to the overall build time.

 Isn't `-j` a
 non-[http://www.opengroup.org/onlinepubs/009695399/utilities/make.html
 POSIX] argument for make?  The MAKEFLAGS change, which is also GNU make-
 specific, hasn't affected my builds on t2 and sage.math, but we could
 certainly restrict it to OS X.

 Mike, do you happen to know how #8306 fares on Cygwin?

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