<commit_before>class Libff < Formula
  desc "C++ library for Finite Fields and Elliptic Curves"
  homepage "https://github.com/scipr-lab/libff"
  # pull from git tag to get submodules
  url "https://github.com/scipr-lab/libff.git",
      tag:      "v0.2.1",
      revision: "5835b8c59d4029249645cf551f417608c48f2770"
  license "MIT"

  depends_on "cmake" => :build
  depends_on "openssl@1.1" => :build

  depends_on "gmp"

  def install
    # bn128 is somewhat faster, but requires an x86_64 CPU
    curve = Hardware::CPU.intel? ? "BN128" : "ALT_BN128"

    # build libff dynamically. The project only builds statically by default
    inreplace "libff/CMakeLists.txt", "STATIC", "SHARED"<commit_msg>libff: add 0.2.1 bottle.<commit_after>class Libff < Formula
  desc "C++ library for Finite Fields and Elliptic Curves"
  homepage "https://github.com/scipr-lab/libff"
  # pull from git tag to get submodules
  url "https://github.com/scipr-lab/libff.git",
      tag:      "v0.2.1",
      revision: "5835b8c59d4029249645cf551f417608c48f2770"
  license "MIT"

  bottle do
    sha256 cellar: :any,                 arm64_monterey: "3bc7fe57f5d06f468d143100f64767344d54cf8f925b41ad72431828807b8ebd"
    sha256 cellar: :any,                 arm64_big_sur:  "de8ad0e6ec68dd26c530f29e4e3d20247d2d4488e3355b53f036168eba942544"
    sha256 cellar: :any,                 monterey:       "01a39f20109229d722f510d67183de70611fa206e8c2407c878cf63ad03b9bfa"
    sha256 cellar: :any,                 big_sur:        "31327452c277cb5ab2b8c466ec66de12bf8839657e7a3e45faafe88f38c8ddc8"
    sha256 cellar: :any,                 catalina:       "cfa9fac08910ff673c989d63a79076a33e063d15702a4b733098f151e3cf86f0"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "587d6b29ca7e2570567f0f1bc6660143d910b69262011c2d2c1021ee1fba8194"
  end

  depends_on "cmake" => :build
  depends_on "openssl@1.1" => :build

  depends_on "gmp"

  def install
    # bn128 is somewhat faster, but requires an x86_64 CPU
    curve = Hardware::CPU.intel? ? "BN128" : "ALT_BN128"

    # build libff dynamically. The project only builds statically by default
    inreplace "libff/CMakeLists.txt", "STATIC", "SHARED"
{'fraction_non_alphanumeric': 0.09116022099447514, 'fraction_numerical': 0.17725598526703498, 'mean_word_length': 3.633262260127932, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3168028', 'n_tokens_mistral': 1074, 'n_tokens_neox': 853, 'n_words': 167}