Skip to content

Commit 604de5d

Browse files
committed
lapack 3.12.1
autobump: add lapack Signed-off-by: Rui Chen <[email protected]> lapack: update build Signed-off-by: Rui Chen <[email protected]>
1 parent 9fd48be commit 604de5d

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,6 +1623,7 @@ langgraph-cli
16231623
languagetool
16241624
languagetool-rust
16251625
lanraragi
1626+
lapack
16261627
lastpass-cli
16271628
lastz
16281629
laszip

Formula/l/lapack.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Lapack < Formula
22
desc "Linear Algebra PACKage"
33
homepage "https://www.netlib.org/lapack/"
4-
url "https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.0.tar.gz"
5-
sha256 "eac9570f8e0ad6f30ce4b963f4f033f0f643e7c3912fc9ee6cd99120675ad48b"
4+
url "https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.1.tar.gz"
5+
sha256 "2ca6407a001a474d4d4d35f3a61550156050c48016d949f0da0529c0aa052422"
66
# LAPACK is BSD-3-Clause-Open-MPI while LAPACKE is BSD-3-Clause
77
license all_of: ["BSD-3-Clause-Open-MPI", "BSD-3-Clause"]
88
head "https://github.com/Reference-LAPACK/lapack.git", branch: "master"
@@ -36,10 +36,13 @@ class Lapack < Formula
3636
def install
3737
ENV.delete("MACOSX_DEPLOYMENT_TARGET")
3838

39-
system "cmake", "-S", ".", "-B", "build",
40-
"-DBUILD_SHARED_LIBS:BOOL=ON",
41-
"-DLAPACKE:BOOL=ON",
42-
*std_cmake_args
39+
args = %W[
40+
-DBUILD_SHARED_LIBS=ON
41+
-DLAPACKE=ON
42+
-DCMAKE_INSTALL_RPATH=#{rpath}
43+
]
44+
45+
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
4346
system "cmake", "--build", "build"
4447
system "cmake", "--install", "build"
4548
end

0 commit comments

Comments
 (0)