<commit_before>class Folly < Formula
  desc "Collection of reusable C++ library artifacts developed at Facebook"
  homepage "https://github.com/facebook/folly"
  url "https://github.com/facebook/folly/archive/v2017.06.12.00.tar.gz"
  sha256 "6253ad41d42d3fa576e540015ecb481844cd9a954e2f8d4f907a785d8199581f"
  head "https://github.com/facebook/folly.git"

  bottle do
    cellar :any
    sha256 "d6ab6544dbcd413bc32a6a18719521e4f7b63c85bffa2561f8984d25f96e50ee" => :sierra
    sha256 "8b3ef1188040d2e522afb3288f4230cd87297b95910c5725631e5811ef5a1de2" => :el_capitan
  end
<commit_msg>folly: add upstream patch for build failure<commit_after>class Folly < Formula
  desc "Collection of reusable C++ library artifacts developed at Facebook"
  homepage "https://github.com/facebook/folly"
  head "https://github.com/facebook/folly.git"

  stable do
    url "https://github.com/facebook/folly/archive/v2017.06.12.00.tar.gz"
    sha256 "6253ad41d42d3fa576e540015ecb481844cd9a954e2f8d4f907a785d8199581f"

    # Fixes build failure reported at https://github.com/facebook/folly/issues/610
    patch do
      url "https://github.com/facebook/folly/commit/972651e.patch"
      sha256 "93162e577dfab17faa487ca990600a46673989131b03e6fda050208abea888da"
    end
  end

  bottle do
    cellar :any
    sha256 "d6ab6544dbcd413bc32a6a18719521e4f7b63c85bffa2561f8984d25f96e50ee" => :sierra
    sha256 "8b3ef1188040d2e522afb3288f4230cd87297b95910c5725631e5811ef5a1de2" => :el_capitan
  end

{'fraction_non_alphanumeric': 0.08757637474541752, 'fraction_numerical': 0.23625254582484725, 'mean_word_length': 5.065843621399177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2434325', 'n_tokens_mistral': 794, 'n_tokens_neox': 605, 'n_words': 86}