|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: armadillo
|
|
|
|
Name: armadillo
|
|
|
|
Version: 10.5.3
|
|
|
|
Version: 10.6.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast C++ matrix library with syntax similar to MATLAB and Octave
|
|
|
|
Summary: Fast C++ matrix library with syntax similar to MATLAB and Octave
|
|
|
|
|
|
|
|
|
|
|
@ -7,27 +7,27 @@ License: ASL 2.0
|
|
|
|
URL: http://arma.sourceforge.net/
|
|
|
|
URL: http://arma.sourceforge.net/
|
|
|
|
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
|
|
|
|
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
%if (0%{?rhel} || (0%{?fedora} && 0%{?fedora} < 33))
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
BuildRequires: cmake
|
|
|
|
%endif
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: arpack-devel
|
|
|
|
|
|
|
|
BuildRequires: hdf5-devel
|
|
|
|
|
|
|
|
BuildRequires: SuperLU-devel
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 32
|
|
|
|
# flexiblas is only available on Fedora, for EPEL replace it by atlas, lapack and openblas
|
|
|
|
|
|
|
|
%if %{?fedora}
|
|
|
|
%global extra_options -DALLOW_FLEXIBLAS_LINUX=ON
|
|
|
|
%global extra_options -DALLOW_FLEXIBLAS_LINUX=ON
|
|
|
|
BuildRequires: flexiblas-devel
|
|
|
|
BuildRequires: flexiblas-devel
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
%global extra_options %{nil}
|
|
|
|
%global extra_options %{nil}
|
|
|
|
%endif
|
|
|
|
BuildRequires: atlas-devel
|
|
|
|
|
|
|
|
BuildRequires: lapack-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
BuildRequires: cmake, make
|
|
|
|
|
|
|
|
BuildRequires: lapack-devel, arpack-devel
|
|
|
|
|
|
|
|
BuildRequires: hdf5-devel
|
|
|
|
|
|
|
|
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
|
|
|
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64}
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
BuildRequires: openblas-devel
|
|
|
|
BuildRequires: openblas-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: SuperLU-devel atlas-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
@ -48,12 +48,20 @@ than another language like Matlab or Octave.
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development headers and documentation for the Armadillo C++ library
|
|
|
|
Summary: Development headers and documentation for the Armadillo C++ library
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: lapack-devel, arpack-devel, libstdc++-devel
|
|
|
|
Requires: libstdc++-devel
|
|
|
|
|
|
|
|
Requires: arpack-devel
|
|
|
|
Requires: hdf5-devel
|
|
|
|
Requires: hdf5-devel
|
|
|
|
|
|
|
|
Requires: SuperLU-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{?fedora}
|
|
|
|
|
|
|
|
Requires: flexiblas-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
Requires: atlas-devel
|
|
|
|
|
|
|
|
Requires: lapack-devel
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
%ifarch %{openblas_arches}
|
|
|
|
Requires: openblas-devel
|
|
|
|
Requires: openblas-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Requires: SuperLU-devel atlas-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
@ -115,6 +123,11 @@ make -C "%{_vpath_builddir}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jul 15 2021 José Matos <jamatos@fedoraproject.org> - 10.6.0-1
|
|
|
|
|
|
|
|
- update to 10.6.0
|
|
|
|
|
|
|
|
- BR flexiblas for Fedora and lapack, openblas and atlas for EPEL
|
|
|
|
|
|
|
|
- adapt armadillo-devel accordingly
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 7 2021 José Matos <jamatos@fedoraproject.org> - 10.5.3-1
|
|
|
|
* Wed Jul 7 2021 José Matos <jamatos@fedoraproject.org> - 10.5.3-1
|
|
|
|
- update to 10.5.3
|
|
|
|
- update to 10.5.3
|
|
|
|
|
|
|
|
|
|
|
|