Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zig0.14 for openSUSE:Factory checked 
in at 2026-03-03 15:32:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zig0.14 (Old)
 and      /work/SRC/openSUSE:Factory/.zig0.14.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zig0.14"

Tue Mar  3 15:32:15 2026 rev:2 rq:1336006 version:0.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/zig0.14/zig0.14.changes  2026-01-19 
18:42:02.811844214 +0100
+++ /work/SRC/openSUSE:Factory/.zig0.14.new.29461/zig0.14.changes       
2026-03-03 15:33:08.162509981 +0100
@@ -1,0 +2,21 @@
+Wed Jan 28 01:01:14 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Add bump_max_rss.patch to allow more memory while building later
+  stages
+
+-------------------------------------------------------------------
+Tue Jan 27 21:54:14 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- bump memory constraints to hopefully fix the 15.6 builds
+
+-------------------------------------------------------------------
+Tue Jan 27 21:35:58 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- cleanup macro usage
+
+-------------------------------------------------------------------
+Tue Jan 27 21:03:17 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- only use mold on platforms where we have mold
+
+-------------------------------------------------------------------

New:
----
  bump_max_rss.patch

----------(New B)----------
  New:
- Add bump_max_rss.patch to allow more memory while building later
  stages
----------(New E)----------

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

Other differences:
------------------
++++++ zig0.14.spec ++++++
--- /var/tmp/diff_new_pack.a7wzBT/_old  2026-03-03 15:33:08.842538149 +0100
+++ /var/tmp/diff_new_pack.a7wzBT/_new  2026-03-03 15:33:08.842538149 +0100
@@ -19,27 +19,29 @@
 %global version_current 0.14.1
 %global version_previous 0.13.0
 
-%define obsolete_zig_versioned() \
-Obsoletes:      %{1}0.13%{?2:-%{2}} \
-Obsoletes:      %{1}0.12%{?2:-%{2}}
-
 %global _lto_cflags %{nil}
 %global __builder   ninja
 %bcond_without  macro
 %bcond_without  test
 
+# LLVM 19 is a hard requirement
 %define clang_ver 19
+
+%define force_gcc_version 15
+
 %bcond_without clang
+%if 0%{?suse_version} >= 1600
 %ifnarch aarch64
 %bcond_without mold
 %else
 %bcond_with    mold
 %endif
+%endif
 
-%if 0%{?suse_version} > 1600
-%define force_gcc_version 15
+%if 0%{?suse_version} >= 1699
+%bcond_without has_linker_type
 %else
-%define force_gcc_version 15
+%bcond_with    has_linker_type
 %endif
 
 Name:           zig%{version_suffix}
@@ -61,6 +63,8 @@
 Patch3:         
https://gitlab.archlinux.org/archlinux/packaging/packages/zig/-/raw/main/skip-localhost-test.patch
 # to improve reproducible-builds -- https://github.com/ziglang/zig/pull/22673
 Patch4:         reproducible.patch
+# https://github.com/ziglang/zig/issues/23347 
https://github.com/ziglang/zig/pull/23254
+Patch5:         bump_max_rss.patch
 BuildRequires:  clang%{?clang_ver}
 BuildRequires:  clang%{?clang_ver}-devel
 BuildRequires:  cmake
@@ -74,7 +78,9 @@
 BuildRequires:  liburing-devel
 BuildRequires:  lld%{?clang_ver}
 BuildRequires:  llvm%{?clang_ver}-devel
+%if %{with mold}
 BuildRequires:  mold
+%endif
 BuildRequires:  ninja
 BuildRequires:  zlib-devel
 BuildRequires:  zstd
@@ -131,18 +137,10 @@
 
 %build
 %if %{without clang}
-%if 0%{?force_gcc_version}
-export CC="gcc-%{?force_gcc_version}"
-export CXX="g++-%{?force_gcc_version}"
-%endif
 export CFLAGS="%{optflags} -Wno-error=return-type"
 export CXXFLAGS="${CFLAGS}"
 %endif
 %cmake \
-%ifarch aarch64 s390x
-  -DCMAKE_BUILD_TYPE=Release \
-%endif
-  -DCMAKE_BUILD_TYPE=Release \
 %if %{with clang}
   -DCMAKE_C_COMPILER="clang-%{?clang_ver}" \
   -DCMAKE_CXX_COMPILER="clang++-%{?clang_ver}" \
@@ -152,24 +150,26 @@
   -DCMAKE_CXX_COMPILER="g++-%{?force_gcc_version}" \
 %endif
 %endif
+%if %{with has_linker_type}
 %if %{with mold}
   -DCMAKE_LINKER_TYPE=MOLD \
 %else
   -DCMAKE_LINKER_TYPE=LLD \
 %endif
+%endif
   -DZIG_SHARED_LLVM=On \
-  -DZIG_PIE:BOOL=true \
   -DZIG_USE_LLVM_CONFIG=ON \
+  -DZIG_PIE:BOOL=true \
   -DZIG_TARGET_MCPU="baseline" \
   -DZIG_TARGET_TRIPLE:STRING=native \
   -DZIG_VERSION:STRING="%{version}"
 
 # Workaround since CMAKE on Leap does not have
 # the CMAKE_LINKER_TYPE option
-%if 0%{?suse_version} > 1600
-%cmake_build
-%else
+%if %{without has_linker_type} && %{with mold}
 mold -run %cmake_build
+%else
+%cmake_build
 %endif
 
 %install

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.a7wzBT/_old  2026-03-03 15:33:08.890540138 +0100
+++ /var/tmp/diff_new_pack.a7wzBT/_new  2026-03-03 15:33:08.894540304 +0100
@@ -8,7 +8,7 @@
   <hardware>
     <jobs>6</jobs>
     <memory>
-      <size unit="G">20</size>
+      <size unit="G">32</size>
     </memory>
   </hardware>
   <overwrite>

++++++ bump_max_rss.patch ++++++
Index: zig-0.14.1/build.zig
===================================================================
--- zig-0.14.1.orig/build.zig
+++ zig-0.14.1/build.zig
@@ -703,7 +703,7 @@ fn addCompilerStep(b: *std.Build, option
 
     const exe = b.addExecutable(.{
         .name = "zig",
-        .max_rss = 7_800_000_000,
+        .max_rss = 10_800_000_000,
         .root_module = compiler_mod,
     });
     exe.stack_size = stack_size;

Reply via email to