<commit_before>require 'formula'

class Hiredis <Formula
  url 'https://github.com/antirez/hiredis/tarball/v0.9.2'
  head 'git://github.com/antirez/hiredis.git'
  homepage 'https://github.com/antirez/hiredis'
  version '0.9.2'
  sha1 '2a258b2bc56958144307df13a5ecf6692c637ee3'

  def install
    fails_with_llvm "Can't figure out architecture type", :build => 2333
    system "make PREFIX=#{prefix}"
    system "make install PREFIX=#{prefix}"
  end
end<commit_msg>Specify architecture for hiredis<commit_after>require 'formula'

class Hiredis <Formula
  url 'https://github.com/antirez/hiredis/tarball/v0.9.2'
  head 'git://github.com/antirez/hiredis.git'
  homepage 'https://github.com/antirez/hiredis'
  version '0.9.2'
  sha1 '2a258b2bc56958144307df13a5ecf6692c637ee3'

  def install
    # Architecture isn't detected correctly on 32bit Snow Leopard without help
    ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386"

    system "make PREFIX=#{prefix}"
    system "make install PREFIX=#{prefix}"
  end
end
{'fraction_non_alphanumeric': 0.1259765625, 'fraction_numerical': 0.0810546875, 'mean_word_length': 4.394736842105263, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '2852799', 'n_tokens_mistral': 440, 'n_tokens_neox': 383, 'n_words': 78}