Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cmake for openSUSE:Factory checked 
in at 2022-04-10 19:05:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmake (Old)
 and      /work/SRC/openSUSE:Factory/.cmake.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmake"

Sun Apr 10 19:05:13 2022 rev:214 rq:967822 version:3.23.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmake/cmake.changes      2022-04-02 
18:19:48.286770645 +0200
+++ /work/SRC/openSUSE:Factory/.cmake.new.1900/cmake.changes    2022-04-10 
19:05:25.514485779 +0200
@@ -1,0 +2,6 @@
+Fri Apr  8 11:48:04 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- speed up build of :mini flavor by using external zstd (part of 0-Bootstrap)
+  and turn off LTO 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cmake.spec ++++++
--- /var/tmp/diff_new_pack.0DcGIg/_old  2022-04-10 19:05:26.146478782 +0200
+++ /var/tmp/diff_new_pack.0DcGIg/_new  2022-04-10 19:05:26.150478738 +0200
@@ -75,6 +75,7 @@
 %if %{suse_version} > 1500
 BuildRequires:  pkgconfig(libuv) >= 1.28
 %endif
+BuildRequires:  pkgconfig(libzstd)
 BuildRequires:  pkgconfig(ncurses)
 BuildRequires:  pkgconfig(zlib)
 %if "%{flavor}" == ""
@@ -94,7 +95,6 @@
 BuildRequires:  pkgconfig(jsoncpp) >= 1.4.1
 BuildRequires:  pkgconfig(libarchive) >= 3.3.3
 BuildRequires:  pkgconfig(libcurl)
-BuildRequires:  pkgconfig(libzstd)
 %endif
 %if %{with gui}
 BuildRequires:  python3-Sphinx
@@ -136,10 +136,15 @@
 %autosetup -p1 -n cmake-%{version}
 
 %build
-cp %{SOURCE99} .
-%if "%{flavor}" != ""
+cp -p %{SOURCE99} .
+%if %{with mini}
+# this is serial, so it takes too much time for the mini package
+%define _find_debuginfo_dwz_opts %{nil}
+%define _lto_cflags %{nil}
+%endif
 export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
+export CXXFLAGS="$CFLAGS"
+%if "%{flavor}" != ""
 # This is not autotools configure
 ./configure \
     --prefix=%{_prefix} \
@@ -152,7 +157,6 @@
     --no-system-nghttp2 \
     --no-system-jsoncpp \
     --no-system-libarchive \
-    --no-system-zstd \
 %endif
     --parallel=0%{jobs} \
     --verbose \

Reply via email to