From 6fa76128c1c524778f1cfb9f4125c7e531e003ab Mon Sep 17 00:00:00 2001 From: Kevin Tew Date: Mon, 26 Jul 2010 12:12:07 -0600 Subject: [PATCH] Parallel-build docs (cherry picked from commit ae4d2639dd066cdddef386a326d6d00ee1dbd626) --- collects/scribblings/raco/setup.scrbl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/collects/scribblings/raco/setup.scrbl b/collects/scribblings/raco/setup.scrbl index cffde35ec2..d02bab4776 100644 --- a/collects/scribblings/raco/setup.scrbl +++ b/collects/scribblings/raco/setup.scrbl @@ -72,6 +72,15 @@ The @exec{raco setup} command performs two main services: controlled by @filepath{info.rkt}; see @elemref["clean"]{@racket[clean]} for more information. + The @DFlag{workers} (or @Flag{j}) flag to @exec{raco setup} causes it + to compile upto n jobs in parallel. The default is + @racket[(processor-count)], which uses all the machine's processing cores. + The number of workers to use during parallel build can also be set through + the @as-index{@envvar{PLT_SETUP_OPTIONS}} environment variable when running + make install. + + @commandline{PLT_SETUP_OPTIONS="-j 1" make install.} + The @Flag{l} flag takes one or more collection names and restricts @exec{raco setup}'s action to those collections.