<commit_before>class Pastix < Formula
  desc "Parallel solver for sparse linear systems based on direct methods"
  homepage "http://pastix.gforge.inria.fr"
  url "https://gforge.inria.fr/frs/download.php/file/35070/pastix_5.2.2.22.tar.bz2"
  sha256 "30f771a666719e6b116f549a6e4da451beabab99c2ecabc0745247c3654acbed"
  revision 1

  head "git://scm.gforge.inria.fr/ricar/ricar.git"

  bottle do
    cellar :any
    sha256 "e7d9de75cd394080a888c0ea934aec5b1f1abf241f667f0bec91e512f0fb3213" => :el_capitan
    sha256 "a21d5fc83b6aed8bde472c4a99c4bb452e7942ed1b94893ef3500a912c283722" => :yosemite
    sha256 "b18bcafe7f92297813b6be1d640d36357a9841533916d416c3a77d8cf70a6e83" => :mavericks
  end

  depends_on "scotch"
  depends_on "hwloc"
  depends_on "metis4"   => :optional     # Use METIS ordering.
  depends_on "openblas" => :optional     # Use Accelerate by default.

  depends_on :mpi       => [:cc, :cxx, :f90]
  depends_on :fortran

  def install
    ENV.deparallelize

    cd "src" do
      cp "config/MAC.in", "config.in"
      inreplace "config.in" do |s|
        s.change_make_var! "CCPROG",    ENV.compiler
        s.change_make_var! "CFPROG",    ENV["FC"]<commit_msg>pastix: depend on gcc (#4055)<commit_after>class Pastix < Formula
  desc "Parallel solver for sparse linear systems based on direct methods"
  homepage "http://pastix.gforge.inria.fr"
  url "https://gforge.inria.fr/frs/download.php/file/35070/pastix_5.2.2.22.tar.bz2"
  sha256 "30f771a666719e6b116f549a6e4da451beabab99c2ecabc0745247c3654acbed"
  revision 1

  head "git://scm.gforge.inria.fr/ricar/ricar.git"

  bottle do
    cellar :any
    sha256 "e7d9de75cd394080a888c0ea934aec5b1f1abf241f667f0bec91e512f0fb3213" => :el_capitan
    sha256 "a21d5fc83b6aed8bde472c4a99c4bb452e7942ed1b94893ef3500a912c283722" => :yosemite
    sha256 "b18bcafe7f92297813b6be1d640d36357a9841533916d416c3a77d8cf70a6e83" => :mavericks
  end

  depends_on "scotch"
  depends_on "hwloc"
  depends_on "metis4"   => :optional     # Use METIS ordering.
  depends_on "openblas" => :optional     # Use Accelerate by default.

  depends_on :mpi       => [:cc, :cxx, :f90]
  depends_on :fortran
  depends_on "gcc"

  def install
    ENV.deparallelize

    cd "src" do
      cp "config/MAC.in", "config.in"
      inreplace "config.in" do |s|
        s.change_make_var! "CCPROG",    ENV.compiler
        s.change_make_var! "CFPROG",    ENV["FC"]
{'fraction_non_alphanumeric': 0.10372229192806358, 'fraction_numerical': 0.15558343789209536, 'mean_word_length': 3.9523809523809526, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '2577152', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1043, 'n_words': 167}