superlu: do not build with -fPIC
Closes #23290. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
fe174cbe7d
commit
eca3c792ad
1 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,7 @@ class Superlu < Formula
|
||||||
homepage "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
|
homepage "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/"
|
||||||
url "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_5.2.1.tar.gz"
|
url "http://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_5.2.1.tar.gz"
|
||||||
sha256 "28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463"
|
sha256 "28fb66d6107ee66248d5cf508c79de03d0621852a0ddeba7301801d3d859f463"
|
||||||
revision 2
|
revision 3
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any_skip_relocation
|
cellar :any_skip_relocation
|
||||||
|
@ -34,7 +34,6 @@ class Superlu < Formula
|
||||||
args = ["SuperLUroot=#{buildpath}",
|
args = ["SuperLUroot=#{buildpath}",
|
||||||
"SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a",
|
"SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a",
|
||||||
"CC=#{ENV.cc}",
|
"CC=#{ENV.cc}",
|
||||||
"CFLAGS=-fPIC #{ENV.cflags}",
|
|
||||||
"BLASLIB=#{blas}"]
|
"BLASLIB=#{blas}"]
|
||||||
args << "LOADOPTS=-fopenmp" if build.with?("openmp")
|
args << "LOADOPTS=-fopenmp" if build.with?("openmp")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue