| |
@@ -11,12 +11,16 @@
|
| |
%endif
|
| |
%endif
|
| |
|
| |
+ %if 0%{?fedora} >= 33
|
| |
+ %bcond_without flexiblas
|
| |
+ %endif
|
| |
+
|
| |
# We are linking FORTRAN symbols. Thus we cannot link --as-needed.
|
| |
%undefine _ld_as_needed
|
| |
|
| |
Name: arpack
|
| |
Version: 3.7.0
|
| |
- Release: 7%{dist}
|
| |
+ Release: 8%{dist}
|
| |
Summary: Fortran 77 subroutines for solving large scale eigenvalue problems
|
| |
|
| |
License: BSD
|
| |
@@ -29,11 +33,15 @@
|
| |
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: gcc-gfortran
|
| |
+ %if %{with flexiblas}
|
| |
+ BuildRequires: pkgconfig(flexiblas)
|
| |
+ %else
|
| |
%if %{with atlas}
|
| |
BuildRequires: atlas-devel
|
| |
%else
|
| |
BuildRequires: openblas-devel
|
| |
%endif
|
| |
+ %endif
|
| |
BuildRequires: libtool >= 2.4.2
|
| |
Provides: arpack-ng = %{version}-%{release}
|
| |
Provides: arpack-ng%{?_isa} = %{version}-%{release}
|
| |
@@ -97,6 +105,9 @@
|
| |
|
| |
|
| |
%build
|
| |
+ %if %{with flexiblas}
|
| |
+ %global blaslib -lflexiblas
|
| |
+ %else
|
| |
%if %{with atlas}
|
| |
%if 0%{?fedora} || 0%{?rhel} >= 7
|
| |
%global blaslib -L%{_libdir}/atlas -ltatlas
|
| |
@@ -106,6 +117,7 @@
|
| |
%else
|
| |
%global blaslib -lopenblasp
|
| |
%endif
|
| |
+ %endif
|
| |
pushd src
|
| |
%configure --enable-shared --enable-static \
|
| |
--with-blas="%{blaslib}" \
|
| |
@@ -183,6 +195,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Fri Aug 07 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.7.0-8
|
| |
+ - https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
|
| |
+
|
| |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-7
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |
This PR is part of a F33 System-Wide Change Proposal that aims to set FlexiBLAS
as the default BLAS/LAPACK manager for all consumers of these APIs. For further
information, see https://fedoraproject.org/wiki/Changes/FlexiBLAS_as_BLAS/LAPACK_manager
You'll find a successful scratch build for this PR in
https://koji.fedoraproject.org/koji/taskinfo?taskID=47823482
I kindly ask you to merge this PR and build the package in rawhide. Please,
report any issues you may found in https://bugzilla.redhat.com/show_bug.cgi?id=1860504
Note that CI build failures may happen for aarch64 due to
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/FNOL635TXCZ2AUEJ7VS6GZHLMPTHMYWO/,
nothing to do with this PR.