Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package intel-graphics-compiler for openSUSE:Factory checked in at 2023-08-28 17:12:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/intel-graphics-compiler (Old) and /work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "intel-graphics-compiler" Mon Aug 28 17:12:14 2023 rev:6 rq:1105566 version:1.0.14062.11 Changes: -------- --- /work/SRC/openSUSE:Factory/intel-graphics-compiler/intel-graphics-compiler.changes 2023-06-16 16:55:32.469954137 +0200 +++ /work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.1766/intel-graphics-compiler.changes 2023-08-28 17:12:20.978476573 +0200 @@ -1,0 +2,9 @@ +Wed Aug 23 08:12:50 UTC 2023 - Patrik Jakobsson <patrik.jakobs...@suse.com> + +- Update to version 1.0.14062.11 +- Update llvm to llvmorg-14.0.5 + * Removed 0001-llvm-needs-to-include-cstdio-for-gcc13.patch +- Update opencl_clang to 78c5e3f59e49f337c6a9af7818f0c8b918bee4bf +- Update spirv-llvm-translator to 23f398bf369093b1fd67459db8071ffcc6b92658 + +------------------------------------------------------------------- @@ -6,0 +16,6 @@ + +------------------------------------------------------------------- +Wed Jun 14 07:27:57 UTC 2023 - Patrik Jakobsson <patrik.jakobs...@suse.com> + +- Update to version 1.0.13822.6 (bsc#1212193) +- Update spirv-llvm-translator to a4e58ffda317221a15149f9d0d4f73424c9584fb Old: ---- 0001-llvm-needs-to-include-cstdio-for-gcc13.patch igc-1.0.13822.6.tar.gz New: ---- igc-1.0.14062.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ intel-graphics-compiler.spec ++++++ --- /var/tmp/diff_new_pack.9PzaWK/_old 2023-08-28 17:12:25.710646513 +0200 +++ /var/tmp/diff_new_pack.9PzaWK/_new 2023-08-28 17:12:25.714646656 +0200 @@ -16,12 +16,12 @@ # -%global llvm_commit llvmorg-11.1.0 -%global opencl_clang_commit 10237c7109d613ef1161065d140b76d92133062f -%global spirv_llvm_translator_commit a4e58ffda317221a15149f9d0d4f73424c9584fb +%global llvm_commit llvmorg-14.0.5 +%global opencl_clang_commit 78c5e3f59e49f337c6a9af7818f0c8b918bee4bf +%global spirv_llvm_translator_commit 23f398bf369093b1fd67459db8071ffcc6b92658 %global vc_intrinsics_commit v0.12.3 Name: intel-graphics-compiler -Version: 1.0.13822.6 +Version: 1.0.14062.11 Release: 1%{?dist} Summary: Intel Graphics Compiler for OpenCL License: MIT @@ -32,8 +32,7 @@ Source2: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/%{spirv_llvm_translator_commit}/spirv-llvm-translator.tar.gz Source3: https://github.com/llvm/llvm-project/archive/%{llvm_commit}/llvm-project.tar.gz Source4: https://github.com/intel/vc-intrinsics/archive/%{vc_intrinsics_commit}/vc-intrinsics.zip -Patch0: 0001-llvm-needs-to-include-cstdio-for-gcc13.patch -Patch1: 0001-Use-patch-instead-of-git-to-apply-opencl-clang-patch.patch +Patch0: 0001-Use-patch-instead-of-git-to-apply-opencl-clang-patch.patch BuildRequires: bison BuildRequires: cmake BuildRequires: flex @@ -101,18 +100,17 @@ %description -n libigdfcl-devel This package contains development files for libigdfcl. -%package -n libopencl-clang11 +%package -n libopencl-clang14 Summary: A wrapper library around clang Group: System/Libraries -%description -n libopencl-clang11 +%description -n libopencl-clang14 A wrapper library around clang. %prep mkdir llvm-project tar -xzf %{_sourcedir}/llvm-project.tar.gz -C llvm-project --strip-components=1 pushd llvm-project -%patch0 -p1 popd unzip %{_sourcedir}/vc-intrinsics.zip @@ -122,7 +120,7 @@ mkdir opencl-clang llvm-spirv tar -xzf %{_sourcedir}/intel-opencl-clang.tar.gz -C opencl-clang --strip-components=1 pushd opencl-clang -%patch1 -p1 +%patch0 -p1 popd tar -xzf %{_sourcedir}/spirv-llvm-translator.tar.gz -C llvm-spirv --strip-components=1 popd @@ -142,11 +140,13 @@ export CXXFLAGS="-Wno-nonnull -fPIE" export LDFLAGS="-pie" cmake ../igc \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ + -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DINSTALL_SPIRVDLL=0 \ -DIGC_OPTION__SPIRV_TOOLS_MODE=Prebuilds \ - -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS=ON + -DIGC_OPTION__USE_PREINSTALLED_SPRIV_HEADERS=ON \ + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=%{_includedir}/spirv %make_build popd @@ -156,12 +156,12 @@ %make_install rm -fv %{buildroot}%{_bindir}/GenX_IR \ - %{buildroot}%{_bindir}/clang-11 \ + %{buildroot}%{_bindir}/clang-14 \ %{buildroot}%{_bindir}/lld \ %{buildroot}%{_includedir}/opencl-c.h \ %{buildroot}%{_includedir}/opencl-c-base.h \ %{buildroot}%{_prefix}/lib/debug -chmod +x %{buildroot}%{_libdir}/libopencl-clang.so.11 +chmod +x %{buildroot}%{_libdir}/libopencl-clang.so.14 %post -n libigc1 -p /sbin/ldconfig %postun -n libigc1 -p /sbin/ldconfig @@ -169,8 +169,8 @@ %postun -n libiga64-1 -p /sbin/ldconfig %post -n libigdfcl1 -p /sbin/ldconfig %postun -n libigdfcl1 -p /sbin/ldconfig -%post -n libopencl-clang11 -p /sbin/ldconfig -%postun -n libopencl-clang11 -p /sbin/ldconfig +%post -n libopencl-clang14 -p /sbin/ldconfig +%postun -n libopencl-clang14 -p /sbin/ldconfig %files -n iga %{_bindir}/iga64 @@ -199,7 +199,7 @@ %{_includedir}/visa %{_libdir}/pkgconfig/igc-opencl.pc -%files -n libopencl-clang11 -%{_libdir}/libopencl-clang.so.11 +%files -n libopencl-clang14 +%{_libdir}/libopencl-clang.so.14 %changelog ++++++ 0001-Use-patch-instead-of-git-to-apply-opencl-clang-patch.patch ++++++ --- /var/tmp/diff_new_pack.9PzaWK/_old 2023-08-28 17:12:25.742647662 +0200 +++ /var/tmp/diff_new_pack.9PzaWK/_new 2023-08-28 17:12:25.742647662 +0200 @@ -1,18 +1,18 @@ -From b8c0b98bd88c660eed1f3978bfd3a6929da2aaae Mon Sep 17 00:00:00 2001 +From 361738d16246949f4a8c2bb77c23ff9ba5a3d46f Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson <patrik.r.jakobs...@gmail.com> Date: Tue, 28 Mar 2023 10:34:25 +0200 Subject: [PATCH] Use patch instead of git to apply opencl-clang patches Signed-off-by: Patrik Jakobsson <pjakobs...@suse.de> --- - cmake/modules/CMakeFunctions.cmake | 72 +++++++----------------------- - 1 file changed, 15 insertions(+), 57 deletions(-) + cmake/modules/CMakeFunctions.cmake | 71 +++++++----------------------- + 1 file changed, 15 insertions(+), 56 deletions(-) diff --git a/cmake/modules/CMakeFunctions.cmake b/cmake/modules/CMakeFunctions.cmake -index fec3359..86a2985 100644 +index d8f3503..1cd9f1e 100644 --- a/cmake/modules/CMakeFunctions.cmake +++ b/cmake/modules/CMakeFunctions.cmake -@@ -99,65 +99,23 @@ function(apply_patches repo_dir patches_dirs base_revision target_branch ret) +@@ -98,64 +98,23 @@ function(apply_patches repo_dir patches_dir base_revision target_branch ret) endif() message(STATUS "[OPENCL-CLANG] Patching repository ${repo_dir}") @@ -25,8 +25,7 @@ - ) - if(patches_needed EQUAL 128) # not a git repo - set(ret_not_git_repo 1) -- message(STATUS "[OPENCL-CLANG] Is not a git repo") -- elseif(patches_needed) # The target branch doesn't exist +- elseif(patches_needed) # The target branch doesn't exist - list(SORT patches) - is_valid_revision(${repo_dir} ${base_revision} exists_base_rev) + list(SORT patches) @@ -81,11 +80,11 @@ - execute_process( # Check it out - COMMAND ${GIT_EXECUTABLE} checkout ${target_branch} - WORKING_DIRECTORY ${repo_dir} -- RESULT_VARIABLE ret_check_out - OUTPUT_QUIET +- RESULT_VARIABLE ret_check_out - ) - endif() -- if (NOT (ret_not_git_repo OR ret_check_out OR ret_apply_patch)) +- if (NOT (ret_not_git_repo OR ret_check_out OR ret_apply_patch)) + message(STATUS "[OPENCL-CLANG] Applied patch ${patch}") + endforeach(patch) + @@ -94,6 +93,6 @@ else() message(FATAL_ERROR "[OPENCL-CLANG] Failed to apply patch!") -- -2.40.1 +2.41.0 ++++++ igc-1.0.13822.6.tar.gz -> igc-1.0.14062.11.tar.gz ++++++ /work/SRC/openSUSE:Factory/intel-graphics-compiler/igc-1.0.13822.6.tar.gz /work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.1766/igc-1.0.14062.11.tar.gz differ: char 26, line 1 ++++++ intel-opencl-clang.tar.gz ++++++ ++++ 10094 lines of diff (skipped) ++++++ llvm-project.tar.gz ++++++ /work/SRC/openSUSE:Factory/intel-graphics-compiler/llvm-project.tar.gz /work/SRC/openSUSE:Factory/.intel-graphics-compiler.new.1766/llvm-project.tar.gz differ: char 12, line 1 ++++++ spirv-llvm-translator.tar.gz ++++++ ++++ 101198 lines of diff (skipped)