Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0476235ce0
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.779 kb
require 'formula'
class ObjectiveCaml < Formula
url ''
homepage ''
md5 'bd92c8970767f412bc1e9a6c625b5ccf'
# Don't strip symbols, so dynamic linking doesn't break.
skip_clean :all
def install
system "./configure", "--prefix", HOMEBREW_PREFIX, "--mandir", man
ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
system "make world"
system "make opt"
system "make opt.opt"
system "make PREFIX=#{prefix} install"
# site-lib in the Cellar will be a symlink to the HOMEBREW_PREFIX location
ln_s HOMEBREW_PREFIX+"lib/ocaml/site-lib", lib+"ocaml/site-lib"
Jump to Line
Something went wrong with that request. Please try again.