openblas: phase out :openmp
This commit is contained in:
parent
a65f96fc48
commit
6fd6e4293b
1 changed files with 2 additions and 1 deletions
|
@ -17,10 +17,11 @@ class Openblas < Formula
|
|||
"macOS provides BLAS and LAPACK in the Accelerate framework"
|
||||
|
||||
option "with-openmp", "Enable parallel computations with OpenMP"
|
||||
needs :openmp if build.with? "openmp"
|
||||
|
||||
depends_on "gcc" # for gfortran
|
||||
|
||||
fails_with :clang if build.with? "openmp"
|
||||
|
||||
def install
|
||||
ENV["DYNAMIC_ARCH"] = "1" if build.bottle?
|
||||
ENV["USE_OPENMP"] = "1" if build.with? "openmp"
|
||||
|
|
Loading…
Reference in a new issue