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-02-28 17:38:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm19 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm19.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm19"

Fri Feb 28 17:38:11 2025 rev:8 rq:1248808 version:19.1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm19/llvm19.changes    2025-01-18 
13:17:36.444271602 +0100
+++ /work/SRC/openSUSE:Factory/.llvm19.new.19136/llvm19.changes 2025-02-28 
17:38:14.985881746 +0100
@@ -1,0 +2,5 @@
+Fri Feb 21 13:50:04 UTC 2025 - Shung-Hsi Yu <[email protected]>
+
+- Build with GCC 13 on Leap/SLES 15 (bsc#1235697)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ llvm19.spec ++++++
--- /var/tmp/diff_new_pack.hJnOhe/_old  2025-02-28 17:38:16.985965451 +0100
+++ /var/tmp/diff_new_pack.hJnOhe/_new  2025-02-28 17:38:16.985965451 +0100
@@ -72,6 +72,12 @@
 %bcond_without polly
 %bcond_without lld
 
+# Leap 15 and SLES 15 defaults to GCC 7, which does not have stable C++17 ABI.
+# See https://bugzilla.suse.com/show_bug.cgi?id=1235697
+%if 0%{?suse_version} < 1600
+%define gcc_version 13
+%endif
+
 %if %{suse_version} > 1600
 %global python_pkg python3
 %global python_bin python3
@@ -444,8 +450,8 @@
 BuildRequires:  binutils-devel >= 2.21.90
 BuildRequires:  cmake >= 3.13.4
 BuildRequires:  fdupes
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?gcc_version} >= 9
+BuildRequires:  gcc%{?gcc_version}-c++ >= 9
 BuildRequires:  libstdc++-devel
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
@@ -1009,6 +1015,8 @@
 %define build_ldflags -Wl,--no-keep-memory
 %cmake \
     -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_C_COMPILER=gcc%{?gcc_version:-%{gcc_version}} \
+    -DCMAKE_CXX_COMPILER=g++%{?gcc_version:-%{gcc_version}} \
     -DBUILD_SHARED_LIBS:BOOL=OFF \
     -DLLVM_HOST_TRIPLE=%{host_triple} \
     -DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF \

Reply via email to