Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ispc for openSUSE:Factory checked in 
at 2026-10-08 11:59:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ispc (Old)
 and      /work/SRC/openSUSE:Factory/.ispc.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ispc"

Thu Oct  8 11:59:41 2026 rev:20 rq:1383240 version:1.31.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ispc/ispc.changes        2026-07-17 
18:50:31.711382283 +0200
+++ /work/SRC/openSUSE:Factory/.ispc.new.3698736/ispc.changes   2026-10-08 
12:00:43.519317711 +0200
@@ -1,0 +2,11 @@
+Wed Oct  7 15:21:35 UTC 2026 - JS <[email protected]>
+
+- Add upper limit to llvm/clang versions and make sure the
+  executables come from the same version.
+  * Switch to cmake(Clang), cmake(LLVM) and libomp-devel-provider
+    for BuildRequires, because non-default llvm/clang packages do
+    not provide {clang,llvm,libomp}-devel without version numbers
+    in the symbol names.
+- Refresh skip-tests.patch, fix test llvm_ident.ispc.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ispc.spec ++++++
--- /var/tmp/diff_new_pack.9X4LZx/_old  2026-10-08 12:00:44.853373154 +0200
+++ /var/tmp/diff_new_pack.9X4LZx/_new  2026-10-08 12:00:44.856373279 +0200
@@ -19,7 +19,8 @@
 
 %define libname libispcrt1
 
-%define minimum_llvm_version 20
+%global minimum_llvm_version 20
+%global maximum_llvm_version_exclusive 23
 
 #if 0%{?suse_version} < 1699
 #define force_llvm_version 21
@@ -43,12 +44,24 @@
 Source1:        series
 Patch1:         skip-tests.patch
 BuildRequires:  bison
-BuildRequires:  clang%{?force_llvm_version}-devel >= %{minimum_llvm_version}
+%if 0%{?force_llvm_version}
+BuildRequires:  clang%{force_llvm_version}-devel >= %{minimum_llvm_version}
+%else
+BuildRequires:  (cmake(Clang) >= %{minimum_llvm_version} with cmake(Clang) < 
%{maximum_llvm_version_exclusive})
+%endif
 BuildRequires:  cmake >= 3.13
 BuildRequires:  flex
-BuildRequires:  llvm%{?force_llvm_version}-devel >= %{minimum_llvm_version}
+%if 0%{?force_llvm_version}
+BuildRequires:  llvm%{force_llvm_version}-devel >= %{minimum_llvm_version}
+%else
+BuildRequires:  (cmake(LLVM) >= %{minimum_llvm_version} with cmake(LLVM) < 
%{maximum_llvm_version_exclusive})
+%endif
 %if %{with openmp_task_model}
-BuildRequires:  libomp%{?force_llvm_version}-devel >= %{minimum_llvm_version}
+%if 0%{?force_llvm_version}
+BuildRequires:  libomp%{force_llvm_version}-devel >= %{minimum_llvm_version}
+%else
+BuildRequires:  (libomp-devel-provider >= %{minimum_llvm_version} with 
libomp-devel-provider < %{maximum_llvm_version_exclusive})
+%endif
 %else
 BuildRequires:  tbb-devel
 %endif
@@ -100,20 +113,27 @@
 
 %build
 %if 0%{?force_llvm_version}
-perl -p -i -e "s:'clang':'clang-%{force_llvm_version}':g; 
s:'clang++':'clang++-%{force_llvm_version}':g" tests/lit-tests/lit.cfg
-perl -p -i -e "s:llvm-dis:llvm-dis-%{force_llvm_version}:g" 
tests/lit-tests/avx10.2dmr-x8.ispc
+LLVM_MAJOR_VERSION=%{force_llvm_version}
+%else
+LLVM_MAJOR_VERSION=$(llvm-config --version | cut -d'.' -f1)
 %endif
 
+CLANG_EXECUTABLE="clang-${LLVM_MAJOR_VERSION}"
+CLANGPP_EXECUTABLE="clang++-${LLVM_MAJOR_VERSION}"
+LLVM_AS_EXECUTABLE="llvm-as-${LLVM_MAJOR_VERSION}"
+LLVM_DIS_EXECUTABLE="llvm-dis-${LLVM_MAJOR_VERSION}"
+
+perl -p -i -e "s:'clang':'${CLANG_EXECUTABLE}':g; 
s:'clang\+\+':'${CLANGPP_EXECUTABLE}':g" tests/lit-tests/lit.cfg
+perl -p -i -e "s:llvm-dis:${LLVM_DIS_EXECUTABLE}:g" 
tests/lit-tests/avx10.{2dmr-x8,2nvl-x8_llvm22_plus}.ispc
+
 %define _lto_cflags "-flto=thin"
 echo "optflags: %{optflags}"
 %cmake \
-%if 0%{?force_llvm_version}
-        -DCLANG_EXECUTABLE:STRING="clang-%{force_llvm_version}" \
-        -DCLANGPP_EXECUTABLE:STRING="clang++-%{force_llvm_version}" \
-        -DLLVM_AS_EXECUTABLE:STRING="llvm-as-%{force_llvm_version}" \
-        -DCMAKE_C_COMPILER:STRING="clang-%{force_llvm_version}" \
-        -DCMAKE_CXX_COMPILER:STRING="clang++-%{force_llvm_version}" \
-%endif
+        -DCLANG_EXECUTABLE:STRING="${CLANG_EXECUTABLE}" \
+        -DCLANGPP_EXECUTABLE:STRING="${CLANGPP_EXECUTABLE}" \
+        -DLLVM_AS_EXECUTABLE:STRING="${LLVM_AS_EXECUTABLE}" \
+        -DCMAKE_C_COMPILER:STRING="${CLANG_EXECUTABLE}" \
+        -DCMAKE_CXX_COMPILER:STRING="${CLANGPP_EXECUTABLE}" \
         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
         -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -fPIE" \
         -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags} -fPIE" \

++++++ skip-tests.patch ++++++
--- /var/tmp/diff_new_pack.9X4LZx/_old  2026-10-08 12:00:44.915375731 +0200
+++ /var/tmp/diff_new_pack.9X4LZx/_new  2026-10-08 12:00:44.920375939 +0200
@@ -16,11 +16,15 @@
 ===================================================================
 --- a/tests/lit-tests/llvm_ident.ispc
 +++ b/tests/lit-tests/llvm_ident.ispc
-@@ -1,3 +1,4 @@
-+// XFAIL: *
- // RUN: %{ispc} %s --emit-llvm-text -o - | FileCheck %s
- // RUN: %{ispc} %s --emit-llvm-text --nostdlib -o - | FileCheck %s
+@@ -3,7 +3,7 @@
  
+ // Check that version string embeded in !llvm.ident metadata is formed 
correctly.
+ 
+-// CHECK: Intel(r) Implicit SPMD Program Compiler (Intel(r) ISPC), 
{{1\.[[:digit:]]+\.[[:digit:]]+(dev)?}} (build{{( commit( [[:xdigit:]]+)?[ 
]+)?}}@ {{([[:digit:]]{8})}}, LLVM 
[[LLVM_VERSION:[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+]])
++// CHECK: Intel(r) Implicit SPMD Program Compiler (Intel(r) ISPC), 
{{1\.[[:digit:]]+\.[[:digit:]]+(dev)?}} (build{{( commit( [[:xdigit:]]+)?)?[ 
]+}}@ {{([[:digit:]]{8})}}, LLVM 
[[LLVM_VERSION:[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+]])
+ // CHECK: LLVM version [[LLVM_VERSION]]{{(\( [[:graph:]]+ [[:graph:]]+\))?}}
+ 
+ int i;
 Index: b/tests/lit-tests/3081.ispc
 ===================================================================
 --- a/tests/lit-tests/3081.ispc

Reply via email to