Fix parallel build issues in Objective Caml formula.

This commit is contained in:
Adam Vandenberg 2009-09-29 14:50:30 -07:00 committed by Max Howell
parent 6cca9f0727
commit b2a4c1ed3b

View file

@ -6,8 +6,10 @@ class ObjectiveCaml <Formula
@md5='fe011781f37f6b41fe08e0706969a89e' @md5='fe011781f37f6b41fe08e0706969a89e'
def install def install
# 'world' can be built in parallel, but the other targets have problems
ENV.deparallelize
system "./configure --prefix #{prefix}" system "./configure --prefix #{prefix}"
system "make world" system "make -j#{Hardware.processor_count} world"
system "make opt" system "make opt"
system "make opt.opt" system "make opt.opt"
system "make install" system "make install"