Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ldc for openSUSE:Factory checked in 
at 2022-10-14 15:42:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ldc (Old)
 and      /work/SRC/openSUSE:Factory/.ldc.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ldc"

Fri Oct 14 15:42:42 2022 rev:18 rq:1010627 version:1.29.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ldc/ldc.changes  2022-05-16 18:09:58.781347950 
+0200
+++ /work/SRC/openSUSE:Factory/.ldc.new.2275/ldc.changes        2022-10-14 
15:43:59.344063652 +0200
@@ -1,0 +2,6 @@
+Fri Oct  7 14:51:48 UTC 2022 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Build against llvm14 for Tumbleweed since llvm15 is not
+  supported yet
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ldc.spec ++++++
--- /var/tmp/diff_new_pack.WuFUQ0/_old  2022-10-14 15:43:59.864064521 +0200
+++ /var/tmp/diff_new_pack.WuFUQ0/_new  2022-10-14 15:43:59.868064527 +0200
@@ -33,11 +33,16 @@
 %bcond_with ldc_tests
 
 # Dynamic compiling is not supported with LLVM >= 12
+%if 0%{?suse_version} > 1550
+# We force llvm14 on TW
+%global jit_support 0
+%else
 %if %{pkg_vcmp llvm-devel >= 12}
 %global jit_support 0
 %else
 %global jit_support 1
 %endif
+%endif
 
 # LLVM LTO is too much for 32bit ARM
 %ifarch %arm
@@ -59,8 +64,14 @@
 BuildRequires:  libconfig++-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libstdc++-devel
+%if 0%{?suse_version} > 1550
+# Cannot build with llvm15, so stick with llvm14 for now
+BuildRequires:  clang14
+BuildRequires:  llvm14-devel
+%else
 BuildRequires:  llvm-clang >= 6.0
 BuildRequires:  llvm-devel >= 6.0
+%endif
 BuildRequires:  ncurses-devel
 BuildRequires:  sqlite3-devel
 BuildRequires:  zlib-devel
@@ -171,8 +182,13 @@
 touch no-suse-rules
 %cmake \
     -DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
+%if 0%{?suse_version} > 1550
+    -DCMAKE_C_COMPILER="%{_bindir}/clang-14" \
+    -DCMAKE_CXX_COMPILER="%{_bindir}/clang++-14" \
+%else
     -DCMAKE_C_COMPILER="%{_bindir}/clang" \
     -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
+%endif
     -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
     -DD_COMPILER:PATH=%{_bindir}/gdmd%{?gdc_suffix} \
     -DCMAKE_CXX_FLAGS="-std=c++11"
@@ -191,8 +207,13 @@
 touch no-suse-rules
 %cmake \
     -DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
+%if 0%{?suse_version} > 1550
+    -DCMAKE_C_COMPILER="%{_bindir}/clang-14" \
+    -DCMAKE_CXX_COMPILER="%{_bindir}/clang++-14" \
+%else
     -DCMAKE_C_COMPILER="%{_bindir}/clang" \
     -DCMAKE_CXX_COMPILER="%{_bindir}/clang++" \
+%endif
     -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
 %if %{with ldc_bootstrap}
     -DD_COMPILER:PATH=$PWD/../build-bootstrap/bin/ldmd2 \

Reply via email to