<commit_before>class Gperftools < Formula
  desc "Multi-threaded malloc() and performance analysis tools"
  homepage "https://github.com/gperftools/gperftools"
  url "https://github.com/gperftools/gperftools/releases/download/gperftools-2.6/gperftools-2.6.tar.gz"
  sha256 "87d556694bb1d2c16de34acb9a9db36f7b82b491762ee19e795ef2bef9394daf"

  bottle do
    cellar :any
    sha256 "f007d19e148f697e681ba71f9c3721ec1f9640b7a48bd0a55c129085ba1a3a89" => :sierra
    sha256 "f29fe0e250ee9cc6cba00dc839bf0097db992ba4ec11aff4ab9dbd69e7dd10e8" => :el_capitan
    sha256 "e6af4a9899529cf2aa1ab0c7c6a667cf1a1df9a207a51c0dbb64128d1e1f1d05" => :yosemite
  end

  head do
    url "https://github.com/gperftools/gperftools.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    ENV.append_to_cflags "-D_XOPEN_SOURCE"

    # Workaround for undefined symbol error for ___lsan_ignore_object
    # Reported 5 Jul 2017 https://github.com/gperftools/gperftools/issues/901
    ENV.append_to_cflags "-Wl,-U,___lsan_ignore_object"

    system "autoreconf", "-fiv" if build.head?<commit_msg>gperftools: update 2.6 bottle.<commit_after>class Gperftools < Formula
  desc "Multi-threaded malloc() and performance analysis tools"
  homepage "https://github.com/gperftools/gperftools"
  url "https://github.com/gperftools/gperftools/releases/download/gperftools-2.6/gperftools-2.6.tar.gz"
  sha256 "87d556694bb1d2c16de34acb9a9db36f7b82b491762ee19e795ef2bef9394daf"

  bottle do
    cellar :any
    sha256 "88b926680de61012eb3fa138ed594a78e58952788f5c308d4fc9275b52311774" => :sierra
    sha256 "a2edc2ec0e885b4bdb31ccc32f82f3ed6dcf87fb771860c2e4255b21717f9c2e" => :el_capitan
    sha256 "b80ed7e1c907d37f2d8f226158234c5a148269ce0478651a7e1f14e2865f9234" => :yosemite
  end

  head do
    url "https://github.com/gperftools/gperftools.git"

    depends_on "autoconf" => :build
    depends_on "automake" => :build
    depends_on "libtool" => :build
  end

  def install
    ENV.append_to_cflags "-D_XOPEN_SOURCE"

    # Workaround for undefined symbol error for ___lsan_ignore_object
    # Reported 5 Jul 2017 https://github.com/gperftools/gperftools/issues/901
    ENV.append_to_cflags "-Wl,-U,___lsan_ignore_object"

    system "autoreconf", "-fiv" if build.head?
{'fraction_non_alphanumeric': 0.09279240397065171, 'fraction_numerical': 0.15580492015537334, 'mean_word_length': 4.943589743589744, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6774864', 'n_tokens_mistral': 1143, 'n_tokens_neox': 982, 'n_words': 136}