From 9c962ad7ab3f350eae20e09811318ca45208113d9666d2aca38aa1b9810898e9 Mon Sep 17 00:00:00 2001 From: Dmitry Roshchin Date: Mon, 26 Oct 2015 21:54:13 +0000 Subject: [PATCH] Accepting request 341067 from home:mnhauke:opencl:stable update to version 0.12 OBS-URL: https://build.opensuse.org/request/show/341067 OBS-URL: https://build.opensuse.org/package/show/science/pocl?expand=0&rev=5 --- pocl-0.11.tar.gz | 3 --- pocl-0.12.tar.gz | 3 +++ pocl-rpmlintrc | 2 ++ pocl.changes | 35 ++++++++++++++++++++++++++++ pocl.spec | 60 ++++++++++++++++++++++++------------------------ 5 files changed, 70 insertions(+), 33 deletions(-) delete mode 100644 pocl-0.11.tar.gz create mode 100644 pocl-0.12.tar.gz create mode 100644 pocl-rpmlintrc diff --git a/pocl-0.11.tar.gz b/pocl-0.11.tar.gz deleted file mode 100644 index 5dbbb52..0000000 --- a/pocl-0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24bb801fb87d104b66faaa95d1890776fdeabb37ad1b12fb977281737c7f29bb -size 1561743 diff --git a/pocl-0.12.tar.gz b/pocl-0.12.tar.gz new file mode 100644 index 0000000..caeb095 --- /dev/null +++ b/pocl-0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5160d7a59721e6a7d0fc85868381c0afceaa7c07b9956c9be1e3b51e80c29f76 +size 1741325 diff --git a/pocl-rpmlintrc b/pocl-rpmlintrc new file mode 100644 index 0000000..73707b1 --- /dev/null +++ b/pocl-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("devel-file-in-non-devel-package") +addFilter("W: non-conffile-in-etc /etc/OpenCL/vendors/pocl.icd") diff --git a/pocl.changes b/pocl.changes index 70eb9b9..7bce886 100644 --- a/pocl.changes +++ b/pocl.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Mon Oct 26 20:02:35 UTC 2015 - mardnh@gmx.de + +- update to version 0.12 + Highlights + * Support for HSA-compliant devices (kernel agents). The GPU of AMD Kaveri + now works through pocl with a bunch of test cases in the AMD SDK 2.9 example + suite. + * New and improved kernel cache system that enables caching + kernels with #includes. + * Support for LLVM/Clang 3.7. + * Little endian MIPS32 now passes almost all pocl testsuite tests. + + OpenCL Runtime/Platform API support + * Transferred buffer read/write/copy offset calculation to device driver side. + - these driver api functions have changed; got offset as a new argument. + * Maximum allocation is not limited to 1/4th of total memory size. + * Maximum image dimensions grow to fit maximum allocation. + * clGetDeviceInfo() reports better information about CPU vendor and cache. + * experimental clCreateSubDevices() for pthread CPU device. + + OpenCL C Builtin Function Implementations + * Implemented get_image_dim(). + + Bugfixes + * Avoid infinite loops when users recycle an event waiting list. + * Correctly report the base address alignment. + * Lots of others. + + Misc + * Tests now using new cl2.hpp, removing dependency on OpenGL headers + +- remove OpenGL-related packages from BuildRequires +- add rpmlintrc + ------------------------------------------------------------------- Wed Jul 1 14:54:09 UTC 2015 - cdenicolo@suse.com diff --git a/pocl.spec b/pocl.spec index ba2e004..cbd03a6 100644 --- a/pocl.spec +++ b/pocl.spec @@ -1,7 +1,7 @@ # # spec file for package pocl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2014 Guillaume GARDET # # All modifications and additions to the file contributed by third parties @@ -16,44 +16,42 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: pocl Summary: Portable Computing Language - an OpenCL implementation -Version: 0.11 +License: MIT +Group: Productivity/Other +Version: 0.12 Release: 0 # 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) -License: MIT -Group: Productivity/Other Url: http://portablecl.org/ -Source0: http://portablecl.org/downloads/%{name}-%{version}.tar.gz +Source0: http://portablecl.org/downloads/%{name}-%{version}.tar.gz +Source99: pocl-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build # Only armv7l is supported # PPC support is currently broken, due to path problems # s390(x) and aarch64 also not supported, so use ExclusiveArch -ExclusiveArch: %{ix86} x86_64 armv7l armv7hl -BuildRequires: cmake >= 2.8.12 -BuildRequires: boost-devel -BuildRequires: llvm-clang >= 3.3 -BuildRequires: llvm-clang-devel >= 3.3 -BuildRequires: llvm >= 3.3 -BuildRequires: llvm-devel >= 3.3 -BuildRequires: libtool -BuildRequires: libtool-ltdl-devel -BuildRequires: pkgconfig -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glu) -BuildRequires: pkgconfig(glew) -BuildRequires: pkgconfig(OpenCL) -BuildRequires: pkgconfig(hwloc) -BuildRequires: ncurses-devel -BuildRequires: opencl-headers -BuildRequires: uthash-devel +ExclusiveArch: %{ix86} x86_64 armv7l armv7hl +BuildRequires: boost-devel +BuildRequires: cmake >= 2.8.12 +BuildRequires: libtool +BuildRequires: libtool-ltdl-devel +BuildRequires: llvm >= 3.3 +BuildRequires: llvm-clang >= 3.3 +BuildRequires: llvm-clang-devel >= 3.3 +BuildRequires: llvm-devel >= 3.3 +BuildRequires: ncurses-devel +BuildRequires: opencl-headers +BuildRequires: pkgconfig +BuildRequires: uthash-devel +BuildRequires: pkgconfig(OpenCL) +BuildRequires: pkgconfig(hwloc) #BuildRequires: vecmath-devel -Requires: llvm-clang >= 3.3 -Requires: uthash Requires: libstdc++-devel - +Requires: llvm-clang >= 3.3 +Requires: uthash %description Portable Computing Language (pocl) aims to become a MIT-licensed open source @@ -74,11 +72,10 @@ issues in parallel programming on heterogeneous platforms. %package devel -Summary: Portable Computing Language - development files +Summary: Portable Computing Language - development files Group: Development/Languages/Other -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: opencl-headers - +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: opencl-headers %description devel Portable Computing Language (pocl) aims to become a MIT-licensed open source @@ -108,6 +105,9 @@ make %{?_smp_mflags} %install %cmake_install +# FIXME - should be handled upstream +chmod 755 %{buildroot}/%{_bindir}/pocl-standalone + # Unbundle vecmath #rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/ #ln -vs %{_includedir}/vecmath %{buildroot}/%{_libdir}/pocl/vecmath