diff --git a/pocl-1.0.tar.gz b/pocl-1.0.tar.gz deleted file mode 100644 index 5195a3f..0000000 --- a/pocl-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94bd86a2f9847c03e6c3bf8dca12af3734f8b272ffeacbc3fa8fcca58844b1d4 -size 1536827 diff --git a/pocl-1.1.tar.gz b/pocl-1.1.tar.gz new file mode 100644 index 0000000..1c57dc3 --- /dev/null +++ b/pocl-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e8dd0693a88c84937754df947b202871a40545b1b0a97ebefa370b0281c3c53 +size 1545659 diff --git a/pocl.changes b/pocl.changes index fb38a7d..f646bcf 100644 --- a/pocl.changes +++ b/pocl.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Mar 9 17:17:10 UTC 2018 - mardnh@gmx.de + +- 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 - mardnh@gmx.de + +- Create subpackage for the shared library +- Run tests after the build + ------------------------------------------------------------------- Wed Jan 31 14:51:17 UTC 2018 - msrb@suse.com diff --git a/pocl.spec b/pocl.spec index 5e43522..2b394b6 100644 --- a/pocl.spec +++ b/pocl.spec @@ -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,8 +27,9 @@ Summary: Portable Computing Language - an OpenCL implementation # 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 @@ -44,7 +45,7 @@ BuildRequires: uthash-devel BuildRequires: pkgconfig(OpenCL) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(hwloc) -Requires: clang4 +Requires: clang Requires: gcc Requires: libstdc++-devel Requires: libut2 @@ -67,6 +68,17 @@ can generate multi-work-item work-group functions that exploit various types of 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 @@ -106,14 +118,17 @@ This subpackage provides the development files needed for pocl. # 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 # 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 +136,16 @@ sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' %{buildroot}%{_sysconfdir}/OpenCL %dir %{_sysconfdir}/OpenCL/vendors %{_sysconfdir}/OpenCL/vendors/pocl.icd %{_bindir}/poclcc -%{_libdir}/libpocl.so.2 -%{_libdir}/libpocl.so.%{sover} -%{_libdir}/libpoclu.so.2 -%{_libdir}/libpoclu.so.%{sover} -%{_libdir}/pocl/ %{_datadir}/pocl/ +%files -n libpocl2 +%{_libdir}/libpocl.so.2 +%{_libdir}/libpocl.so.%{sover} +%dir %{_libdir}/pocl/ +%{_libdir}/pocl/libllvmopencl.so + %files devel -%{_libdir}/libpoclu.so %{_libdir}/libpocl.so %{_libdir}/pkgconfig/pocl.pc -%{_includedir}/poclu.h %changelog