<commit_before>class SundialsNoConflictRequirement < Requirement
  fatal true

  satisfy(:build_env => false) { !Tab.for_name("sundials").with?("petsc") }

  def message; <<-EOS.undent
    Sundials must not be compiled with PETSc support to avoid circular dependency:
      brew uninstall sundials
    This formula will build sundials with appropriate options.
    EOS
  end
end

class Petsc < Formula
  desc "Scalable solution of models that use partial differential equations"
  homepage "https://www.mcs.anl.gov/petsc/index.html"
  url "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.7.6.tar.gz"
  sha256 "b07f7b4e57d75f982787bd8169f7b8debd5aee2477293da230ab6c80a52c6ef8"
  head "https://bitbucket.org/petsc/petsc", :using => :git

  bottle do
    sha256 "3de7fa80b993aa2b509bf430d19029e4e6cb82c79ca4fb13346b80b5df27a535" => :el_capitan_or_later
    sha256 "5fb9338c1d54a31cd269c87735855558cb2714f87ded344caef54c9d07b7cad0" => :yosemite
  end

  option "without-test", "Skip build-time tests (not recommended)"
  option "with-complex", "Link complex version of PETSc by default."
  option "with-debug", "Build debug version"
  option "with-ml", "Download and build ML (will not symlink if Trilinos is installed)"

  deprecated_option "without-check" => "without-test"
  deprecated_option "complex" => "with-complex"
  deprecated_option "debug"   => "with-debug"

  depends_on :mpi => [:cc, :cxx, :f77, :f90]
  depends_on :fortran
  depends_on :x11 => :optional
  depends_on "cmake" => :build

  depends_on "openblas" => :optional
  openblasdep = (build.with? "openblas") ? ["with-openblas"] : []

  depends_on "superlu"      => [:recommended] + openblasdep
  depends_on "superlu_dist" => [:recommended] + openblasdep
  depends_on "metis"        => :recommended<commit_msg>petsc: update 3.7.6 bottle.<commit_after>class SundialsNoConflictRequirement < Requirement
  fatal true

  satisfy(:build_env => false) { !Tab.for_name("sundials").with?("petsc") }

  def message; <<-EOS.undent
    Sundials must not be compiled with PETSc support to avoid circular dependency:
      brew uninstall sundials
    This formula will build sundials with appropriate options.
    EOS
  end
end

class Petsc < Formula
  desc "Scalable solution of models that use partial differential equations"
  homepage "https://www.mcs.anl.gov/petsc/index.html"
  url "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.7.6.tar.gz"
  sha256 "b07f7b4e57d75f982787bd8169f7b8debd5aee2477293da230ab6c80a52c6ef8"
  head "https://bitbucket.org/petsc/petsc", :using => :git

  bottle do
    sha256 "485c6b6c413d497f9f845fd2385116c87ae5bda13438bfe708a82d1d311d4860" => :sierra
    sha256 "80a382f28bcda7be2ee2b9aaa54b56adc31fcbc6e345094e8f49c29374672c30" => :el_capitan
    sha256 "04111f17cdf67c6fcfc50bf7b85348ab676090b3ac2bcb451588d2367c2d7ffa" => :yosemite
  end

  option "without-test", "Skip build-time tests (not recommended)"
  option "with-complex", "Link complex version of PETSc by default."
  option "with-debug", "Build debug version"
  option "with-ml", "Download and build ML (will not symlink if Trilinos is installed)"

  deprecated_option "without-check" => "without-test"
  deprecated_option "complex" => "with-complex"
  deprecated_option "debug"   => "with-debug"

  depends_on :mpi => [:cc, :cxx, :f77, :f90]
  depends_on :fortran
  depends_on :x11 => :optional
  depends_on "cmake" => :build

  depends_on "openblas" => :optional
  openblasdep = (build.with? "openblas") ? ["with-openblas"] : []

  depends_on "superlu"      => [:recommended] + openblasdep
  depends_on "superlu_dist" => [:recommended] + openblasdep
  depends_on "metis"        => :recommended
{'fraction_non_alphanumeric': 0.1133768352365416, 'fraction_numerical': 0.08564437194127243, 'mean_word_length': 4.686244204018547, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 32, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '1126030', 'n_tokens_mistral': 1539, 'n_tokens_neox': 1383, 'n_words': 293}