Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package llvm19 for openSUSE:Factory checked 
in at 2025-07-14 10:50:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm19 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm19.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm19"

Mon Jul 14 10:50:39 2025 rev:12 rq:1292275 version:19.1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm19/llvm19.changes    2025-05-26 
18:40:42.064436670 +0200
+++ /work/SRC/openSUSE:Factory/.llvm19.new.7373/llvm19.changes  2025-07-14 
10:55:45.726731741 +0200
@@ -1,0 +2,6 @@
+Fri Jul 11 12:38:49 UTC 2025 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add reproducible.patch to make libomp.so reproducible (boo#1199076)
+- Replace usage of %jobs for reproducible builds (boo#1237231)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

----------(New B)----------
  New:
- Add reproducible.patch to make libomp.so reproducible (boo#1199076)
- Replace usage of %jobs for reproducible builds (boo#1237231)
----------(New E)----------

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

Other differences:
------------------
++++++ llvm19.spec ++++++
--- /var/tmp/diff_new_pack.sZ8U9S/_old  2025-07-14 10:55:48.954865422 +0200
+++ /var/tmp/diff_new_pack.sZ8U9S/_new  2025-07-14 10:55:48.954865422 +0200
@@ -132,7 +132,7 @@
 # Set max_<type>_jobs so that every job of the given type has at least the
 # given amount of memory.
 %define set_jobs() \
-    max_%{1}_jobs="%{?jobs:%{jobs}}" \
+    max_%{1}_jobs="$(echo %{?_smp_mflags} | cut -c 3-)" \
     if test -n "$max_%{1}_jobs" -a "$max_%{1}_jobs" -gt 1 ; then \
         max_jobs="$(($avail_mem / %2))" \
         test "$max_%{1}_jobs" -gt "$max_jobs" && max_%{1}_jobs="$max_jobs" && 
echo "Warning: Reducing number of %{1} jobs to $max_jobs because of memory 
limits" \
@@ -430,6 +430,8 @@
 Patch16:        llvm-workaround-superfluous-branches.patch
 # PATCH-FIX-UPSTREAM: Recognize <arch>-suse-linux as implicitly GNU. 
Discussion at https://reviews.llvm.org/D110900.
 Patch17:        llvm-suse-implicit-gnu.patch
+# PATCH-FIX-UPSTREAM: make libomp reproducible (boo#1199076)
+Patch19:        reproducible.patch
 Patch20:        llvm_build_tablegen_component_as_shared_library.patch
 Patch21:        tests-use-python3.patch
 Patch24:        opt-viewer-Find-style-css-in-usr-share.patch
@@ -957,6 +959,7 @@
 
 %if %{with openmp}
 mv openmp-%{_version}.src projects/openmp
+%patch -P 19 -p1
 %endif
 
 %if %{with libcxx}
@@ -1088,12 +1091,13 @@
 %if %{with thin_lto} && %{with use_lld}
 %global lld_ldflag --ld-path=%{sourcedir}/stage1/bin/ld.lld
 %ifarch %{arm} i586 ppc
-%if %{jobs} > 8
-%global lto_limit_threads -Wl,--thinlto-jobs=8
-%endif
+jobs=$(echo %{?_smp_mflags} | cut -c 3-)
+if [ "$jobs" -gt 8 ] ; then
+    lto_limit_threads=-Wl,--thinlto-jobs=8
+fi
 %endif
 %endif
-%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} %{?lto_limit_threads}
+%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} ${lto_limit_threads}
 # The build occasionally uses tools linking against previously built
 # libraries (mostly libLLVM.so), but we don't want to set RUNPATHs.
 export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}












++++++ reproducible.patch ++++++
>From d11da8017ba6e7bb925a8997b7c488243a26a537 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Thu, 3 Jul 2025 07:50:30 +0200
Subject: [PATCH] Drop timestamp in generated source code

Fixes #72206

This helps reproducible builds of libomp.so
probably because LLVM's LTO computed a hash of inputs
to generate its symbol names.

This patch was done while working on reproducible builds for openSUSE.
---
 openmp/runtime/tools/message-converter.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/openmp/runtime/tools/message-converter.py 
b/openmp/runtime/tools/message-converter.py
index a493d64c1692d..5e2aeba6c99d6 100644
--- a/projects/openmp/runtime/tools/message-converter.py
+++ b/projects/openmp/runtime/tools/message-converter.py
@@ -11,7 +11,6 @@
 #
 
 import argparse
-import datetime
 import os
 import platform
 import re
@@ -188,11 +187,10 @@ def insert_header(f, data, commentChar="//"):
     f.write(
         "{0} Do not edit this file! {0}\n"
         "{0} The file was generated from"
-        " {1} by {2} on {3}. {0}\n\n".format(
+        " {1} by {2}. {0}\n\n".format(
             commentChar,
             os.path.basename(data.filename),
             os.path.basename(__file__),
-            datetime.datetime.now().ctime(),
         )
     )
 

Reply via email to