Hello community, here is the log from the commit of package pocl for openSUSE:Factory checked in at 2018-05-16 11:43:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pocl (Old) and /work/SRC/openSUSE:Factory/.pocl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pocl" Wed May 16 11:43:22 2018 rev:14 rq:609064 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pocl/pocl.changes 2018-02-01 21:29:34.540548649 +0100 +++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes 2018-05-16 11:44:16.786432682 +0200 @@ -1,0 +2,22 @@ +Tue May 15 20:34:02 UTC 2018 - [email protected] + +- move nonversioned lib to main package + +------------------------------------------------------------------- +Fri Mar 9 17:17:10 UTC 2018 - [email protected] + +- Update to version 1.1 + * Support for LLVM/Clang 6.0 and 5.0. + * Experimental SPIR and SPIR-V support + * Improved kernel compilation speed +- Several tests have problems on some OBS workers while the same + tests run perfectly fine in a local chroot. + Disable tests for now. + +------------------------------------------------------------------- +Mon Mar 5 19:34:47 UTC 2018 - [email protected] + +- Create subpackage for the shared library +- Run tests after the build + +------------------------------------------------------------------- Old: ---- pocl-1.0.tar.gz New: ---- pocl-1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pocl.spec ++++++ --- /var/tmp/diff_new_pack.xRspqG/_old 2018-05-16 11:44:17.458408222 +0200 +++ /var/tmp/diff_new_pack.xRspqG/_new 2018-05-16 11:44:17.462408076 +0200 @@ -17,9 +17,9 @@ # -%define sover 2.0.0 +%define sover 2.1.0 Name: pocl -Version: 1.0 +Version: 1.1 Release: 0 Summary: Portable Computing Language - an OpenCL implementation # The whole code is under MIT @@ -27,11 +27,12 @@ # except lib/kernel/vecmath which is under GPLv3+ or LGPLv3+ (and unbundled in future) License: MIT Group: Development/Tools/Other -Url: http://portablecl.org/ -Source0: http://portablecl.org/downloads/%{name}-%{version}.tar.gz +URL: http://portablecl.org/ +#Source0: http://portablecl.org/downloads/%{name}-%{version}.tar.gz +Source0: https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: pocl-rpmlintrc -BuildRequires: clang -BuildRequires: clang-devel +BuildRequires: clang < 7 +BuildRequires: clang-devel < 7 BuildRequires: cmake BuildRequires: libboost_headers-devel BuildRequires: libtool @@ -44,7 +45,7 @@ BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(hwloc) -Requires: clang4 +Requires: clang < 7 Requires: gcc Requires: libstdc++-devel Requires: libut2 @@ -67,10 +68,22 @@ parallel hardware resources, such as VLIW, superscalar, SIMD, SIMT, multicore and multithread. +%package -n libpocl2 +Summary: Shared Library part of pocl +Group: System/Libraries + +%description -n libpocl2 +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. + +This subpackage contains the share library part of pocl. + %package devel Summary: Development files for the Portable Computing Language Group: Development/Languages/Other Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libpocl2 = %{version}-%{release} Requires: opencl-headers %description devel @@ -106,14 +119,17 @@ # FIXME - should be handled upstream mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir} sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' %{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd - # Unbundle vecmath -#rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/ -#ln -vs %{_includedir}/vecmath %{buildroot}/%{_libdir}/pocl/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 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +#%%check +#cd build +#ctest + +%post -n libpocl2 -p /sbin/ldconfig +%postun -n libpocl2 -p /sbin/ldconfig %files %doc CHANGES README doc/sphinx/source/*.rst @@ -121,17 +137,16 @@ %dir %{_sysconfdir}/OpenCL/vendors %{_sysconfdir}/OpenCL/vendors/pocl.icd %{_bindir}/poclcc +%dir %{_libdir}/pocl/ +%{_libdir}/pocl/libllvmopencl.so +%{_datadir}/pocl/ + +%files -n libpocl2 %{_libdir}/libpocl.so.2 %{_libdir}/libpocl.so.%{sover} -%{_libdir}/libpoclu.so.2 -%{_libdir}/libpoclu.so.%{sover} -%{_libdir}/pocl/ -%{_datadir}/pocl/ %files devel -%{_libdir}/libpoclu.so %{_libdir}/libpocl.so %{_libdir}/pkgconfig/pocl.pc -%{_includedir}/poclu.h %changelog ++++++ pocl-1.0.tar.gz -> pocl-1.1.tar.gz ++++++ ++++ 9526 lines of diff (skipped)
