Changes between Version 5 and Version 6 of Ticket #12016


Ignore:
Timestamp:
11/14/11 13:46:26 (11 years ago)
Author:
jdemeyer
Comment:

John, with your solution there is a lot of code duplication (determining the number of threads is done in 3 places, potentially in 3 different ways). How about having code in sage-sage or sage-env to determine the number of threads and saving it in an environment variable SAGE_NUM_PROCESSES (which the user could set by hand; if not set, the value comes from MAKE or MAKEFLAGS; if no -j option is given, set to 1).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12016 – Description

    v5 v6  
    99In #6495, we should implement the same behavior for doc building.
    1010
     11'''TODO:''' We should also support:
     12 - `make -j16 ptestlong` (as opposed to `MAKE="make -j16" make ptestlong`).  Use `MAKEFLAGS`.
     13 - `make -j` (unlimited number of jobs, say set to 9999 if we really need a number).
     14 - `make -j37 -j1` (last option takes precedence).
     15
    1116'''Apply''':
    1217 1. [attachment:12016-root.v2.patch] to the `SAGE_ROOT` repository.