Accepting request 589772 from home:mnhauke:opencl:stable
- 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. - Create subpackage for the shared library - Run tests after the build OBS-URL: https://build.opensuse.org/request/show/589772 OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=33
This commit is contained in:
parent
6c7efe3f2b
commit
90ac70aa6e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94bd86a2f9847c03e6c3bf8dca12af3734f8b272ffeacbc3fa8fcca58844b1d4
|
||||
size 1536827
|
3
pocl-1.1.tar.gz
Normal file
3
pocl-1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e8dd0693a88c84937754df947b202871a40545b1b0a97ebefa370b0281c3c53
|
||||
size 1545659
|
17
pocl.changes
17
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
|
||||
|
||||
|
48
pocl.spec
48
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
|
||||
# <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 +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
|
||||
|
Loading…
Reference in New Issue
Block a user