11class 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"
@@ -13,15 +13,12 @@ class Lapack < Formula
1313 end
1414
1515 bottle do
16- rebuild 1
17- sha256 arm64_sequoia : "83296d714b2d6e36d217c846347b6a8379c7c98abf41c78e04c6ccbe92b10c8c"
18- sha256 arm64_sonoma : "bd21dff4c9a6b02755665bdc65ecd552225765120f99ed23c07cd60661b40c91"
19- sha256 arm64_ventura : "146f145ece5043bc57054f286a40938090fbcbc89b3dffe65156eec700eff66a"
20- sha256 arm64_monterey : "0ac519dd79d49605b701100b8efed28473ab306956ebc5b7bd2a6e0ce6414e88"
21- sha256 cellar : :any , sonoma : "bcb2bd2f402ea9a3c29e437379d6dda0388d965190c48e070ea9dbf366f5c1e9"
22- sha256 cellar : :any , ventura : "426f67c2f2a95e038fd99521d95805fb0fefc2e9ab7d29f14528ba8c9c751f2d"
23- sha256 cellar : :any , monterey : "832693c8606c45437f9a771ea206551a61bd76b0781901e0fc688f365b17abd1"
24- sha256 cellar : :any_skip_relocation , x86_64_linux : "dcae5519000d77385af41cd16e95af061f744bfd9fc794f9f3c2f4e87330f3ec"
16+ sha256 arm64_sequoia : "b28ffd5a179cb39c06903720a05f76129b23d7269c6d7ab1c32d80e73dbc3549"
17+ sha256 arm64_sonoma : "ca2ffc67818891b7dd4fca4063b12582e4fd5d1c547a298e52d94ee0ae45da5d"
18+ sha256 arm64_ventura : "fe4b0a8f8d36fe2351183e4760e1b79e60e4acabf6820bdd56b42a3fe64d55d1"
19+ sha256 cellar : :any , sonoma : "ca9ab67cbfe96618babf11e67e0471c710cd7a3bb1f2f94aa6dcd5252e2a477e"
20+ sha256 cellar : :any , ventura : "7d8b411cb368aaf73b9d16b83e5293aec80dd86a53696d35a8336ec013688369"
21+ sha256 cellar : :any_skip_relocation , x86_64_linux : "4a687f1b7990d523993bc1e4ee24c025206c11b9995f9172128142e98a6fc147"
2522 end
2623
2724 keg_only :shadowed_by_macos , "macOS provides LAPACK in Accelerate.framework"
@@ -36,10 +33,13 @@ class Lapack < Formula
3633 def install
3734 ENV . delete ( "MACOSX_DEPLOYMENT_TARGET" )
3835
39- system "cmake" , "-S" , "." , "-B" , "build" ,
40- "-DBUILD_SHARED_LIBS:BOOL=ON" ,
41- "-DLAPACKE:BOOL=ON" ,
42- *std_cmake_args
36+ args = %W[
37+ -DBUILD_SHARED_LIBS=ON
38+ -DLAPACKE=ON
39+ -DCMAKE_INSTALL_RPATH=#{ rpath }
40+ ]
41+
42+ system "cmake" , "-S" , "." , "-B" , "build" , *args , *std_cmake_args
4343 system "cmake" , "--build" , "build"
4444 system "cmake" , "--install" , "build"
4545 end
0 commit comments