Update to 3.1.2, adding support for LAPACK up to 3.10.0

This commit is contained in:
Iñaki Úcar 2022-01-17 21:52:10 +01:00
parent 54c1ef3e2e
commit 2ec65660cb
3 changed files with 11 additions and 7 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/flexiblas-3.0.2.tar.xz /flexiblas-3.0.2.tar.xz
/flexiblas-3.0.3.tar.xz /flexiblas-3.0.3.tar.xz
/flexiblas-3.0.4.tar.xz /flexiblas-3.0.4.tar.xz
/flexiblas-3.1.2.tar.gz

View File

@ -11,12 +11,12 @@
%global default_backend64 %{default_backend}64 %global default_backend64 %{default_backend}64
%global major_version 3 %global major_version 3
%global minor_version 0 %global minor_version 1
%global patch_version 4 %global patch_version 2
Name: flexiblas Name: flexiblas
Version: %{major_version}.%{minor_version}.%{patch_version} Version: %{major_version}.%{minor_version}.%{patch_version}
Release: 6%{?dist} Release: 1%{?dist}
Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends
# GPLv3 with an exception for the BLAS/LAPACK interface # GPLv3 with an exception for the BLAS/LAPACK interface
@ -25,7 +25,7 @@ Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends
# contributed/ and test/ are BSD # contributed/ and test/ are BSD
License: GPLv3 with exceptions and LGPLv2+ and BSD License: GPLv3 with exceptions and LGPLv2+ and BSD
URL: https://www.mpi-magdeburg.mpg.de/projects/%{name} URL: https://www.mpi-magdeburg.mpg.de/projects/%{name}
Source0: https://csc.mpi-magdeburg.mpg.de/mpcsc/software/%{name}/%{name}-%{version}.tar.xz Source0: https://github.com/mpimd-csc/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: make, cmake, python BuildRequires: make, cmake, python
BuildRequires: gcc-fortran, gcc-c++ BuildRequires: gcc-fortran, gcc-c++
@ -213,7 +213,6 @@ rm -rf contributed
%cmake -B build \ %cmake -B build \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
%if %{with system_lapack} %if %{with system_lapack}
-DLAPACK_API_VERSION=3.9.0 \
-DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas.a \ -DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas.a \
-DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic.a \ -DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic.a \
%endif %endif
@ -225,7 +224,6 @@ rm -rf contributed
%cmake -B build64 \ %cmake -B build64 \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
%if %{with system_lapack} %if %{with system_lapack}
-DLAPACK_API_VERSION=3.9.0 \
-DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas64.a \ -DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas64.a \
-DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic64.a \ -DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic64.a \
%endif %endif
@ -298,6 +296,7 @@ make -C build64 test
%{_libdir}/%{name}/lib%{name}_hook_profile.so %{_libdir}/%{name}/lib%{name}_hook_profile.so
%files devel %files devel
%{_bindir}/%{name}-config
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_libdir}/lib%{name}_api.so %{_libdir}/lib%{name}_api.so
@ -305,6 +304,7 @@ make -C build64 test
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}_api.pc %{_libdir}/pkgconfig/%{name}_api.pc
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
%{_bindir}/%{name}64-config
%{_includedir}/%{name}64 %{_includedir}/%{name}64
%{_libdir}/lib%{name}64.so %{_libdir}/lib%{name}64.so
%{_libdir}/lib%{name}64_api.so %{_libdir}/lib%{name}64_api.so
@ -399,6 +399,9 @@ make -C build64 test
%endif %endif
%changelog %changelog
* Mon Jan 17 2022 Iñaki Úcar <iucar@fedoraproject.org> - 3.1.2-1
- Update to 3.1.2, adding support for LAPACK up to 3.10.0
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-6 * Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (flexiblas-3.0.4.tar.xz) = 7ff9d3d966a27259a86067bc9e2798fe477fcdccd3cd8bbed587d56038bf508c89d3d4d8e65ac769de0eab8436c2756a18b56ae11e415c2840e0370dcb71da56 SHA512 (flexiblas-3.1.2.tar.gz) = afe09fecac85392e07c9db01b5279c52edc708138164950124accfb77672a8a533002118ebc12322a7e55f85e2d31d24e9989dc7f8a4216f43ba2f61fe5a20cd