Opened 11 years ago

Last modified 10 years ago

#12016 closed enhancement

parallelism in Sage: just use value of 'MAKE' — at Initial Version

Reported by: jhpalmieri Owned by: GeorgSWeber
Priority: critical Milestone: sage-4.8
Component: build Keywords:
Cc: jdemeyer, leif Merged in:
Authors: John Palmieri Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #11969 Stopgaps:

Status badges


With the attached patches, along with the changes from #11959, the various parallel aspects of Sage should be controlled by setting the -j flag in MAKE. That is, if MAKE='make -j16', then

  • running make will build spkg's in parallel, using 16 processes (this was done in #11959)
  • running make ptestlong or sage -tp 0 <files> will doctest in parallel using 16 threads. If the -j flag in MAKE is empty or not set, then determine the number of threads as before: min(8, cpu_count()).

In #6495, we should implement the same behavior for doc building.

Change History (0)

Note: See TracTickets for help on using tickets.