Use %openblas_arches if available

This commit is contained in:
Orion Poplawski 2017-03-15 15:34:32 -06:00
parent e9a40e7f7a
commit 2f1ce58cf4

View File

@ -156,7 +156,8 @@ BuildRequires: MUMPS-devel
BuildRequires: suitesparse-devel BuildRequires: suitesparse-devel
%endif %endif
%if %{with blas} %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: blas-devel
BuildRequires: lapack-devel BuildRequires: lapack-devel
%else %else