|
|
|
@ -15,10 +15,6 @@ BuildRequires: hdf5-devel
|
|
|
|
|
BuildRequires: SuperLU-devel
|
|
|
|
|
|
|
|
|
|
# flexiblas is only available on Fedora, for EPEL replace it by atlas, lapack and openblas
|
|
|
|
|
%if %{?fedora}
|
|
|
|
|
%global extra_options -DALLOW_FLEXIBLAS_LINUX=ON
|
|
|
|
|
BuildRequires: flexiblas-devel
|
|
|
|
|
%else
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
%global extra_options %{nil}
|
|
|
|
|
BuildRequires: atlas-devel
|
|
|
|
@ -27,7 +23,6 @@ BuildRequires: lapack-devel
|
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
|
BuildRequires: openblas-devel
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
|
@ -53,15 +48,11 @@ Requires: arpack-devel
|
|
|
|
|
Requires: hdf5-devel
|
|
|
|
|
Requires: SuperLU-devel
|
|
|
|
|
|
|
|
|
|
%if %{?fedora}
|
|
|
|
|
Requires: flexiblas-devel
|
|
|
|
|
%else
|
|
|
|
|
Requires: atlas-devel
|
|
|
|
|
Requires: lapack-devel
|
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
|
Requires: openblas-devel
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|