Werner LEMBERG wrote:
[...] I'm wondring about a portable way to determine the number of
cores/CPUs present to adjust job-count value.

On Linux:

  CPU_CORES=`cat /proc/cpuinfo | grep -m1 "cpu cores" | sed s/".*: "//`


Nice! I'd never tried using both processors like that. The terminal output for individual jobs is lost, but it processes much faster.

Jon
--
Jonathan Kulp
http://www.jonathankulp.com


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to