|
|
7e40e3 |
%bcond_without system_lapack
|
|
|
7e40e3 |
%bcond_without atlas
|
|
|
7e40e3 |
%bcond_without blis
|
|
|
7e40e3 |
%bcond_without openblas
|
|
|
7e40e3 |
%undefine _ld_as_needed
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
%global default_backend openblas-openmp
|
|
|
7e40e3 |
%else
|
|
|
7e40e3 |
%global default_backend netlib
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%global default_backend64 %{default_backend}64
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%global major_version 3
|
|
|
7e40e3 |
%global minor_version 0
|
|
|
7e40e3 |
%global patch_version 4
|
|
|
7e40e3 |
|
|
|
7e40e3 |
Name: flexiblas
|
|
|
7e40e3 |
Version: %{major_version}.%{minor_version}.%{patch_version}
|
|
|
7e40e3 |
Release: 8%{?dist}
|
|
|
7e40e3 |
Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends
|
|
|
7e40e3 |
|
|
|
7e40e3 |
# GPLv3 with an exception for the BLAS/LAPACK interface
|
|
|
7e40e3 |
# https://www.gnu.org/licenses/gpl-faq.en.html#LinkingOverControlledInterface
|
|
|
7e40e3 |
# libcscutils/ is LGPLv2+
|
|
|
7e40e3 |
# contributed/ and test/ are BSD
|
|
|
7e40e3 |
License: GPLv3 with exceptions and LGPLv2+ and BSD
|
|
|
7e40e3 |
URL: https://www.mpi-magdeburg.mpg.de/projects/%{name}
|
|
|
7e40e3 |
Source0: https://csc.mpi-magdeburg.mpg.de/mpcsc/software/%{name}/%{name}-%{version}.tar.xz
|
|
|
7e40e3 |
|
|
|
7e40e3 |
Patch1: flexiblas-3.0.4-annocheck.patch
|
|
|
7e40e3 |
|
|
|
7e40e3 |
BuildRequires: make, cmake, python
|
|
|
7e40e3 |
BuildRequires: gcc-fortran, gcc-c++
|
|
|
7e40e3 |
%if %{with system_lapack}
|
|
|
7e40e3 |
BuildRequires: blas-static, lapack-static
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%if %{with atlas}
|
|
|
7e40e3 |
BuildRequires: atlas-devel
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%if %{with blis}
|
|
|
7e40e3 |
BuildRequires: blis-devel
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
BuildRequires: openblas-devel
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%global _description %{expand:
|
|
|
7e40e3 |
FlexiBLAS is a wrapper library that enables the exchange of the BLAS and
|
|
|
7e40e3 |
LAPACK implementation used by a program without recompiling or relinking it.
|
|
|
7e40e3 |
}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description %_description
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package netlib
|
|
|
7e40e3 |
Summary: FlexiBLAS wrapper library
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
Requires: %{name}-%{default_backend}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description netlib %_description
|
|
|
7e40e3 |
This package contains the wrapper library with 32-bit integer support.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package hook-profile
|
|
|
7e40e3 |
Summary: FlexiBLAS profile hook plugin
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
Requires: %{name}-netlib%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description hook-profile %_description
|
|
|
7e40e3 |
This package contains a plugin that enables profiling support.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package devel
|
|
|
7e40e3 |
Summary: Development headers and libraries for FlexiBLAS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description devel %_description
|
|
|
7e40e3 |
This package contains the development headers and libraries.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with atlas}
|
|
|
7e40e3 |
%package atlas
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for ATLAS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description atlas %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the ATLAS project.
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with blis}
|
|
|
7e40e3 |
%package blis-serial
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-serial %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the sequential library compiled
|
|
|
7e40e3 |
with a 32-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package blis-openmp
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-openmp %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
OpenMP support with a 32-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package blis-threads
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-threads %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
threading support with a 32-integer interface.
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
%package openblas-serial
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-serial %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the sequential library compiled
|
|
|
7e40e3 |
with a 32-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package openblas-openmp
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-openmp %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
OpenMP support with a 32-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package openblas-threads
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-threads %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
threading support with a 32-integer interface.
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
%package netlib64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrapper library (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
Requires: %{name}-%{default_backend64}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description netlib64 %_description
|
|
|
7e40e3 |
This package contains the wrapper library with 64-bit integer support.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package hook-profile64
|
|
|
7e40e3 |
Summary: FlexiBLAS profile hook plugin (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
Requires: %{name}-netlib64%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description hook-profile64 %_description
|
|
|
7e40e3 |
This package contains a plugin that enables profiling support.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with blis}
|
|
|
7e40e3 |
%package blis-serial64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-serial64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the sequential library compiled
|
|
|
7e40e3 |
with a 64-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package blis-openmp64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-openmp64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
OpenMP support with a 64-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package blis-threads64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for BLIS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description blis-threads64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
threading support with a 64-integer interface.
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
%package openblas-serial64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-serial64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the sequential library compiled
|
|
|
7e40e3 |
with a 64-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package openblas-openmp64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-openmp64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
OpenMP support with a 64-integer interface.
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%package openblas-threads64
|
|
|
7e40e3 |
Summary: FlexiBLAS wrappers for OpenBLAS (64-bit)
|
|
|
7e40e3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%description openblas-threads64 %_description
|
|
|
7e40e3 |
This package contains FlexiBLAS wrappers for the library compiled with
|
|
|
7e40e3 |
threading support with a 64-integer interface.
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%prep
|
|
|
7e40e3 |
%setup -q
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%patch1 -p1 -b .annocheck
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%build
|
|
|
7e40e3 |
%if %{with system_lapack}
|
|
|
7e40e3 |
rm -rf contributed
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%cmake -B build \
|
|
|
7e40e3 |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
7e40e3 |
%if %{with system_lapack}
|
|
|
7e40e3 |
-DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas.a \
|
|
|
7e40e3 |
-DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic.a \
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
-DINTEGER8=OFF \
|
|
|
7e40e3 |
-DTESTS=ON
|
|
|
7e40e3 |
%make_build -C build
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
%cmake -B build64 \
|
|
|
7e40e3 |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
7e40e3 |
%if %{with system_lapack}
|
|
|
7e40e3 |
-DSYS_BLAS_LIBRARY=$(pkg-config --variable=libdir blas)/libblas64.a \
|
|
|
7e40e3 |
-DSYS_LAPACK_LIBRARY=$(pkg-config --variable=libdir lapack)/liblapack_pic64.a \
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
-DINTEGER8=ON \
|
|
|
7e40e3 |
-DTESTS=ON
|
|
|
7e40e3 |
%make_build -C build64
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%install
|
|
|
7e40e3 |
%make_install -C build
|
|
|
7e40e3 |
echo "default = %{default_backend}" > %{buildroot}%{_sysconfdir}/%{name}rc
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
%make_install -C build64
|
|
|
7e40e3 |
echo "default = %{default_backend64}" > %{buildroot}%{_sysconfdir}/%{name}64rc
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
# remove dummy hook
|
|
|
7e40e3 |
rm -f %{buildroot}%{_libdir}/%{name}*/lib%{name}_hook_dummy.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
# set Fedora-friendly names
|
|
|
7e40e3 |
rename -- serial -serial %{buildroot}%{_libdir}/%{name}*/* || true
|
|
|
7e40e3 |
rename -- openmp -openmp %{buildroot}%{_libdir}/%{name}*/* || true
|
|
|
7e40e3 |
rename -- pthread -threads %{buildroot}%{_libdir}/%{name}*/* || true
|
|
|
7e40e3 |
rename NETLIB netlib %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename ATLAS atlas %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename Blis blis %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename OpenBLAS openblas %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename -- Serial -serial %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename -- OpenMP -openmp %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
rename -- PThread -threads %{buildroot}%{_sysconfdir}/%{name}*.d/* || true
|
|
|
7e40e3 |
find %{buildroot}%{_sysconfdir}/%{name}*.d/* -type f \
|
|
|
7e40e3 |
-exec sed -i 's NETLIB netlib gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's ATLAS atlas gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's Blis blis gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's OpenBLAS openblas gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's Serial -serial gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's OpenMP -openmp gI' {} \;\
|
|
|
7e40e3 |
-exec sed -i 's PThread -threads gI' {} \;
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%check
|
|
|
7e40e3 |
export FLEXIBLAS_TEST=%{buildroot}%{_libdir}/%{name}/lib%{name}_%{default_backend}.so
|
|
|
7e40e3 |
make -C build test
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
export FLEXIBLAS64_TEST=%{buildroot}%{_libdir}/%{name}64/lib%{name}_%{default_backend64}.so
|
|
|
7e40e3 |
make -C build64 test
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files
|
|
|
7e40e3 |
%license COPYING COPYING.NETLIB
|
|
|
7e40e3 |
%doc ISSUES.md README.md CHANGELOG
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files netlib
|
|
|
7e40e3 |
%config(noreplace) %{_sysconfdir}/%{name}rc
|
|
|
7e40e3 |
%dir %{_sysconfdir}/%{name}rc.d
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/netlib.conf
|
|
|
7e40e3 |
%{_bindir}/%{name}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_api.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_api.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_mgmt.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_mgmt.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%dir %{_libdir}/%{name}
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_fallback_lapack.so
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_netlib.so
|
|
|
7e40e3 |
%{_mandir}/man1/%{name}.1*
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files hook-profile
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_hook_profile.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files devel
|
|
|
7e40e3 |
%{_includedir}/%{name}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}.so
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_api.so
|
|
|
7e40e3 |
%{_libdir}/lib%{name}_mgmt.so
|
|
|
7e40e3 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
7e40e3 |
%{_libdir}/pkgconfig/%{name}_api.pc
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
%{_includedir}/%{name}64
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64.so
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_api.so
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_mgmt.so
|
|
|
7e40e3 |
%{_libdir}/pkgconfig/%{name}64.pc
|
|
|
7e40e3 |
%{_libdir}/pkgconfig/%{name}64_api.pc
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%{_mandir}/man3/%{name}_*
|
|
|
7e40e3 |
%{_mandir}/man7/%{name}-api.7*
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with atlas}
|
|
|
7e40e3 |
%files atlas
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/atlas.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_atlas.so
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with blis}
|
|
|
7e40e3 |
%files blis-serial
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/blis-serial.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_blis-serial.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files blis-openmp
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/blis-openmp.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_blis-openmp.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files blis-threads
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/blis-threads.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_blis-threads.so
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
%files openblas-serial
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/openblas-serial.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_openblas-serial.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files openblas-openmp
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/openblas-openmp.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_openblas-openmp.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files openblas-threads
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}rc.d/openblas-threads.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}/lib%{name}_openblas-threads.so
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if 0%{?__isa_bits} == 64
|
|
|
7e40e3 |
%files netlib64
|
|
|
7e40e3 |
%config(noreplace) %{_sysconfdir}/%{name}64rc
|
|
|
7e40e3 |
%dir %{_sysconfdir}/%{name}64rc.d
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/netlib.conf
|
|
|
7e40e3 |
%{_bindir}/%{name}64
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_api.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_api.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_mgmt.so.%{major_version}
|
|
|
7e40e3 |
%{_libdir}/lib%{name}64_mgmt.so.%{major_version}.%{minor_version}
|
|
|
7e40e3 |
%dir %{_libdir}/%{name}64
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_fallback_lapack.so
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_netlib.so
|
|
|
7e40e3 |
%{_mandir}/man1/%{name}64.1*
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files hook-profile64
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_hook_profile.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with blis}
|
|
|
7e40e3 |
%files blis-serial64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/blis-serial64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_blis-serial64.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files blis-openmp64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/blis-openmp64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_blis-openmp64.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files blis-threads64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/blis-threads64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_blis-threads64.so
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%if %{with openblas}
|
|
|
7e40e3 |
%files openblas-serial64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/openblas-serial64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_openblas-serial64.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files openblas-openmp64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/openblas-openmp64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_openblas-openmp64.so
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%files openblas-threads64
|
|
|
7e40e3 |
%{_sysconfdir}/%{name}64rc.d/openblas-threads64.conf
|
|
|
7e40e3 |
%{_libdir}/%{name}64/lib%{name}_openblas-threads64.so
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
%endif
|
|
|
7e40e3 |
|
|
|
7e40e3 |
%changelog
|
|
|
7e40e3 |
* Mon Feb 28 2022 Matej Mužila <mmuzila@redhat.com> - 3.0.4-8
|
|
|
7e40e3 |
- Don't use --as-needed link option
|
|
|
7e40e3 |
Related: rhbz#2044859
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Wed Feb 23 2022 Matej Mužila <mmuzila@redhat.com> - 3.0.4-7
|
|
|
7e40e3 |
- Add gating.yaml
|
|
|
7e40e3 |
Related: rhbz#2044859
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Tue Feb 15 2022 Matej Mužila <mmuzila@redhat.com> - 3.0.4-6
|
|
|
7e40e3 |
- Fix annocheck bind-now problems
|
|
|
7e40e3 |
Resolves: rhbz#2044859
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.4-5
|
|
|
7e40e3 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
7e40e3 |
Related: rhbz#1991688
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.4-4
|
|
|
7e40e3 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-3
|
|
|
7e40e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Mon Nov 30 2020 Iñaki Úcar <iucar@fedoraproject.org> 3.0.4-2
|
|
|
7e40e3 |
- https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Thu Oct 22 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.4-1
|
|
|
7e40e3 |
- Update to 3.0.4, fixes #1889069
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Wed Oct 21 2020 Kalev Lember <klember@redhat.com> - 3.0.3-2
|
|
|
7e40e3 |
- Use pkg-config for getting blas and lapack directories
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Fri Aug 28 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.3-1
|
|
|
7e40e3 |
- Update to 3.0.3, fixes ScaLAPACK issues
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
7e40e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Thu Jul 23 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.2-1
|
|
|
7e40e3 |
- Update to 3.0.2
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Tue Jul 21 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.1-1
|
|
|
7e40e3 |
- Update to 3.0.1, license updated
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Fri Jul 03 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.0-5
|
|
|
7e40e3 |
- Change default backend to openblas-openmp
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Wed Jul 01 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.0-4
|
|
|
7e40e3 |
- Fix a bug setting the default backend
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Wed Jul 01 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.0-3
|
|
|
7e40e3 |
- Move man3 pages to devel subpackage
|
|
|
7e40e3 |
- Remove dummy hook (only useful for FlexiBLAS development)
|
|
|
7e40e3 |
- Move profile hook to a separate package (not needed for standard usage)
|
|
|
7e40e3 |
- Enable Blis64 on s390x again, #1852549 fixed in rawhide
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Tue Jun 30 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.0-2
|
|
|
7e40e3 |
- Own provided directories
|
|
|
7e40e3 |
- More robust file renaming
|
|
|
7e40e3 |
- Rename wrapper(64) subpackages to netlib(64)
|
|
|
7e40e3 |
- Conditionalize all external libraries, as well as the default
|
|
|
7e40e3 |
- Disable Blis64 on s390x, which is currently unavailable
|
|
|
7e40e3 |
|
|
|
7e40e3 |
* Mon Jun 29 2020 Iñaki Úcar <iucar@fedoraproject.org> - 3.0.0-1
|
|
|
7e40e3 |
- Initial packaging for Fedora
|