aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/objective-caml.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-09-29 14:50:30 -0700
committerMax Howell2009-09-30 18:04:05 +0100
commit60d3bae80fc141f06e886d5df283801462eca007 (patch)
treea206ef0e8048b354fccff5c0813e97b41382992e /Library/Formula/objective-caml.rb
parente0f02bca92336395c38422c453f9c3c480c81e8b (diff)
downloadhomebrew-60d3bae80fc141f06e886d5df283801462eca007.tar.bz2
Fix parallel build issues in Objective Caml formula.
Diffstat (limited to 'Library/Formula/objective-caml.rb')
-rw-r--r--Library/Formula/objective-caml.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/objective-caml.rb b/Library/Formula/objective-caml.rb
index a2dc73b35..0b33e33b9 100644
--- a/Library/Formula/objective-caml.rb
+++ b/Library/Formula/objective-caml.rb
@@ -6,8 +6,10 @@ class ObjectiveCaml <Formula
@md5='fe011781f37f6b41fe08e0706969a89e'
def install
+ # 'world' can be built in parallel, but the other targets have problems
+ ENV.deparallelize
system "./configure --prefix #{prefix}"
- system "make world"
+ system "make -j#{Hardware.processor_count} world"
system "make opt"
system "make opt.opt"
system "make install"