Build against Flexiblas in EPEL9 (rhbz#2257325)

epel9
Antonio Trande 9 months ago
parent 90b2e5503e
commit 33cb744e8c

@ -2,9 +2,9 @@
Name: SuperLU
Version: 6.0.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Subroutines to solve sparse linear systems
License: BSD and GPLv2+
License: BSD-2-Clause and GPL-2.0-or-later
URL: https://portal.nersc.gov/project/sparse/superlu/
Source0: https://github.com/xiaoyeli/superlu/archive/v%{version}/%{genname}-%{version}.tar.gz
@ -20,7 +20,7 @@ Patch2: %{name}-c99.patch
Patch3: %{name}-%{version}-Update_prototypes_of_BLAS_routines.patch
%if 0%{?fedora} || 0%{?rhel} > 9
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: pkgconfig(flexiblas)
%else
%ifarch %{openblas_arches}
@ -90,7 +90,7 @@ sed -e 's|-O0|-O2|g' -i SRC/CMakeLists.txt
-Denable_internal_blaslib:BOOL=NO \
-DXSDK_ENABLE_Fortran:BOOL=OFF \
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="%{__global_fflags}" \
%if 0%{?fedora} || 0%{?rhel} > 9
%if 0%{?fedora} || 0%{?rhel} >= 9
-DTPL_BLAS_LIBRARIES="`pkg-config --libs flexiblas`" \
%else
-DTPL_BLAS_LIBRARIES=-lopenblas \
@ -126,6 +126,9 @@ sed -e 's|-O0|-O2|g' -i SRC/CMakeLists.txt
%doc DOC
%changelog
* Wed Aug 09 2023 Antonio Trande <sagitter@fedoraproject.org> - 6.0.1-1
- Rebuild against Flexiblas on EPEL9 (rhbz#2257325)
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

Loading…
Cancel
Save