changeset 2934:8c21b2dbe32e draft

package ocaml-core: add explicit -j 1 to prevent random build failures
author Tony Theodore <tonyt@logyst.com>
date Wed, 12 Dec 2012 12:56:17 +1100
parents 8858781bd505
children 674b7508424f
files src/ocaml-core.mk
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ocaml-core.mk
+++ b/src/ocaml-core.mk
@@ -34,14 +34,14 @@
       -host '$(TARGET)' \
       -x11lib /usr/lib \
       -verbose
-    $(MAKE) -C '$(1)' core
+    $(MAKE) -C '$(1)' -j 1 core
     # Now move the working ocamlrun, ocamlc into the boot/ directory,
     # overwriting the binary versions which ship with the compiler with
     # ones that contain the filename-win32-dirsep patch.
-    $(MAKE) -C '$(1)' coreboot
+    $(MAKE) -C '$(1)' -j 1 coreboot
     # second time, otherwise Segfault in some cases (depending on the runing system?)
-    $(MAKE) -C '$(1)' coreboot
-    $(MAKE) -C '$(1)' all
+    $(MAKE) -C '$(1)' -j 1 coreboot
+    $(MAKE) -C '$(1)' -j 1 all
     # install ocamldoc and camlp4 (non cross versions)
     $(MAKE) -C '$(1)/ocamldoc' install
     cd '$(1)' && BINDIR=$(PREFIX)/$(TARGET)/bin \