Script 'mail_helper' called by obssrc
Hello community,

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

Package is "llvm15"

Mon Jul 14 10:51:22 2025 rev:19 rq:1292354 version:15.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm15/llvm15.changes    2025-07-02 
12:13:38.489058761 +0200
+++ /work/SRC/openSUSE:Factory/.llvm15.new.7373/llvm15.changes  2025-07-14 
10:56:38.488916858 +0200
@@ -1,0 +2,6 @@
+Fri Jul 11 05:41:04 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:
------------------
++++++ llvm15.spec ++++++
--- /var/tmp/diff_new_pack.b2pKmj/_old  2025-07-14 10:56:40.184987168 +0200
+++ /var/tmp/diff_new_pack.b2pKmj/_new  2025-07-14 10:56:40.188987334 +0200
@@ -104,7 +104,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" \
@@ -375,6 +375,8 @@
 Patch17:        llvm-suse-implicit-gnu.patch
 # PATCH-FIX-UPSTREAM: Don't implicitly add RUNPATHs to openmp executable. 
(boo#1206837)
 Patch18:        openmp-drop-rpath.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
 Patch22:        llvm-better-detect-64bit-atomics-support.patch
@@ -919,6 +921,7 @@
 
 %if %{with openmp}
 mv openmp-%{_version}.src  projects/openmp
+%patch -P 19 -p1
 %endif
 
 %if %{with libcxx}

++++++ reproducible.patch ++++++
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Fri, 11 Jul 2025 08:26:10 +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.
---
 
Index: openmp-15.0.7.src/docs/conf.py
===================================================================
--- a/projects/openmp/docs/conf.py
+++ b/projects/openmp/docs/conf.py
@@ -12,7 +12,6 @@
 # serve to show the default.
 
 import sys, os
-from datetime import date
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -42,7 +41,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'LLVM/OpenMP'
-copyright = u'2013-%d, LLVM/OpenMP' % date.today().year
+copyright = u'2013-%d, LLVM/OpenMP' % 2023
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
Index: openmp-15.0.7.src/runtime/tools/message-converter.pl
===================================================================
--- a/projects/openmp/runtime/tools/message-converter.pl
+++ b/projects/openmp/runtime/tools/message-converter.pl
@@ -50,7 +50,7 @@ sub _generate_comment($$$) {
     my $bulk =
         $open . " Do not edit this file! " . $close . "\n" .
         $open . " The file was generated from " . get_file( $data->{ "%meta" 
}->{ source } ) .
-            " by " . $tool . " on " . localtime() . ". " . $close . "\n";
+            " by " . $tool . ". " . $close . "\n";
     return $bulk;
 
 }; # sub _generate_comment

Reply via email to