[m-rev.] diff: avoid bootcheck problem with -j2 on MinGW/MSYS

Julien Fischer jfischer at opturion.com
Thu Mar 28 16:01:04 AEDT 2013


Avoid a problem with the bootcheck script on MinGW/MSYS.

tools/bootcheck:
	Avoid building the dependencies in the slice directory
	in parallel since it doesn't work correctly at -j2
	on MSYS.

Julien.

diff --git a/tools/bootcheck b/tools/bootcheck
index 04c5bb5..08b0bdc 100755
--- a/tools/bootcheck
+++ b/tools/bootcheck
@@ -1020,7 +1020,7 @@ then
             unset MMAKE_DIR && \
             unset MERCURY_CONFIG_DIR && \
             unset MERCURY_STDLIB_DIR && \
-            mmake $mmake_opts $jfactor depend && \
+            mmake $mmake_opts depend && \
             mmake $mmake_opts $jfactor all)
         then
             echo "building of stage 2 slice successful"



More information about the reviews mailing list