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.changes    2022-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 <aaronpuch...@alice-dsl.net>
+
+- 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_<LANG>_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_<LANG>_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)

Reply via email to