import openblas-0.3.15-3.el8

This commit is contained in:
CentOS Sources 2021-11-16 04:21:20 +00:00 committed by Stepan Oksanichenko
parent c8f5042ddc
commit f025568eca

View File

@ -18,7 +18,7 @@
Name: openblas Name: openblas
Version: 0.3.15 Version: 0.3.15
Release: 2%{?dist} Release: 3%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2 Summary: An optimized BLAS library based on GotoBLAS2
Group: Development/Libraries Group: Development/Libraries
License: BSD License: BSD
@ -431,6 +431,9 @@ make -C openmp64_ $TARGET USE_THREAD=1 USE_OPENMP=1 FC=gfortran CC=gcc COMMON_
%endif %endif
%install %install
# Enable gcc-toolset-11
source scl_source enable gcc-toolset-11
rm -rf %{buildroot} rm -rf %{buildroot}
# Install serial library and headers # Install serial library and headers
make -C serial USE_THREAD=0 PREFIX=%{buildroot} OPENBLAS_LIBRARY_DIR=%{buildroot}%{_libdir} OPENBLAS_INCLUDE_DIR=%{buildroot}%{_includedir}/%name OPENBLAS_BINARY_DIR=%{buildroot}%{_bindir} OPENBLAS_CMAKE_DIR=%{buildroot}%{_libdir}/cmake install make -C serial USE_THREAD=0 PREFIX=%{buildroot} OPENBLAS_LIBRARY_DIR=%{buildroot}%{_libdir} OPENBLAS_INCLUDE_DIR=%{buildroot}%{_includedir}/%name OPENBLAS_BINARY_DIR=%{buildroot}%{_bindir} OPENBLAS_CMAKE_DIR=%{buildroot}%{_libdir}/cmake install
@ -674,6 +677,11 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%endif %endif
%changelog %changelog
* Fri Nov 12 2021 Nikola Forró <nforro@redhat.com> - 0.3.15-3
- Fix missing header files in openblas-devel subpackage by enabling
gcc-toolset-11 in %%install as well
related: #1983218
* Thu Oct 21 2021 Nikola Forró <nforro@redhat.com> - 0.3.15-2 * Thu Oct 21 2021 Nikola Forró <nforro@redhat.com> - 0.3.15-2
- Enable dynamic cpu detection on all supported architectures - Enable dynamic cpu detection on all supported architectures
related: #1983218 related: #1983218