aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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"