Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions Formula/scalapack.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Scalapack < Formula
desc "High-performance linear algebra for distributed memory machines"
homepage "https://www.netlib.org/scalapack/"
url "https://www.netlib.org/scalapack/scalapack-2.1.0.tgz"
sha256 "61d9216cf81d246944720cfce96255878a3f85dec13b9351f1fa0fd6768220a6"
url "https://www.netlib.org/scalapack/scalapack-2.2.0.tgz"
sha256 "40b9406c20735a9a3009d863318cb8d3e496fb073d201c5463df810e01ab2a57"
license "BSD-3-Clause"
revision 3

livecheck do
url :homepage
Expand All @@ -26,13 +25,6 @@ class Scalapack < Formula
depends_on "open-mpi"
depends_on "openblas"

# Patch for compatibility with GCC 10
# https://github.com/Reference-ScaLAPACK/scalapack/pull/26
patch do
url "https://github.com/Reference-ScaLAPACK/scalapack/commit/bc6cad585362aa58e05186bb85d4b619080c45a9.patch?full_index=1"
sha256 "f0892888e5a83d984e023e76eabae8864ad89b90ae3a41d472b960c95fdab981"
end

def install
mkdir "build" do
blas = "-L#{Formula["openblas"].opt_lib} -lopenblas"
Expand Down