Use %openblas_arches if available
This commit is contained in:
parent
e9a40e7f7a
commit
2f1ce58cf4
@ -156,7 +156,8 @@ BuildRequires: MUMPS-devel
|
||||
BuildRequires: suitesparse-devel
|
||||
%endif
|
||||
%if %{with blas}
|
||||
%ifnarch x86_64 %{ix86} armv7hl %{power64} aarch64
|
||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
||||
%ifnarch %{openblas_arches}
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: lapack-devel
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user