<commit_before>class ObjectiveCaml < Formula
  homepage "http://ocaml.org"
  url "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz"
  sha1 "6af8c67f2badece81d8e1d1ce70568a16e42313e"
  revision 2

  head "http://caml.inria.fr/svn/ocaml/trunk", :using => :svn

  option "with-x11", "Install with the Graphics module"
  depends_on :x11 => :optional

  bottle do
    sha1 "d3f09d213f57210e4a9e1b482ca8e2fdf39d5836" => :yosemite
    sha1 "5fb1b744f2e8efa49d00d5bcf01547db2b3d32c4" => :mavericks
    sha1 "e551c48370a3b5a43d843510b81032fccc2197ec" => :mountain_lion
  end

  def install
    args = %W[
      --prefix #{HOMEBREW_PREFIX}
      --mandir #{man}
      -cc #{ENV.cc}
      -with-debug-runtime
    ]
    args << "-aspp" << "#{ENV.cc} -c"
    args << "-no-graph" if build.without? "x11"

    ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
    system "./configure", *args
    system "make", "world"
    system "make", "opt"
    system "make", "opt.opt"
    system "make", "PREFIX=#{prefix}", "install"
  end
end<commit_msg>objective-caml: pass correct configure flags for bottling<commit_after>class ObjectiveCaml < Formula
  homepage "http://ocaml.org"
  url "http://caml.inria.fr/pub/distrib/ocaml-4.02/ocaml-4.02.1.tar.gz"
  sha1 "6af8c67f2badece81d8e1d1ce70568a16e42313e"
  revision 2

  head "http://caml.inria.fr/svn/ocaml/trunk", :using => :svn

  option "with-x11", "Install with the Graphics module"
  depends_on :x11 => :optional

  bottle do
    sha1 "d3f09d213f57210e4a9e1b482ca8e2fdf39d5836" => :yosemite
    sha1 "5fb1b744f2e8efa49d00d5bcf01547db2b3d32c4" => :mavericks
    sha1 "e551c48370a3b5a43d843510b81032fccc2197ec" => :mountain_lion
  end

  def install
    args = %W[
      --prefix #{HOMEBREW_PREFIX}
      --mandir #{man}
      -with-debug-runtime
    ]
    args << "-cc" << "#{ENV.cc} #{ENV.cflags}"
    args << "-aspp" << "#{ENV.cc} #{ENV.cflags} -c"
    args << "-no-graph" if build.without? "x11"

    ENV.deparallelize # Builds are not parallel-safe, esp. with many cores
    system "./configure", *args
    system "make", "world"
    system "make", "opt"
    system "make", "opt.opt"
    system "make", "PREFIX=#{prefix}", "install"
  end
end
{'fraction_non_alphanumeric': 0.1482150926344329, 'fraction_numerical': 0.10302756439222774, 'mean_word_length': 3.4015904572564613, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7626503', 'n_tokens_mistral': 1032, 'n_tokens_neox': 921, 'n_words': 176}