Permalink
Browse files

Tweak o-caml

  • Loading branch information...
1 parent e49dcd8 commit 86abea8d5a5c781e236b27251aa202a848ef6aa1 @adamv adamv committed Nov 8, 2010
Showing with 2 additions and 4 deletions.
  1. +2 −4 Library/Formula/objective-caml.rb
@@ -5,15 +5,13 @@ class ObjectiveCaml <Formula
homepage 'http://caml.inria.fr/ocaml/index.en.html'
md5 'bd92c8970767f412bc1e9a6c625b5ccf'
- # note it indeed seems necessary to skip cleaning everything
- # see http://github.com/mxcl/homebrew/issues/issue/188
+ # Don't strip symbols, so dynamic linking doesn't break.
skip_clean :all
def install
system "./configure", "--prefix", prefix, "--mandir", man
+ ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "make world"
- # 'world' can be built in parallel, but the other targets have problems
- ENV.deparallelize
system "make opt"
system "make opt.opt"
system "make install"

2 comments on commit 86abea8

@tianyicui
Contributor

FYI, this doesn't resolve #3014 for me.

@adamv
Contributor
adamv commented on 86abea8 Nov 8, 2010

Noted; I saw that the other issue was failing on "make world", but yours is failing much further on.

Please sign in to comment.