<commit_before>require 'formula'

class Beecrypt < Formula
  url 'http://sourceforge.net/projects/beecrypt/files/beecrypt/4.2.1/beecrypt-4.2.1.tar.gz'
  homepage 'http://beecrypt.sourceforge.net'
  sha256 '286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d'

  depends_on "icu4c"

  def install
    # Compilation fails if we allow Homebrew to set CFLAGS/CPPFLAGS/CXXFLAGS.
    ENV.delete "CFLAGS"
    ENV.delete "CPPFLAGS"
    ENV.delete "CXXFLAGS"

    system "./configure", "--prefix=#{prefix}", "--disable-openmp", "--without-java", "--without-python"
    system "make"
    system "make install"
  end
end<commit_msg>beecrypt: remove -march cflags instead of everything<commit_after>require 'formula'

class Beecrypt < Formula
  url 'http://sourceforge.net/projects/beecrypt/files/beecrypt/4.2.1/beecrypt-4.2.1.tar.gz'
  homepage 'http://beecrypt.sourceforge.net'
  sha256 '286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d'

  depends_on "icu4c"

  def install
    ENV.remove_from_cflags /-march=\S*/
    system "./configure", "--prefix=#{prefix}", "--disable-openmp", "--without-java", "--without-python"
    system "make"
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.13758389261744966, 'fraction_numerical': 0.087248322147651, 'mean_word_length': 4.098290598290598, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3486406', 'n_tokens_mistral': 514, 'n_tokens_neox': 456, 'n_words': 78}