Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pocl for openSUSE:Factory checked in at 2022-06-09 14:11:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pocl (Old) and /work/SRC/openSUSE:Factory/.pocl.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pocl" Thu Jun 9 14:11:58 2022 rev:25 rq:981390 version:1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/pocl/pocl.changes 2021-10-31 22:56:46.911750780 +0100 +++ /work/SRC/openSUSE:Factory/.pocl.new.1548/pocl.changes 2022-06-09 14:12:09.704557714 +0200 @@ -1,0 +2,10 @@ +Sat Jun 4 14:33:49 UTC 2022 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Use LLVM 13 on Tumbleweed, since LLVM 14 does not yet work + according to upstream. (gh#pocl/pocl#1047, gh#pocl/pocl#1048) +- Require at least version 6 of clang-devel, older versions are + not supported. (Otherwise configuration will fail.) +- Strip prefix from CMAKE_INSTALL_LIBDIR on older distributions + to fix paths there. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pocl.spec ++++++ --- /var/tmp/diff_new_pack.OR6ViP/_old 2022-06-09 14:12:10.228558416 +0200 +++ /var/tmp/diff_new_pack.OR6ViP/_new 2022-06-09 14:12:10.232558421 +0200 @@ -1,7 +1,7 @@ # # spec file for package pocl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2014 Guillaume GARDET <guilla...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -31,7 +31,11 @@ Source0: https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: pocl-rpmlintrc Patch0: link_against_libclang-cpp_so.patch -BuildRequires: clang-devel +%if 0%{?suse_version} > 1500 +BuildRequires: clang13-devel +%else +BuildRequires: clang-devel >= 6.0.0 +%endif BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja @@ -88,6 +92,11 @@ %setup -q %patch0 -p1 +%if 0%{?suse_version} > 1500 +# Make sure we use the right LLVM version. +sed -i 's/find_program_or_die( *\([^ ]*\) *"\([^"]*\)" *"\([^"]*\)" *)/find_program_or_die(\1 "\2-%{pkg_version clang13-devel}" "\3")/g' cmake/LLVM.cmake +%endif + %build %define __builder ninja %cmake \ @@ -103,6 +112,9 @@ %ifarch aarch64 -DLLC_HOST_CPU=cortex-a53 \ %endif +%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300 + -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ +%endif -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config sed -i 's/-Wl,--no-undefined//g' CMakeCache.txt @@ -112,8 +124,6 @@ %install %cmake_install -# TODO: check packaging instructions -sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' %{buildroot}%{_datadir}/OpenCL/vendors/pocl.icd # Unbundle vecmath #rm -vf %%{buildroot}/%%{_libdir}/pocl/vecmath/ #ln -vs %%{_includedir}/vecmath %%{buildroot}/%%{_libdir}/pocl/vecmath