This commit is contained in:
parent
d04a718ce4
commit
d1f802a32a
15
eigen3.spec
15
eigen3.spec
@ -4,9 +4,15 @@
|
||||
# debuginfo package for the empty main package.
|
||||
%global debug_package %{nil}
|
||||
|
||||
%if 0%{?fedora} >= 33
|
||||
%global blaslib flexiblas
|
||||
%else
|
||||
%global blaslib openblas
|
||||
%endif
|
||||
|
||||
Name: eigen3
|
||||
Version: 3.3.7
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: A lightweight C++ template library for vector and matrix math
|
||||
|
||||
License: MPLv2.0 and LGPLv2+ and BSD
|
||||
@ -22,7 +28,7 @@ Patch1: eigen_pkgconfig.patch
|
||||
# Fix the include paths in the new Eigen3Config.cmake file
|
||||
Patch2: eigen3-3.3.1-fixcmake.patch
|
||||
|
||||
BuildRequires: atlas-devel
|
||||
BuildRequires: %{blaslib}-devel
|
||||
BuildRequires: fftw-devel
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: gmp-devel
|
||||
@ -74,7 +80,7 @@ Developer documentation for Eigen.
|
||||
%build
|
||||
%cmake \
|
||||
-DINCLUDE_INSTALL_DIR=%{_includedir}/eigen3 \
|
||||
-DBLAS_LIBRARIES="cblas" \
|
||||
-DBLAS_LIBRARIES="-l%{blaslib}" \
|
||||
-DSUPERLU_INCLUDES=%{_includedir}/SuperLU \
|
||||
-DSCOTCH_INCLUDES=%{_includedir} -DSCOTCH_LIBRARIES="scotch" \
|
||||
-DMETIS_INCLUDES=%{_includedir} -DMETIS_LIBRARIES="metis" \
|
||||
@ -110,6 +116,9 @@ rm -f %{_vpath_builddir}/doc/html/unsupported/installdox
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 01 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.3.7-7
|
||||
- https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
|
||||
|
||||
* Sat Aug 29 2020 Fabio Valentini <decathorpe@gmail.com> - 3.3.7-6
|
||||
- Adapt to CMake macros changes in fedora 33+.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user