[racket-dev] Parallel Build of Collects

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Jul 5 23:22:37 EDT 2010

At Mon, 5 Jul 2010 22:33:22 -0400, Eli Barzilay wrote:
> * [1] happened on all builds (text below).

Likely it has always happened, but the old `setup' hid all stdout. The
solution is probably to change the lexer to use `log-warning', but I'll
look into it.

> * On this windows build (of the compiler collection, and also in the
>   full setup later), there were many problems like:
>     raco setup: ERROR: compiler compiler.rkt:
>     rename-file-or-directory: cannot rename file or directory:
>     f:\racket\collects\compiler\compiled\tmp1278373426620656247 to:
>     f:\racket\collects\compiler\compiled\compiler_rkt.dep (Access is
>     denied.; errno=5)
>   This is some race condition that will likely be hidden on the next
>   build (when it will use a single process), so it'll be good to use
>   some multi-core windows machine to find the problem.

I think the solution is probably to change Racket so that it opens
Windows files with FILE_SHARE_DELETE. Hopefully, that will allow open
files to be deleted or replaced by a rename, as cm expects. So, that's
another experiment for tomorrow.

Posted on the dev mailing list.