Fix parallel build issues in Objective Caml formula.

master
Adam Vandenberg 2009-09-29 14:50:30 -07:00 committed by Max Howell
parent 6cca9f0727
commit b2a4c1ed3b
1 changed files with 3 additions and 1 deletions

View File

@ -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"