Re: [racket-dev] Parallel Build of Collects

2010-07-05 Thread Sam Tobin-Hochstadt
On Mon, Jul 5, 2010 at 2:13 PM, Kevin Tew t...@cs.utah.edu wrote:
 Parallel build of collects is now the default option.

This breaks for me, with current master (during 'make install'):

raco setup: --- parallel build using 4 processor cores ---
/home/samth/sw/plt/collects/setup/compiled/parallel-build-worker_rkt.zo::0:
read (compiled): code compiled for version 5.0.0.5, not 5.0.0.6
/home/samth/sw/plt/collects/setup/compiled/parallel-build-worker_rkt.zo::0:
read (compiled): code compiled for version 5.0.0.5, not 5.0.0.6
KILLING WORKER 0 #(struct:exn:fail:filesystem error writing to stream
port (Broken pipe; errno=32) #continuation-mark-set)
close-input-port: expects argument of type input-port; given 0

 === context ===
/home/samth/sw/plt/collects/setup/parallel-build.rkt:220:58:
with-handlers-handler219
/home/samth/sw/plt/collects/setup/setup-unit.rkt:601:17: thunk
/home/samth/sw/plt/collects/setup/setup-go.rkt: [running body]
/home/samth/sw/plt/collects/setup/main.rkt: [running body]

I was able to fix this by doing 'raco setup -u -l setup' and then
rerunning 'make install'.
-- 
sam th
sa...@ccs.neu.edu
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] Parallel Build of Collects

2010-07-05 Thread Kevin Tew

I'm fine with renaming -u to -J.


On 07/05/2010 04:37 PM, Eli Barzilay wrote:

On Jul  5, Kevin Tew wrote:
   

Parallel build of collects is now the default option.

You can change the setup options by specify an environment variable
to make install

Examples:
; only use one processor
SETUP_OPTIONS=-j 1 make install
or
; use three processors don't build docs
SETUP_OPTIONS=-j 1 -D make install

raco setup -u now means uniprocessor.  It will build collects using
the original serial process (before parallel build was committed)
 

Why not something that is more related to -j like -J or +j?
(Especially given that it's not the same as -j 1, so it's not really
an option to be used for a uniprocessor situation).

   


_
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev