#3765: [with patch; needs work] make it so "sage -br" does the cythonization in
parallel using pyprocessing
-------------------------+--------------------------------------------------
Reporter: was | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.1.3
Component: build | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by was):
{{{
From mabshoff:
Yeah, the above was the one thing about the patch that really bothered
me since on sage.math the old version would just grab 16 cores
regardless of the load for example. Using -br #n works for me.
I am not sure if if I mentioned this on the ticket, but in that case
we should make the Sage library depend on pyprocessing and also use
some env variable to pass the number of threads to the build process
when building the Sage library for the first time.
}}}
Responses: good. Yes, we would definitely have to change
spkg/standard/deps to
depend on PYPROCESSING, and that will be part of this ticket. I've
attached
a new deps file that does this (note -- deps isn't under any repo, and the
attached file is from 3.1.2).
Another option can be to parse the environment variable MAKE and if it has
a -j option, then use that. This will make it so our current standard
{{{
export MAKE="make -j4"
make
}}}
works and does at least the cythoning in parallel.
William
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3765#comment:13>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---