Accepting request 341078 from science

1

OBS-URL: https://build.opensuse.org/request/show/341078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pocl?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2015-10-28 16:30:39 +00:00 committed by Git OBS Bridge
commit 8e2d5fe9d5
5 changed files with 70 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24bb801fb87d104b66faaa95d1890776fdeabb37ad1b12fb977281737c7f29bb
size 1561743

3
pocl-0.12.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5160d7a59721e6a7d0fc85868381c0afceaa7c07b9956c9be1e3b51e80c29f76
size 1741325

2
pocl-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
addFilter("devel-file-in-non-devel-package")
addFilter("W: non-conffile-in-etc /etc/OpenCL/vendors/pocl.icd")

View File

@ -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

View File

@ -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 <guillaume@opensuse.org>
#
# 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