commit libclc for openSUSE:Factory

2024-03-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2024-03-25 21:07:10

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.1905 (New)


Package is "libclc"

Mon Mar 25 21:07:10 2024 rev:28 rq:1161229 version:0.2.0+llvm18.1.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2024-03-20 
21:10:33.073584551 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.1905/libclc.changes  2024-03-25 
21:08:41.798281086 +0100
@@ -1,0 +2,6 @@
+Mon Mar 18 02:33:21 UTC 2024 - Stefan Dirsch 
+
+- use clang18-devel, llvm18-devel also for Leap 15.6/15.5 in order to
+  fix build
+
+---



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.2c2lku/_old  2024-03-25 21:08:42.698314132 +0100
+++ /var/tmp/diff_new_pack.2c2lku/_new  2024-03-25 21:08:42.698314132 +0100
@@ -38,12 +38,12 @@
 BuildRequires:  pkgconfig(LLVMSPIRVLib)
 %else
  %if 0%{?sle_version} >= 150600
-BuildRequires:  clang17-devel
-BuildRequires:  llvm17-devel
+BuildRequires:  clang18-devel
+BuildRequires:  llvm18-devel
  %else
   %if 0%{?sle_version} >= 150500
-BuildRequires:  clang15-devel
-BuildRequires:  llvm15-devel
+BuildRequires:  clang18-devel
+BuildRequires:  llvm18-devel
   %endif
  %endif
 %endif


commit libclc for openSUSE:Factory

2024-03-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2024-03-20 21:10:12

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.1905 (New)


Package is "libclc"

Wed Mar 20 21:10:12 2024 rev:27 rq:1158843 version:0.2.0+llvm18.1.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2023-11-23 
21:39:12.632314258 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.1905/libclc.changes  2024-03-20 
21:10:33.073584551 +0100
@@ -1,0 +2,9 @@
+Sat Mar  9 22:30:18 UTC 2024 - Aaron Puchert 
+
+- Update to version 18.1.0.
+  * Fix signed integer underflow in abs_diff.
+  * Teach prepare-builtins how to handle text-based IR.
+  * Add half implementation for erf/erfc.
+  * Add missing AMD gfx symlinks.
+
+---

Old:

  libclc-17.0.1.src.tar.xz
  libclc-17.0.1.src.tar.xz.sig

New:

  libclc-18.1.0.src.tar.xz
  libclc-18.1.0.src.tar.xz.sig



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.CvzoFq/_old  2024-03-20 21:10:34.825648932 +0100
+++ /var/tmp/diff_new_pack.CvzoFq/_new  2024-03-20 21:10:34.837649374 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libclc
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 17.0.1
+%define _libclc_llvm_ver 18.1.0
 %define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
 %define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 

++ libclc-17.0.1.src.tar.xz -> libclc-18.1.0.src.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-17.0.1.src/CMakeLists.txt 
new/libclc-18.1.0.src/CMakeLists.txt
--- old/libclc-17.0.1.src/CMakeLists.txt2023-09-19 11:05:13.0 
+0200
+++ new/libclc-18.1.0.src/CMakeLists.txt2024-02-27 18:18:54.0 
+0100
@@ -142,17 +142,15 @@
 set( barts_aliases turks caicos )
 set( cayman_aliases aruba )
 set( tahiti_aliases pitcairn verde oland hainan bonaire kabini kaveri hawaii
-   mullins tonga iceland carrizo fiji stoney polaris10 polaris11 )
-
-# Support for gfx9 was added in LLVM 5.0 (r295554)
-if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "4.99.99" )
-   set( tahiti_aliases ${tahiti_aliases} gfx900 gfx902 )
-endif()
-
-# Support for Vega12 and Vega20 was added in LLVM 7 (r331215)
-if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "6.99.99" )
-   set( tahiti_aliases ${tahiti_aliases} gfx904 gfx906 )
-endif()
+   mullins tonga tongapro iceland carrizo fiji stoney polaris10 polaris11
+   gfx602 gfx705 gfx805
+   gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx940 gfx941 
gfx942
+   gfx1010 gfx1011 gfx1012 gfx1013
+   gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036
+   gfx1100 gfx1101 gfx1102 gfx1103
+   gfx1150 gfx1151
+   gfx1200 gfx1201
+)
 
 # pkg-config file
 configure_file( libclc.pc.in libclc.pc @ONLY )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-17.0.1.src/generic/lib/integer/abs_diff.inc 
new/libclc-18.1.0.src/generic/lib/integer/abs_diff.inc
--- old/libclc-17.0.1.src/generic/lib/integer/abs_diff.inc  2023-09-19 
11:05:13.0 +0200
+++ new/libclc-18.1.0.src/generic/lib/integer/abs_diff.inc  2024-02-27 
18:18:54.0 +0100
@@ -1,3 +1,5 @@
 _CLC_OVERLOAD _CLC_DEF __CLC_U_GENTYPE abs_diff(__CLC_GENTYPE x, __CLC_GENTYPE 
y) {
-  return __builtin_astype((__CLC_GENTYPE)(x > y ? x-y : y-x), __CLC_U_GENTYPE);
+  __CLC_U_GENTYPE ux = __builtin_astype(x, __CLC_U_GENTYPE);
+  __CLC_U_GENTYPE uy = __builtin_astype(y, __CLC_U_GENTYPE);
+  return x > y ? ux - uy : uy - ux;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-17.0.1.src/generic/lib/math/erf.cl 
new/libclc-18.1.0.src/generic/lib/math/erf.cl
--- old/libclc-17.0.1.src/generic/lib/math/erf.cl   2023-09-19 
11:05:13.0 +0200
+++ new/libclc-18.1.0.src/generic/lib/math/erf.cl   2024-02-27 
18:18:54.0 +0100
@@ -399,4 +399,16 @@
 
 _CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, double, erf, double);
 
+#ifdef cl_khr_fp16
+
+#pragma OPENCL EXTENSION cl_khr_fp16 : enable
+
+_CLC_OVERLOAD _CLC_DEF half erf(half h) {
+return (half)erf((float)h);
+}
+
+_CLC_UNARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, half, erf, half);
+
+#endif
+
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-17.0.1.src/generic/

commit libclc for openSUSE:Factory

2023-09-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2023-09-29 21:12:55

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.28202 (New)


Package is "libclc"

Fri Sep 29 21:12:55 2023 rev:25 rq:1114111 version:0.2.0+llvm17.0.1

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2023-03-28 
17:48:54.390842033 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.28202/libclc.changes 2023-09-29 
21:13:25.417423438 +0200
@@ -1,0 +2,6 @@
+Wed Sep 20 21:30:56 UTC 2023 - Aaron Puchert 
+
+- Update to version 17.0.1.
+  * No changelog was made available
+
+---

Old:

  libclc-16.0.0.src.tar.xz
  libclc-16.0.0.src.tar.xz.sig

New:

  libclc-17.0.1.src.tar.xz
  libclc-17.0.1.src.tar.xz.sig



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.dYucxl/_old  2023-09-29 21:13:26.769472219 +0200
+++ /var/tmp/diff_new_pack.dYucxl/_new  2023-09-29 21:13:26.773472364 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 16.0.0
+%define _libclc_llvm_ver 17.0.1
 %define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
 %define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 

++ libclc-16.0.0.src.tar.xz -> libclc-17.0.1.src.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-16.0.0.src/CMakeLists.txt 
new/libclc-17.0.1.src/CMakeLists.txt
--- old/libclc-16.0.0.src/CMakeLists.txt2023-03-17 13:26:07.0 
+0100
+++ new/libclc-17.0.1.src/CMakeLists.txt2023-09-19 11:05:13.0 
+0200
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.13.4)
+cmake_minimum_required(VERSION 3.20.0)
 
 project( libclc VERSION 0.2.0 LANGUAGES CXX C)
 
@@ -115,6 +115,7 @@
   BitReader
   BitWriter
   Core
+  Support
 )
 add_llvm_executable( prepare_builtins utils/prepare-builtins.cpp )
 target_compile_definitions( prepare_builtins PRIVATE ${LLVM_VERSION_DEFINE} )
@@ -218,11 +219,11 @@
 
# Add the generated convert.cl here to prevent adding
# the one listed in SOURCES
-   if( NOT ${ARCH} STREQUAL "spirv" AND NOT ${ARCH} STREQUAL "spirv64" AND
-   NOT ${ARCH} STREQUAL "clspv" AND NOT ${ARCH} STREQUAL 
"clspv64" )
+   if( NOT ${ARCH} STREQUAL "spirv" AND NOT ${ARCH} STREQUAL "spirv64" )
set( rel_files convert.cl )
set( objects convert.cl )
-   if( NOT ENABLE_RUNTIME_SUBNORMAL )
+   if( NOT ENABLE_RUNTIME_SUBNORMAL AND NOT ${ARCH} STREQUAL 
"clspv" AND
+   NOT ${ARCH} STREQUAL "clspv64" )
list( APPEND rel_files 
generic/lib/subnormal_use_default.ll )
endif()
else()
@@ -271,11 +272,11 @@
set( spvflags --spirv-max-version=1.1 )
elseif( ${ARCH} STREQUAL "clspv" )
set( t "spir--" )
-   set( build_flags )
+   set( build_flags "-Wno-unknown-assumption")
set( opt_flags -O3 )
elseif( ${ARCH} STREQUAL "clspv64" )
set( t "spir64--" )
-   set( build_flags )
+   set( build_flags "-Wno-unknown-assumption")
set( opt_flags -O3 )
else()
set( build_flags )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-16.0.0.src/clspv/lib/SOURCES 
new/libclc-17.0.1.src/clspv/lib/SOURCES
--- old/libclc-16.0.0.src/clspv/lib/SOURCES 2023-03-17 13:26:07.0 
+0100
+++ new/libclc-17.0.1.src/clspv/lib/SOURCES 2023-09-19 11:05:13.0 
+0200
@@ -1,48 +1,89 @@
+math/fma.cl
+math/nextafter.cl
+shared/vstore_half.cl
 subnormal_config.cl
 ../../generic/lib/geometric/distance.cl
 ../../generic/lib/geometric/length.cl
-math/fma.cl
-math/nextafter.cl
+../../generic/lib/math/acos.cl
 ../../generic/lib/math/acosh.cl
 ../../generic/lib/math/asinh.cl
+../../generic/lib/math/acospi.cl
+../../generic/lib/math/asin.cl
 ../../generic/lib/math/atan.cl
+../../generic/lib/math/asinh.cl
+../../generic/lib/math/asinpi.cl
 ../../generic/lib/math/atan2.cl
 ../../generic/lib/math/atan2pi.cl
 ../../generic/lib/math/atanh.cl
 ../../generic/lib/math/atanpi.cl
 ../../generic/lib/math/cbrt.cl
+../../generic/lib/math/clc_exp10.cl
 ../../generic/lib/math/clc_fmod.cl
 ../../generic/lib/math/clc_hypot.cl
 ../../generic/lib/math/clc_ldexp.cl
 ../../generic/lib/math/clc_nextafter.cl
+../../generic/lib/math/clc_pow.cl
+../../generic/lib/math/clc_pown.cl
+../../generic/lib/math

commit libclc for openSUSE:Factory

2023-03-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2023-03-28 17:48:45

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.31432 (New)


Package is "libclc"

Tue Mar 28 17:48:45 2023 rev:24 rq:1073960 version:0.2.0+llvm16.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2023-01-29 
14:30:59.485621976 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.31432/libclc.changes 2023-03-28 
17:48:54.390842033 +0200
@@ -1,0 +2,8 @@
+Wed Mar 22 23:54:02 UTC 2023 - Aaron Puchert 
+
+- Update to version 16.0.0.
+- Drop cmake-flags-concat.patch that landed upstream.
+- Enable opaque pointers now that Mesa seems to support them.
+- Add PGP signatures and keyring for source verification.
+
+---

Old:

  cmake-flags-concat.patch
  libclc-15.0.0.src.tar.xz

New:

  libclc-16.0.0.src.tar.xz
  libclc-16.0.0.src.tar.xz.sig
  libclc.keyring



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.9d0tR1/_old  2023-03-28 17:48:54.834844174 +0200
+++ /var/tmp/diff_new_pack.9d0tR1/_new  2023-03-28 17:48:54.838844194 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 15.0.0
+%define _libclc_llvm_ver 16.0.0
 %define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
 %define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 
@@ -28,9 +28,9 @@
 Group:  Development/Libraries/C and C++
 URL:https://libclc.llvm.org/
 Source0:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz
-Source1:%{name}-rpmlintrc
-# PATCH-FIX-UPSTREAM: CMAKE__FLAGS is a string and not a list.
-Patch0: cmake-flags-concat.patch
+Source1:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz.sig
+Source100:  %{name}-rpmlintrc
+Source101:  https://releases.llvm.org/release-keys.asc#/%{name}.keyring
 BuildRequires:  cmake
 %if 0%{?suse_version} >= 1550
 BuildRequires:  clang-devel
@@ -64,20 +64,14 @@
 
 %prep
 %setup -q -n libclc-%{_version}.src
-%patch0 -p1
 
 %build
 # The libraries are bitcode files, so LTO is neither supported nor does it 
help.
 %define _lto_cflags %{nil}
 
-# For now we turn off opaque pointers - Clang uses them by default, but Mesa 
doesn't support them yet.
 %cmake \
   -DCMAKE_C_COMPILER=clang \
   -DCMAKE_CXX_COMPILER=clang++ \
-%if %{_llvm_sonum} >= 15
-  -DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
-  -DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
-%endif
 %if 0%{?suse_version} < 1550
   
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
 \
 %endif

++ libclc-15.0.0.src.tar.xz -> libclc-16.0.0.src.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-15.0.0.src/CMakeLists.txt 
new/libclc-16.0.0.src/CMakeLists.txt
--- old/libclc-15.0.0.src/CMakeLists.txt2022-09-05 11:48:03.0 
+0200
+++ new/libclc-16.0.0.src/CMakeLists.txt2023-03-17 13:26:07.0 
+0100
@@ -1,6 +1,9 @@
 cmake_minimum_required(VERSION 3.13.4)
 
-project( libclc VERSION 0.2.0 LANGUAGES CXX )
+project( libclc VERSION 0.2.0 LANGUAGES CXX C)
+
+set(CMAKE_CXX_STANDARD 17)
+
 include( GNUInstallDirs )
 set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS
   amdgcn-amdhsa/lib/SOURCES;
@@ -40,20 +43,17 @@
 option( ENABLE_RUNTIME_SUBNORMAL "Enable runtime linking of subnormal support."
 OFF )
 
-if( NOT LLVM_CONFIG )
-   find_program( LLVM_CONFIG llvm-config )
-endif()
-execute_process( COMMAND ${LLVM_CONFIG} "--version"
-OUTPUT_VARIABLE LLVM_VERSION
-OUTPUT_STRIP_TRAILING_WHITESPACE )
-message( "LLVM version: ${LLVM_VERSION}" )
+find_package(LLVM REQUIRED HINTS "${LLVM_CMAKE_DIR}")
+include(AddLLVM)
 
-if( ${LLVM_VERSION} VERSION_LESS ${LIBCLC_MIN_LLVM} )
+message( "LLVM version: ${LLVM_PACKAGE_VERSION}" )
+
+if( ${LLVM_PACKAGE_VERSION} VERSION_LESS ${LIBCLC_MIN_LLVM} )
message( FATAL_ERROR "libclc needs at least LLVM ${LIBCLC_MIN_LLVM}" )
 endif()
 
 # mesa3d environment is only available since LLVM 4.0
-if( ${LLVM_VERSION} VERSION_GREATER "3.9.0" )
+if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "3.9.0" )
set( LIBCLC_TARGETS_ALL ${LIBCLC_TARGETS_ALL} amdgcn-mesa-mesa3d )
 endif()
 
@@ -61,45 +61,11 @@
set( LIBCLC_TARGETS_TO_BUILD ${LIBCLC_TARGETS_ALL} )
 endif()
 
-execute_process( COMMAND ${LLVM_CONFIG} "--system-libs"
-   OUTPUT_VARIABLE LLVM_SYSTEM_LIBS
-   OUTPUT_STRIP_TRAILING_WHITESPACE )

commit libclc for openSUSE:Factory

2023-01-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2023-01-29 14:10:39

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.32243 (New)


Package is "libclc"

Sun Jan 29 14:10:39 2023 rev:23 rq:1061786 version:0.2.0+llvm15.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2022-11-06 
12:41:42.957207521 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.32243/libclc.changes 2023-01-29 
14:30:59.485621976 +0100
@@ -1,0 +2,5 @@
+Sat Jan 28 14:28:38 UTC 2023 - Aaron Puchert 
+
+- Add support for SPIR-V targets on Tumbleweed.
+
+---



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.beDqKg/_old  2023-01-29 14:30:59.937624457 +0100
+++ /var/tmp/diff_new_pack.beDqKg/_new  2023-01-29 14:30:59.941624479 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libclc
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,6 +35,7 @@
 %if 0%{?suse_version} >= 1550
 BuildRequires:  clang-devel
 BuildRequires:  llvm-devel
+BuildRequires:  pkgconfig(LLVMSPIRVLib)
 %else
  %if 0%{?sle_version} >= 150500
 BuildRequires:  clang15-devel
@@ -70,7 +71,6 @@
 %define _lto_cflags %{nil}
 
 # For now we turn off opaque pointers - Clang uses them by default, but Mesa 
doesn't support them yet.
-# TODO: For building all targets, we need llvm-spirv.
 %cmake \
   -DCMAKE_C_COMPILER=clang \
   -DCMAKE_CXX_COMPILER=clang++ \
@@ -78,8 +78,10 @@
   -DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
   -DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
 %endif
-  -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
-  
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
+%if 0%{?suse_version} < 1550
+  
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
 \
+%endif
+  -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON
 %cmake_build
 
 %install


commit libclc for openSUSE:Factory

2022-11-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2022-11-06 12:41:36

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.2275 (New)


Package is "libclc"

Sun Nov  6 12:41:36 2022 rev:22 rq:1033682 version:0.2.0+llvm15.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2022-10-18 
12:44:22.257637823 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.2275/libclc.changes  2022-11-06 
12:41:42.957207521 +0100
@@ -1,0 +2,5 @@
+Sat Nov  5 11:05:57 UTC 2022 - Stefan Dirsch 
+
+- build with llvm15/clang15 on sle15-sp5/Leap 15.5 
+
+---



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.WOSR99/_old  2022-11-06 12:41:43.361209934 +0100
+++ /var/tmp/diff_new_pack.WOSR99/_new  2022-11-06 12:41:43.369209982 +0100
@@ -36,6 +36,10 @@
 BuildRequires:  clang-devel
 BuildRequires:  llvm-devel
 %else
+ %if 0%{?sle_version} >= 150500
+BuildRequires:  clang15-devel
+BuildRequires:  llvm15-devel
+ %else
  %if 0%{?sle_version} >= 150400
 BuildRequires:  clang13-devel
 BuildRequires:  llvm13-devel
@@ -48,6 +52,7 @@
 BuildRequires:  llvm9-devel
   %endif
  %endif
+ %endif
 %endif
 BuildRequires:  python3-base
 Provides:   libclc(llvm%{_llvm_sonum})


commit libclc for openSUSE:Factory

2022-10-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2022-10-18 12:44:16

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.2275 (New)


Package is "libclc"

Tue Oct 18 12:44:16 2022 rev:21 rq:1011275 version:0.2.0+llvm15.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2022-10-10 
18:44:24.830849451 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.2275/libclc.changes  2022-10-18 
12:44:22.257637823 +0200
@@ -1,0 +2,6 @@
+Sun Oct 16 17:31:22 UTC 2022 - Aaron Puchert 
+
+- Fix build on Leap by adding "-Xclang -no-opaque-pointers" only
+  for Clang 15 and newer.
+
+---



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.Mh8m4J/_old  2022-10-18 12:44:22.689638806 +0200
+++ /var/tmp/diff_new_pack.Mh8m4J/_new  2022-10-18 12:44:22.697638824 +0200
@@ -69,8 +69,10 @@
 %cmake \
   -DCMAKE_C_COMPILER=clang \
   -DCMAKE_CXX_COMPILER=clang++ \
+%if %{_llvm_sonum} >= 15
   -DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
   -DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
+%endif
   -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
   
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
 %cmake_build


commit libclc for openSUSE:Factory

2022-10-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2022-10-10 18:44:03

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.2275 (New)


Package is "libclc"

Mon Oct 10 18:44:03 2022 rev:20 rq:1008128 version:0.2.0+llvm15.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2022-09-02 
21:56:46.072329143 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.2275/libclc.changes  2022-10-10 
18:44:24.830849451 +0200
@@ -1,0 +2,9 @@
+Thu Sep 29 21:33:37 UTC 2022 - Aaron Puchert 
+
+- Update to version 0.2.0+llvm15.0.0.
+- Compile without opaque pointers for now because Mesa doesn't
+  support them yet.
+- Add cmake-flags-concat.patch to ensure proper concatenation of
+  build flags: CMAKE__FLAGS is a string and not a list.
+
+---
@@ -9 +18 @@
-- Update to version 0.2.0+14.0.0.
+- Update to version 0.2.0+llvm14.0.0.

Old:

  libclc-14.0.0.src.tar.xz

New:

  cmake-flags-concat.patch
  libclc-15.0.0.src.tar.xz



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.K9s1My/_old  2022-10-10 18:44:25.302850467 +0200
+++ /var/tmp/diff_new_pack.K9s1My/_new  2022-10-10 18:44:25.310850485 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 14.0.0
+%define _libclc_llvm_ver 15.0.0
 %define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
 %define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 
@@ -29,6 +29,8 @@
 URL:https://libclc.llvm.org/
 Source0:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz
 Source1:%{name}-rpmlintrc
+# PATCH-FIX-UPSTREAM: CMAKE__FLAGS is a string and not a list.
+Patch0: cmake-flags-concat.patch
 BuildRequires:  cmake
 %if 0%{?suse_version} >= 1550
 BuildRequires:  clang-devel
@@ -56,15 +58,19 @@
 
 %prep
 %setup -q -n libclc-%{_version}.src
+%patch0 -p1
 
 %build
 # The libraries are bitcode files, so LTO is neither supported nor does it 
help.
 %define _lto_cflags %{nil}
 
+# For now we turn off opaque pointers - Clang uses them by default, but Mesa 
doesn't support them yet.
 # TODO: For building all targets, we need llvm-spirv.
 %cmake \
   -DCMAKE_C_COMPILER=clang \
   -DCMAKE_CXX_COMPILER=clang++ \
+  -DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
+  -DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
   -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
   
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
 %cmake_build

++ cmake-flags-concat.patch ++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9773b2c..e1879a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,8 +136,8 @@ set( LLVM_VERSION_DEFINE 
"-DHAVE_LLVM=0x${LLVM_MAJOR}0${LLVM_MINOR}" )
 
 # LLVM 13 enables standard includes by default
 if( ${LLVM_VERSION} VERSION_GREATER "12.99.99" )
-   set( CMAKE_LLAsm_FLAGS ${CMAKE_LLAsm_FLAGS} 
-cl-no-stdinc )
-   set( CMAKE_CLC_FLAGS ${CMAKE_CLC_FLAGS} 
-cl-no-stdinc )
+   set( CMAKE_LLAsm_FLAGS "${CMAKE_LLAsm_FLAGS} 
-cl-no-stdinc" )
+   set( CMAKE_CLC_FLAGS "${CMAKE_CLC_FLAGS} 
-cl-no-stdinc" )
 endif()
 
 enable_language( CLC LLAsm )

++ libclc-14.0.0.src.tar.xz -> libclc-15.0.0.src.tar.xz ++
 57899 lines of diff (skipped)


commit libclc for openSUSE:Factory

2022-09-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2022-09-02 21:56:28

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.2083 (New)


Package is "libclc"

Fri Sep  2 21:56:28 2022 rev:19 rq:1000698 version:0.2.0+llvm14.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2022-04-17 
23:49:57.478316732 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.2083/libclc.changes  2022-09-02 
21:56:46.072329143 +0200
@@ -1,0 +2,5 @@
+Thu Aug 25 13:33:10 UTC 2022 - Stefan Dirsch 
+
+- fixed build on Leap 15.3 by buildrequiring clang13/llvm13
+
+---



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.tDbUZi/_old  2022-09-02 21:56:46.500330179 +0200
+++ /var/tmp/diff_new_pack.tDbUZi/_new  2022-09-02 21:56:46.504330189 +0200
@@ -34,13 +34,18 @@
 BuildRequires:  clang-devel
 BuildRequires:  llvm-devel
 %else
-%if 0%{?sle_version} >= 150300
+ %if 0%{?sle_version} >= 150400
+BuildRequires:  clang13-devel
+BuildRequires:  llvm13-devel
+ %else
+  %if 0%{?sle_version} >= 150300
 BuildRequires:  clang11-devel
 BuildRequires:  llvm11-devel
-%else
+  %else
 BuildRequires:  clang9-devel
 BuildRequires:  llvm9-devel
-%endif
+  %endif
+ %endif
 %endif
 BuildRequires:  python3-base
 Provides:   libclc(llvm%{_llvm_sonum})


commit libclc for openSUSE:Factory

2022-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2022-04-17 23:49:44

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.1941 (New)


Package is "libclc"

Sun Apr 17 23:49:44 2022 rev:18 rq:970323 version:0.2.0+llvm14.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2021-11-22 
23:04:44.117821051 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.1941/libclc.changes  2022-04-17 
23:49:57.478316732 +0200
@@ -1,0 +2,5 @@
+Fri Apr  1 21:44:03 UTC 2022 - Aaron Puchert 
+
+- Update to version 0.2.0+14.0.0.
+
+---

Old:

  libclc-13.0.0.src.tar.xz

New:

  libclc-14.0.0.src.tar.xz



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.gB5buY/_old  2022-04-17 23:49:59.710319791 +0200
+++ /var/tmp/diff_new_pack.gB5buY/_new  2022-04-17 23:49:59.710319791 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libclc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 13.0.0
+%define _libclc_llvm_ver 14.0.0
 %define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
 %define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 

++ libclc-13.0.0.src.tar.xz -> libclc-14.0.0.src.tar.xz ++
 57885 lines of diff (skipped)

++ libclc-rpmlintrc ++
--- /var/tmp/diff_new_pack.gB5buY/_old  2022-04-17 23:49:59.950320120 +0200
+++ /var/tmp/diff_new_pack.gB5buY/_new  2022-04-17 23:49:59.954320125 +0200
@@ -3,5 +3,5 @@
 
 # Files required at runtime by applications using OpenCL.
 addFilter("devel-file-in-non-devel-package.*/usr/include/clc/.*")
-addFilter("devel-file-in-non-devel-package.*/usr/lib[^/]*/pkgconfig/libclc.pc")
+addFilter("devel-file-in-non-devel-package.*/usr/share/pkgconfig/libclc.pc")
 


commit libclc for openSUSE:Factory

2021-11-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2021-11-22 23:04:02

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.1895 (New)


Package is "libclc"

Mon Nov 22 23:04:02 2021 rev:17 rq:932978 version:0.2.0+llvm13.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2021-10-05 
22:33:51.994870812 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.1895/libclc.changes  2021-11-22 
23:04:44.117821051 +0100
@@ -1,0 +2,11 @@
+Mon Nov 15 09:30:31 UTC 2021 - Stefan Dirsch 
+
+- reverted previous change (boo#1192675) 
+
+---
+Sun Nov 14 19:56:38 UTC 2021 - Stefan Dirsch 
+
+- create /usr/lib64/clc compatibility symlink (boo#1192675)
+- due to above no longer noarch package
+
+---



Other differences:
--


commit libclc for openSUSE:Factory

2021-10-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2021-10-05 22:33:36

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.2443 (New)


Package is "libclc"

Tue Oct  5 22:33:36 2021 rev:16 rq:922957 version:0.2.0+llvm13.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2021-04-18 
21:45:28.244758402 +0200
+++ /work/SRC/openSUSE:Factory/.libclc.new.2443/libclc.changes  2021-10-05 
22:33:51.994870812 +0200
@@ -1,0 +2,17 @@
+Sat Oct  2 20:13:04 UTC 2021 - Aaron Puchert 
+
+- Update to version 0.2.0+llvm13.0.0.
+- Make it easier to build release candidates.
+
+---
+Wed Sep 29 12:44:19 UTC 2021 - Stefan Dirsch 
+
+- fixed broken %{_llvm_sonum} in libcl(llvm%{_llvm_sonum}) Provides
+  by buildrequiring appropriate llvm/clang -devel packages
+
+---
+Wed Sep 29 12:00:22 UTC 2021 - Stefan Dirsch 
+
+- needed for jira#SLE/SLE-18743 (Mesa update for sle15-sp4/Leap 15.4)
+
+---

Old:

  libclc-12.0.0.src.tar.xz

New:

  libclc-13.0.0.src.tar.xz



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.uqRATk/_old  2021-10-05 22:33:52.426871564 +0200
+++ /var/tmp/diff_new_pack.uqRATk/_new  2021-10-05 22:33:52.430871570 +0200
@@ -16,20 +16,32 @@
 #
 
 
-%define _libclc_llvm_ver 12.0.0
+%define _libclc_llvm_ver 13.0.0
+%define _version %_libclc_llvm_ver%{?_rc:rc%_rc}
+%define _tagver %_libclc_llvm_ver%{?_rc:-rc%_rc}
 
 Name:   libclc
-Version:0.2.0+llvm%{_libclc_llvm_ver}
+Version:0.2.0+llvm%{_libclc_llvm_ver}%{?_rc:~rc%_rc}
 Release:0
 Summary:OpenCL C programming language library
 License:Apache-2.0 WITH LLVM-exception AND (BSD-3-Clause OR MIT)
 Group:  Development/Libraries/C and C++
 URL:https://libclc.llvm.org/
-Source0:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_libclc_llvm_ver}/%{name}-%{_libclc_llvm_ver}.src.tar.xz
+Source0:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_tagver}/%{name}-%{_version}.src.tar.xz
 Source1:%{name}-rpmlintrc
-BuildRequires:  clang-devel >= 4.0
 BuildRequires:  cmake
-BuildRequires:  llvm >= 4.0
+%if 0%{?suse_version} >= 1550
+BuildRequires:  clang-devel
+BuildRequires:  llvm-devel
+%else
+%if 0%{?sle_version} >= 150300
+BuildRequires:  clang11-devel
+BuildRequires:  llvm11-devel
+%else
+BuildRequires:  clang9-devel
+BuildRequires:  llvm9-devel
+%endif
+%endif
 BuildRequires:  python3-base
 Provides:   libclc(llvm%{_llvm_sonum})
 BuildArch:  noarch
@@ -38,7 +50,7 @@
 Library requirements of the OpenCL C programming language.
 
 %prep
-%setup -q -n libclc-%{_libclc_llvm_ver}.src
+%setup -q -n libclc-%{_version}.src
 
 %build
 # The libraries are bitcode files, so LTO is neither supported nor does it 
help.

++ libclc-12.0.0.src.tar.xz -> libclc-13.0.0.src.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-12.0.0.src/CMakeLists.txt 
new/libclc-13.0.0.src/CMakeLists.txt
--- old/libclc-12.0.0.src/CMakeLists.txt2021-04-06 18:38:18.0 
+0200
+++ new/libclc-13.0.0.src/CMakeLists.txt2021-09-24 18:18:10.0 
+0200
@@ -7,6 +7,7 @@
   amdgcn/lib/SOURCES;
   amdgcn-mesa3d/lib/SOURCES;
   amdgpu/lib/SOURCES;
+  clspv/lib/SOURCES;
   generic/lib/SOURCES;
   ptx/lib/SOURCES;
   ptx-nvidiacl/lib/SOURCES;
@@ -19,6 +20,7 @@
 set( LIBCLC_TARGETS_ALL
   amdgcn--
   amdgcn--amdhsa
+  clspv--
   r600--
   nvptx--
   nvptx64--
@@ -122,7 +124,6 @@
 set( CMAKE_LLAsm_PREPROCESSOR ${LLVM_CLANG} )
 set( CMAKE_LLAsm_COMPILER ${LLVM_AS} )
 set( CMAKE_LLAsm_ARCHIVE ${LLVM_LINK} )
-enable_language( CLC LLAsm )
 
 # Construct LLVM version define
 string( REPLACE "." ";" LLVM_VERSION_LIST ${LLVM_VERSION} )
@@ -130,6 +131,15 @@
 list( GET LLVM_VERSION_LIST 1 LLVM_MINOR )
 set( LLVM_VERSION_DEFINE "-DHAVE_LLVM=0x${LLVM_MAJOR}0${LLVM_MINOR}" )
 
+
+# LLVM 13 enables standard includes by default
+if( ${LLVM_VERSION} VERSION_GREATER "12.99.99" )
+   set( CMAKE_LLAsm_FLAGS ${CMAKE_LLAsm_FLAGS} 
-cl-no-stdinc )
+   set( CMAKE_CLC_FLAGS ${CMAKE_CLC_FLAGS} 
-cl-no-stdinc )
+endif()
+
+enable_language( CLC LLAsm )
+
 # This needs to be set before any target that needs it
 link_directories( ${LLVM_LIBDIR} )
 
@@ -145,6 +155,7 @@
 set( amdgcn--_devices tahiti )
 set( amdgcn-mesa-mesa3d_devices ${amdgcn--_devices} )
 set( amdgcn--amdhs

commit libclc for openSUSE:Factory

2021-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2021-04-18 21:45:18

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.12324 (New)


Package is "libclc"

Sun Apr 18 21:45:18 2021 rev:15 rq:886350 version:0.2.0+llvm12.0.0

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2021-01-15 
19:43:45.537793032 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.12324/libclc.changes 2021-04-18 
21:45:28.244758402 +0200
@@ -1,0 +2,5 @@
+Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert 
+
+- Update to version 0.2.0+llvm12.0.0.
+
+---

Old:

  libclc-11.0.1.src.tar.xz

New:

  libclc-12.0.0.src.tar.xz



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.lrwwRN/_old  2021-04-18 21:45:28.760759275 +0200
+++ /var/tmp/diff_new_pack.lrwwRN/_new  2021-04-18 21:45:28.764759281 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define _libclc_llvm_ver 11.0.1
+%define _libclc_llvm_ver 12.0.0
 
 Name:   libclc
 Version:0.2.0+llvm%{_libclc_llvm_ver}
 Release:0
 Summary:OpenCL C programming language library
-License:(BSD-3-Clause OR MIT) AND Apache-2.0 WITH LLVM-exception
+License:Apache-2.0 WITH LLVM-exception AND (BSD-3-Clause OR MIT)
 Group:  Development/Libraries/C and C++
 URL:https://libclc.llvm.org/
 Source0:
https://github.com/llvm/llvm-project/releases/download/llvmorg-%{_libclc_llvm_ver}/%{name}-%{_libclc_llvm_ver}.src.tar.xz
@@ -44,11 +44,12 @@
 # The libraries are bitcode files, so LTO is neither supported nor does it 
help.
 %define _lto_cflags %{nil}
 
-sed -i "s|python|python3|g" CMakeLists.txt
+# TODO: For building all targets, we need llvm-spirv.
 %cmake \
   -DCMAKE_C_COMPILER=clang \
   -DCMAKE_CXX_COMPILER=clang++ \
-  -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON
+  -DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
+  
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
 %cmake_build
 
 %install

++ libclc-11.0.1.src.tar.xz -> libclc-12.0.0.src.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libclc-11.0.1.src/CMakeLists.txt 
new/libclc-12.0.0.src/CMakeLists.txt
--- old/libclc-11.0.1.src/CMakeLists.txt2020-12-18 20:57:38.0 
+0100
+++ new/libclc-12.0.0.src/CMakeLists.txt2021-04-06 18:38:18.0 
+0200
@@ -1,4 +1,4 @@
-cmake_minimum_required( VERSION 3.9.2 )
+cmake_minimum_required(VERSION 3.13.4)
 
 project( libclc VERSION 0.2.0 LANGUAGES CXX )
 include( GNUInstallDirs )
@@ -10,7 +10,9 @@
   generic/lib/SOURCES;
   ptx/lib/SOURCES;
   ptx-nvidiacl/lib/SOURCES;
-  r600/lib/SOURCES
+  r600/lib/SOURCES;
+  spirv/lib/SOURCES;
+  spirv64/lib/SOURCES
 )
 
 # List of all targets
@@ -22,6 +24,8 @@
   nvptx64--
   nvptx--nvidiacl
   nvptx64--nvidiacl
+  spirv-mesa3d-
+  spirv64-mesa3d-
 )
 
 set( LIBCLC_MIN_LLVM "3.9.0" )
@@ -53,8 +57,6 @@
set( LIBCLC_TARGETS_TO_BUILD ${LIBCLC_TARGETS_ALL} )
 endif()
 
-list( SORT LIBCLC_TARGETS_TO_BUILD )
-
 execute_process( COMMAND ${LLVM_CONFIG} "--system-libs"
OUTPUT_VARIABLE LLVM_SYSTEM_LIBS
OUTPUT_STRIP_TRAILING_WHITESPACE )
@@ -93,17 +95,27 @@
 find_program( LLVM_AS llvm-as PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
 find_program( LLVM_LINK llvm-link PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
 find_program( LLVM_OPT opt PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
+find_program( LLVM_SPIRV llvm-spirv PATHS ${LLVM_BINDIR} NO_DEFAULT_PATH )
 
 # Print toolchain
 message( "clang: ${LLVM_CLANG}" )
 message( "llvm-as: ${LLVM_AS}" )
 message( "llvm-link: ${LLVM_LINK}" )
 message( "opt: ${LLVM_OPT}" )
+message( "llvm-spirv: ${LLVM_SPIRV}" )
 message( "" )
 if( NOT LLVM_CLANG OR NOT LLVM_OPT OR NOT LLVM_AS OR NOT LLVM_LINK )
message( FATAL_ERROR "toolchain incomplete!" )
 endif()
 
+list( SORT LIBCLC_TARGETS_TO_BUILD )
+
+if( "spirv-mesa3d-" IN_LIST LIBCLC_TARGETS_TO_BUILD OR "spirv64-mesa3d-" 
IN_LIST LIBCLC_TARGETS_TO_BUILD )
+   if( NOT LLVM_SPIRV )
+   message( FATAL_ERROR "SPIR-V targets requested, but spirv-tools 
is not installed" )
+   endif()
+endif()
+
 set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
 set( CMAKE_CLC_COMPILER ${LLVM_CLANG} )
 set( CMAKE_CLC_ARCHIVE ${LLVM_LINK} )
@@ -137,6 +149,8 @@
 set( nvptx64--_devices none )
 set( nvptx--nvidiacl_devices none )
 set( nvptx64--nvidiacl_devices none )
+set( spirv-mesa3d-_devices none )
+set( spirv64-mesa3d-_devices none )
 
 # Setup aliases
 set( cedar_aliases palm sumo sumo2 redwood juniper )
@@ -170,11

commit libclc for openSUSE:Factory

2021-01-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libclc for openSUSE:Factory checked 
in at 2021-01-15 19:43:45

Comparing /work/SRC/openSUSE:Factory/libclc (Old)
 and  /work/SRC/openSUSE:Factory/.libclc.new.28504 (New)


Package is "libclc"

Fri Jan 15 19:43:45 2021 rev:14 rq:861998 version:0.2.0+llvm11.0.1

Changes:

--- /work/SRC/openSUSE:Factory/libclc/libclc.changes2020-11-02 
09:41:31.205674793 +0100
+++ /work/SRC/openSUSE:Factory/.libclc.new.28504/libclc.changes 2021-01-15 
19:43:45.537793032 +0100
@@ -1,0 +2,5 @@
+Sat Jan  9 16:37:14 UTC 2021 - Aaron Puchert 
+
+- Update to version 0.2.0+llvm11.0.1.
+
+---

Old:

  libclc-11.0.0.src.tar.xz

New:

  libclc-11.0.1.src.tar.xz



Other differences:
--
++ libclc.spec ++
--- /var/tmp/diff_new_pack.89BBD6/_old  2021-01-15 19:43:46.049793870 +0100
+++ /var/tmp/diff_new_pack.89BBD6/_new  2021-01-15 19:43:46.053793877 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libclc
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%define _libclc_llvm_ver 11.0.0
+%define _libclc_llvm_ver 11.0.1
 
 Name:   libclc
 Version:0.2.0+llvm%{_libclc_llvm_ver}

++ libclc-11.0.0.src.tar.xz -> libclc-11.0.1.src.tar.xz ++