On 01/09/2010 12:40 AM, David Haller wrote:
Hello,
On Fri, 08 Jan 2010, Jean Delvare wrote:
Le vendredi 8 janvier 2010 19:07, Dave Plater a écrit :
All I can give is the excerpt from INSTALL.txt : Known issues and warnings .........................
The most time consuming task for building the documentation is running LilyPond to build images of music, and there cannot be several simultaneously running `lilypond-book' instances, so `-j' `make' option does not significantly speed up the build process. To help speed it up, the makefile variable CPU_COUNT may be set in `local.make' or on the command line to the number of `.ly' files that LilyPond should process simultaneously, e.g. on a bi-processor or dual core machine
make -j3 CPU_COUNT=3 doc
The recommended value of CPU_COUNT is one plus the number of cores or processors, but it is advisable to set it to a smaller value if your system has not enough RAM to run that many simultaneous LilyPond instances.
"there cannot be several simultaneously running `lilypond-book' instances"
This is the key problem, that should be addressed by the developers.
lilypond-book has an option to run more that one job, which _is_ set to $CPU_COUNT in the Makefile. One could only parse $(MAKEFLAGS) instead, at least I don't find a make-Variable containing the number of jobs.
HTH, -dnh
Just for interest, here's a build log section with four gs simultanious jobs :- Initializing FontConfig... adding font directory: /usr/src/packages/BUILD/lilypond-2.12.3/out/share/lilypond/current/fonts/otf adding font directory: /usr/src/packages/BUILD/lilypond-2.12.3/out/share/lilypond/current/fonts/type1 Building font database. [/usr/src/packages/BUILD/lilypond-2.12.3/out/lybook-db/snippet-names--7471402555679770406.ly] Forking into jobs: (14487 14486 14485 14484) GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. Regards Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org