<commit_before>require "formula"

class Caffe < Formula
  homepage "http://caffe.berkeleyvision.org/"
  url "https://github.com/BVLC/caffe.git"
  version "1.0"

  depends_on 'mitmul/caffe/cmake-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/boost-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/snappy-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/leveldb-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/protobuf-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/gflags-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/glog-std' => %w{build-from-source fresh verbose debug}
  depends_on 'mitmul/caffe/opencv-std' => %w{build-from-source fresh verbose debug}

  def install
    system "sed -e '/^PYTHON_INCLUDES/ s/\\/usr\\/include/~\\/anaconda\\/include/g' -e '/numpy/ s/\\/usr\\/local/~\\/anaconda/g' -e '/CXX/ s/\\/usr\\/bin\\/g++/\\/usr\\/bin\\/clang++/g' -e '/CXXFLAGS/ s/#CXXFLAGS/CXXFLAGS/' Makefile.config.example Makefile.config"
    system "make"
    system "make pycaffe"

    (lib + 'caffe').install Dir['libcaffe*']
    include.install Dir['include/*']

  end
end<commit_msg>erase debug from some dependencies options<commit_after>require "formula"

class Caffe < Formula
  homepage "http://caffe.berkeleyvision.org/"
  url "https://github.com/BVLC/caffe.git"
  version "1.0"

  depends_on 'mitmul/caffe/cmake-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/boost-std' => %w{build-from-source fresh debug}
  depends_on 'mitmul/caffe/snappy-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/leveldb-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/protobuf-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/gflags-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/glog-std' => %w{build-from-source fresh}
  depends_on 'mitmul/caffe/opencv-std' => %w{build-from-source fresh}

  def install
    system "sed -e '/^PYTHON_INCLUDES/ s/\\/usr\\/include/~\\/anaconda\\/include/g' -e '/numpy/ s/\\/usr\\/local/~\\/anaconda/g' -e '/CXX/ s/\\/usr\\/bin\\/g++/\\/usr\\/bin\\/clang++/g' -e '/CXXFLAGS/ s/#CXXFLAGS/CXXFLAGS/' Makefile.config.example Makefile.config"
    system "make"
    system "make pycaffe"

    (lib + 'caffe').install Dir['libcaffe*']
    include.install Dir['include/*']
  end
end
{'fraction_non_alphanumeric': 0.18657937806873978, 'fraction_numerical': 0.0016366612111292963, 'mean_word_length': 3.6132075471698113, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '1280714', 'n_tokens_mistral': 960, 'n_tokens_neox': 941, 'n_words': 167}