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-09-07 11:06:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pocl (Old) and /work/SRC/openSUSE:Factory/.pocl.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pocl" Wed Sep 7 11:06:18 2022 rev:26 rq:1001517 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/pocl/pocl.changes 2022-06-09 14:12:09.704557714 +0200 +++ /work/SRC/openSUSE:Factory/.pocl.new.2083/pocl.changes 2022-09-07 11:06:38.588499023 +0200 @@ -1,0 +2,13 @@ +Tue Sep 6 16:34:33 UTC 2022 - Stefan Br??ns <stefan.bru...@rwth-aachen.de> + +- Update to version 3.0 + * Minimal OpenCL 3.0 feature set should be now supported + (official conformance stamp still to apply for). + * Support for Clang/LLVM 14.0. + * Improved tracing and visualization. + * Support for generating specialized work-group functions and + include them in the PoCL kernel program binaries. + * Fixed printf for SPIR-V. + * A lot of other fixes and improvements. + +------------------------------------------------------------------- Old: ---- pocl-1.8.tar.gz New: ---- pocl-3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pocl.spec ++++++ --- /var/tmp/diff_new_pack.tfyu5t/_old 2022-09-07 11:06:39.120500376 +0200 +++ /var/tmp/diff_new_pack.tfyu5t/_new 2022-09-07 11:06:39.124500386 +0200 @@ -17,25 +17,21 @@ # -%define sover 2.8.0 +%define sover 2 + Name: pocl -Version: 1.8 +Version: 3.0 Release: 0 Summary: Portable Computing Language - an OpenCL implementation # The whole code is under MIT -# except include/utlist.h which is under BSD (and unbundled) and -# except lib/kernel/vecmath which is under GPLv3+ or LGPLv3+ (and unbundled in future) +# except include/utlist.h which is under BSD (and unbundled) License: MIT Group: Development/Tools/Other URL: http://portablecl.org/ 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 -%if 0%{?suse_version} > 1500 -BuildRequires: clang13-devel -%else BuildRequires: clang-devel >= 6.0.0 -%endif BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja @@ -43,11 +39,9 @@ BuildRequires: pkgconfig BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(hwloc) -# Autoreq does not look into the ICD file -Requires: libpocl2 # PPC has limited support/testing from upstream # s390(x) is also not supported, so use ExclusiveArch -ExclusiveArch: %{ix86} x86_64 %arm aarch64 +ExclusiveArch: %{ix86} x86_64 %arm aarch64 riscv64 %description Portable Computing Language (pocl) is an implementation of the OpenCL standard @@ -63,11 +57,11 @@ parallel hardware resources, such as VLIW, superscalar, SIMD, SIMT, multicore and multithread. -%package -n libpocl2 +%package -n libpocl%{sover} Summary: Shared Library part of pocl Group: System/Libraries -%description -n libpocl2 +%description -n libpocl%{sover} Portable Computing Language (pocl) is an implementation of the OpenCL standard which can be adapted for new targets and devices, both for homogeneous CPU and heterogenous GPUs/accelerators. @@ -77,8 +71,8 @@ %package devel Summary: Development files for the Portable Computing Language Group: Development/Languages/Other -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: libpocl2 = %{version}-%{release} +Requires: %{name} = %{version} +Requires: libpocl%{sover} = %{version} Requires: opencl-headers >= 2.2 %description devel @@ -92,11 +86,6 @@ %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 \ @@ -117,20 +106,13 @@ %endif -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config -sed -i 's/-Wl,--no-undefined//g' CMakeCache.txt -sed -i 's/-Wl,--no-undefined//g' build.ninja - -%make_jobs +%cmake_build %install %cmake_install -# Unbundle vecmath -#rm -vf %%{buildroot}/%%{_libdir}/pocl/vecmath/ -#ln -vs %%{_includedir}/vecmath %%{buildroot}/%%{_libdir}/pocl/vecmath -# <visit0r> but you need to run the .py to generate the files under the pocl dir -%post -n libpocl2 -p /sbin/ldconfig -%postun -n libpocl2 -p /sbin/ldconfig +%post -n libpocl%{sover} -p /sbin/ldconfig +%postun -n libpocl%{sover} -p /sbin/ldconfig %files %doc CHANGES README doc/sphinx/source/*.rst @@ -140,14 +122,12 @@ %{_datadir}/OpenCL/vendors/pocl.icd %{_bindir}/poclcc %dir %{_libdir}/pocl/ -%{_libdir}/pocl/libllvmopencl.so %{_libdir}/pocl/libpocl-devices-basic.so %{_libdir}/pocl/libpocl-devices-pthread.so %{_datadir}/pocl/ -%files -n libpocl2 -%{_libdir}/libpocl.so.2 -%{_libdir}/libpocl.so.%{sover} +%files -n libpocl%{sover} +%{_libdir}/libpocl.so.%{sover}* %files devel %{_libdir}/libpocl.so ++++++ pocl-1.8.tar.gz -> pocl-3.0.tar.gz ++++++ ++++ 73287 lines of diff (skipped) ++++++ pocl-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.tfyu5t/_old 2022-09-07 11:06:39.644501707 +0200 +++ /var/tmp/diff_new_pack.tfyu5t/_new 2022-09-07 11:06:39.644501707 +0200 @@ -1,3 +1,2 @@ addFilter("devel-file-in-non-devel-package") -addFilter("W: non-conffile-in-etc /etc/OpenCL/vendors/pocl.icd")