From dc6f8da144c06b6e12c04437a8c65f9b59a33a66 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 28 Jul 2025 16:31:57 +0800 Subject: [PATCH] do not process static libraries when generating debuginfo (cherry picked from commit a964360b8e5ed19ba8f9b1ff20be2df931a0c74e) --- openblas.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openblas.spec b/openblas.spec index 0e44c7a..633d4a3 100644 --- a/openblas.spec +++ b/openblas.spec @@ -1,8 +1,11 @@ %bcond_with system_lapack +# ignore static lib when generating debug info +%global _find_debuginfo_opts --no-ar-files + Name: openblas Version: 0.3.30 -Release: 1 +Release: 2 Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version License: BSD-3-Clause URL: http://www.openmathlib.org/OpenBLAS/ @@ -368,6 +371,10 @@ sed -i -e 's|%{buildroot}||' "%{buildroot}%{_libdir}/pkgconfig/%{name}.pc" %{_libdir}/lib%{name}*64_.so %changelog +* Mon Jul 28 2025 Funda Wang - 0.3.30-2 +- do not process static libraries when generating debuginfo, + otherwise it will cause more than 30 hours to finish + * Fri Jun 20 2025 Funda Wang - 0.3.30-1 - update to 0.3.30 -- Gitee