Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2022-09-20 19:23:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openblas" Tue Sep 20 19:23:12 2022 rev:51 rq:1004663 version:0.3.20 Changes: -------- --- /work/SRC/openSUSE:Factory/openblas/openblas.changes 2022-05-12 22:58:15.936628054 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.2083/openblas.changes 2022-09-20 19:23:17.530423879 +0200 @@ -1,0 +2,8 @@ +Wed Sep 14 06:08:40 UTC 2022 - Egbert Eich <[email protected]> + +- The toolchain and 'make' in TW have been updated to handle parallel + makes spawned by gcc (for LTO optimization) properly. Thus, remove + restrictions. +- Disable lto when linking test programs to speeds up building. + +------------------------------------------------------------------- Old: ---- _constraints ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openblas.spec ++++++ --- /var/tmp/diff_new_pack.5j1APo/_old 2022-09-20 19:23:18.130425600 +0200 +++ /var/tmp/diff_new_pack.5j1APo/_new 2022-09-20 19:23:18.134425612 +0200 @@ -298,6 +298,8 @@ %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif +sed -i -e '/FLDFLAGS = \|$(CC)\|$(CXX)/s@$@ $(LDFLAGS_TESTS)@' \ + test/Makefile ctest/Makefile utest/Makefile cpp_thread_test/Makefile %if %{without hpc} cp %{SOURCE1} . @@ -317,10 +319,13 @@ %build -# Limit lto jobs to 1 - -flto=auto together with make -j<m> -# would cause a huge number of build jobs spawned in parallel +# For static libraries use -ffat-lto-objects to make sure the 'regular' +# assembler code is generated as well as the intermediate code will be +# stripped during pre-packaging post-processing. Also, set ldflags_tests +# to speed up building of tests. %if "%{?_lto_cflags}" != "" -%global _lto_cflags -flto=1 -ffat-lto-objects +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%global ldflags_tests -fno-lto %endif # disable lto for ppc64le, boo#1181733 @@ -385,6 +390,7 @@ OPENBLAS_CMAKE_DIR=%{p_cmakedir} \ PREFIX=%{p_prefix} \ %{!?with_hpc:LIBNAMESUFFIX=%flavor FC=gfortran CC=gcc%{?cc_v:-%{cc_v}} %{?cc_v:CEXTRALIB=""}} \ + %{?ldflags_tests:LDFLAGS_TESTS=%{ldflags_tests}} \ %{?with_hpc:%{?cc_v:CC=gcc-%{cc_v} CEXTRALIB=""}} %install
