commit pocl for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2020-10-26 16:19:41

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new.3463 (New)


Package is "pocl"

Mon Oct 26 16:19:41 2020 rev:22 rq:843814 version:1.5

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2020-06-26 
21:50:13.854751605 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new.3463/pocl.changes  2020-10-26 
16:20:09.699120846 +0100
@@ -1,0 +2,5 @@
+Fri Oct 23 22:46:28 UTC 2020 - Ondřej Súkup 
+
+- remove broken installation workaround 
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.iqydBZ/_old  2020-10-26 16:20:10.683121638 +0100
+++ /var/tmp/diff_new_pack.iqydBZ/_new  2020-10-26 16:20:10.683121638 +0100
@@ -113,8 +113,7 @@
 
 %install
 %cmake_install
-# FIXME - should be handled upstream
-mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
+# TODO: check packaging instructions
 sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' 
%{buildroot}%{_datadir}/OpenCL/vendors/pocl.icd
 # Unbundle vecmath
 #rm -vf %%{buildroot}/%%{_libdir}/pocl/vecmath/




commit pocl for openSUSE:Factory

2020-06-26 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2020-06-26 21:49:45

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new.3060 (New)


Package is "pocl"

Fri Jun 26 21:49:45 2020 rev:21 rq:817238 version:1.5

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2019-11-18 
20:08:02.213663846 +0100
+++ /work/SRC/openSUSE:Factory/.pocl.new.3060/pocl.changes  2020-06-26 
21:50:13.854751605 +0200
@@ -1,0 +2,14 @@
+Fri Jun 26 11:05:12 UTC 2020 - Stefan Dirsch 
+
+- moved pocl.icd to /usr/share/OpenCL/vendors for real ... 
+
+---
+Thu Jun 25 09:53:25 UTC 2020 - Stefan Dirsch 
+
+- Update to version 1.5
+  * Added support for LLVM/Clang 10.0 
+- adjusted link_against_libclang-cpp_so.patch
+- move pocl.icd from /usr/etc/OpenCL/vendors to 
+  /usr/share/OpenCL/vendors (boo#1173005)
+
+---

Old:

  pocl-1.4.tar.gz

New:

  pocl-1.5.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.YtRkE6/_old  2020-06-26 21:50:14.726754411 +0200
+++ /var/tmp/diff_new_pack.YtRkE6/_new  2020-06-26 21:50:14.726754411 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pocl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2014 Guillaume GARDET 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,9 +17,9 @@
 #
 
 
-%define sover  2.4.0
+%define sover  2.5.0
 Name:   pocl
-Version:1.4
+Version:1.5
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -30,9 +30,8 @@
 URL:http://portablecl.org/
 Source0:
https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-# PATCH-FIX-UPSTREAM -- https://github.com/pocl/pocl/pull/779
 Patch0: link_against_libclang-cpp_so.patch
-BuildConflicts: clang-devel >= 10
+BuildConflicts: clang-devel >= 11
 BuildRequires:  clang-devel >= 6
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -95,7 +94,7 @@
 %cmake \
   -DENABLE_CUDA=0 \
   -DENABLE_ICD=ON \
-  -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
+  -DPOCL_INSTALL_ICD_VENDORDIR=%{_datadir}/OpenCL/vendors \
 %ifarch %{ix86} x86_64
   -DKERNELLIB_HOST_CPU_VARIANTS=distro \
 %endif
@@ -107,13 +106,16 @@
 %endif
   -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config
 
+sed -i 's/-Wl,--no-undefined//g' CMakeCache.txt
+sed -i 's/-Wl,--no-undefined//g' build.ninja
+
 %make_jobs
 
 %install
 %cmake_install
 # FIXME - should be handled upstream
 mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
-sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' 
%{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd
+sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' 
%{buildroot}%{_datadir}/OpenCL/vendors/pocl.icd
 # Unbundle vecmath
 #rm -vf %%{buildroot}/%%{_libdir}/pocl/vecmath/
 #ln -vs %%{_includedir}/vecmath %%{buildroot}/%%{_libdir}/pocl/vecmath
@@ -125,9 +127,9 @@
 %files
 %doc CHANGES README doc/sphinx/source/*.rst
 %license LICENSE
-%dir %{_sysconfdir}/OpenCL/
-%dir %{_sysconfdir}/OpenCL/vendors
-%{_sysconfdir}/OpenCL/vendors/pocl.icd
+%dir %{_datadir}/OpenCL/
+%dir %{_datadir}/OpenCL/vendors
+%{_datadir}/OpenCL/vendors/pocl.icd
 %{_bindir}/poclcc
 %dir %{_libdir}/pocl/
 %{_libdir}/pocl/libllvmopencl.so

++ link_against_libclang-cpp_so.patch ++
--- /var/tmp/diff_new_pack.YtRkE6/_old  2020-06-26 21:50:14.742754463 +0200
+++ /var/tmp/diff_new_pack.YtRkE6/_new  2020-06-26 21:50:14.742754463 +0200
@@ -1,39 +1,12 @@
-From 079c8e9862550ef7d2c6b1f134efdfdebc67c45e Mon Sep 17 00:00:00 2001
-From: Tom Stellard 
-Date: Thu, 26 Sep 2019 15:33:58 -0700
-Subject: [PATCH] Link against libclang-cpp.so when linking with shared
- libraries
-
-libclang-cpp.so is a new shared object in clang-9.0.0 which
-contains all the clang components in one library.  Doing this will
-save us from having to update cmake when there is a new clang component
-and may provide better performance in LTO builds of clang.

- cmake/LLVM.cmake | 14 ++
- 1 file changed, 10 insertions(+), 4 deletions(-)
-
-diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake
-index a02e2ba74..591b12424 100644
 a/cmake/LLVM.cmake
-+++ b/cmake/LLVM.cmake
-@@ -219,10 +219,16 @@ string(REPLACE " -pedantic" "" LLVM_CXXFLAGS 
"${LLVM_CXXFLAGS}")
+diff -u -r pocl-1.5.orig/cmake/LLVM.cmake pocl-1.5/cmake/LLVM.cmake
+--- pocl-1.5.orig/cmake/LLVM.cmake 2020-06-25 12:22:37.500539000 +0200
 pocl-1.5/cmake/LLVM.cmake  2020-06-25 

commit pocl for openSUSE:Factory

2019-11-18 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2019-11-18 20:07:54

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new.26869 (New)


Package is "pocl"

Mon Nov 18 20:07:54 2019 rev:20 rq:745273 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2019-08-05 
10:36:24.951334309 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new.26869/pocl.changes 2019-11-18 
20:08:02.213663846 +0100
@@ -1,0 +2,13 @@
+Mon Nov  4 20:04:34 UTC 2019 - Stefan Brüns 
+
+- Update to version 1.4
+  * Support for LLVM/Clang 8.0 and 9.0
+  * Support for LLVM older than 6.0 has been removed.
+  * Improved SPIR and SPIR-V support for CPU device
+  * pocl-accel: An example driver and support infrastructure for
+OpenCL 1.2 CL_DEVICE_TYPE_CUSTOM hardware accelerators.
+- Remove upstreamed fix_resources_path_version_dependency.patch
+- Fix build with single-component libclang-cpp.so, add
+  link_against_libclang-cpp_so.patch
+
+---

Old:

  fix_resources_path_version_dependency.patch
  pocl-1.3.tar.gz

New:

  link_against_libclang-cpp_so.patch
  pocl-1.4.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.SpsHsF/_old  2019-11-18 20:08:02.981663461 +0100
+++ /var/tmp/diff_new_pack.SpsHsF/_new  2019-11-18 20:08:02.985663460 +0100
@@ -17,9 +17,9 @@
 #
 
 
-%define sover  2.3.0
+%define sover  2.4.0
 Name:   pocl
-Version:1.3
+Version:1.4
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -30,14 +30,12 @@
 URL:http://portablecl.org/
 Source0:
https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-# PATCH-FIX-UPSTREAM - The clang resources path at compile time includes the 
full version, determine at runtime
-Patch0: fix_resources_path_version_dependency.patch
-BuildRequires:  clang
-BuildConflicts: clang >= 9
-BuildRequires:  clang-devel >= 4
+# PATCH-FIX-UPSTREAM -- https://github.com/pocl/pocl/pull/779
+Patch0: link_against_libclang-cpp_so.patch
+BuildConflicts: clang-devel >= 10
+BuildRequires:  clang-devel >= 6
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  libtool-ltdl-devel
 BuildRequires:  ninja
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
@@ -45,10 +43,6 @@
 BuildRequires:  pkgconfig(hwloc)
 # Autoreq does not look into the ICD file
 Requires:   libpocl2
-%if 0%{?sle_version} == 15 && 0%{?is_opensuse}
-# Old versions have opencl-c.h in the clang package, not libclang
-Requires:   clang5
-%endif
 # PPC has limited support/testing from upstream
 # s390(x) is also not supported, so use ExclusiveArch
 ExclusiveArch:  %{ix86} x86_64 %arm aarch64

++ link_against_libclang-cpp_so.patch ++
>From 079c8e9862550ef7d2c6b1f134efdfdebc67c45e Mon Sep 17 00:00:00 2001
From: Tom Stellard 
Date: Thu, 26 Sep 2019 15:33:58 -0700
Subject: [PATCH] Link against libclang-cpp.so when linking with shared
 libraries

libclang-cpp.so is a new shared object in clang-9.0.0 which
contains all the clang components in one library.  Doing this will
save us from having to update cmake when there is a new clang component
and may provide better performance in LTO builds of clang.
---
 cmake/LLVM.cmake | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/cmake/LLVM.cmake b/cmake/LLVM.cmake
index a02e2ba74..591b12424 100644
--- a/cmake/LLVM.cmake
+++ b/cmake/LLVM.cmake
@@ -219,10 +219,16 @@ string(REPLACE " -pedantic" "" LLVM_CXXFLAGS 
"${LLVM_CXXFLAGS}")
 string(REGEX REPLACE "-W[^ ]*" "" LLVM_CXXFLAGS "${LLVM_CXXFLAGS}")
 
 # Llvm-config does not include clang libs
-set(CLANG_LIBNAMES clangCodeGen clangFrontendTool clangFrontend clangDriver 
clangSerialization
-clangParse clangSema clangRewrite clangRewriteFrontend
-clangStaticAnalyzerFrontend clangStaticAnalyzerCheckers
-clangStaticAnalyzerCore clangAnalysis clangEdit clangAST clangASTMatchers 
clangLex clangBasic)
+if(8 LESS LLVM_MAJOR AND LLVM_LIB_IS_SHARED MATCHES "shared")
+  # Link against a single shared library instead of multiple component shared
+  # libraries.
+  set(CLANG_LIBNAMES clang-cpp)
+else()
+  set(CLANG_LIBNAMES clangCodeGen clangFrontendTool clangFrontend clangDriver 
clangSerialization
+  clangParse clangSema clangRewrite clangRewriteFrontend
+  clangStaticAnalyzerFrontend clangStaticAnalyzerCheckers
+  clangStaticAnalyzerCore clangAnalysis clangEdit clangAST 
clangASTMatchers clangLex clangBasic)
+endif()
 
 foreach(LIBNAME ${CLANG_LIBNAM

commit pocl for openSUSE:Factory

2019-08-05 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2019-08-05 10:36:15

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new.4126 (New)


Package is "pocl"

Mon Aug  5 10:36:15 2019 rev:19 rq:720127 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2019-04-08 
10:40:00.655290681 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new.4126/pocl.changes  2019-08-05 
10:36:24.951334309 +0200
@@ -1,0 +2,17 @@
+Sun Jul 28 19:15:03 UTC 2019 - Stefan Brüns 
+
+- Use GCC (default host compiler) for compiling the library itself,
+  and only compile the openCL kernel bytecode with clang, which is the
+  upstream default setup. This also fixes problems where clang chokes
+  on the GCC LTO options.
+- Drop unused boost_headers, glew, ncurses and uthash devel BuildRequires.
+- Remove unneeded extra linker flags.
+- Fix build on ARM, and enable Arch64 (needs explicit CPU specification),
+  supported since pocl 1.1.
+- Fix failing header lookup when minor libclang version changes
+  (https://github.com/pocl/pocl/issues/747), add
+  fix_resources_path_version_dependency.patch
+- Require implementation (libpocl2) from the main package which
+  contains the ICD referencing it.
+
+---

New:

  fix_resources_path_version_dependency.patch



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.FQSKcG/_old  2019-08-05 10:36:26.359334149 +0200
+++ /var/tmp/diff_new_pack.FQSKcG/_new  2019-08-05 10:36:26.367334148 +0200
@@ -30,28 +30,28 @@
 URL:http://portablecl.org/
 Source0:
https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-BuildRequires:  clang < 9
-BuildRequires:  clang-devel < 9
+# PATCH-FIX-UPSTREAM - The clang resources path at compile time includes the 
full version, determine at runtime
+Patch0: fix_resources_path_version_dependency.patch
+BuildRequires:  clang
+BuildConflicts: clang >= 9
+BuildRequires:  clang-devel >= 4
 BuildRequires:  cmake
-BuildRequires:  libboost_headers-devel
-BuildRequires:  libtool
+BuildRequires:  gcc-c++
 BuildRequires:  libtool-ltdl-devel
-BuildRequires:  ncurses-devel
 BuildRequires:  ninja
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
-BuildRequires:  uthash-devel
 BuildRequires:  pkgconfig(OpenCL)
-BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
-Requires:   clang < 9
-Requires:   gcc
-Requires:   libstdc++-devel
-Requires:   libut2
-# 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
+# Autoreq does not look into the ICD file
+Requires:   libpocl2
+%if 0%{?sle_version} == 15 && 0%{?is_opensuse}
+# Old versions have opencl-c.h in the clang package, not libclang
+Requires:   clang5
+%endif
+# PPC has limited support/testing from upstream
+# s390(x) is also not supported, so use ExclusiveArch
+ExclusiveArch:  %{ix86} x86_64 %arm aarch64
 
 %description
 Portable Computing Language (pocl) is an implementation of the OpenCL standard
@@ -76,7 +76,7 @@
 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.
+This subpackage contains the shared library part of pocl.
 
 %package devel
 Summary:Development files for the Portable Computing Language
@@ -94,6 +94,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %define __builder ninja
@@ -101,16 +102,17 @@
   -DENABLE_CUDA=0 \
   -DENABLE_ICD=ON \
   -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
-  -DCMAKE_C_COMPILER=clang  \
-  -DCMAKE_CXX_COMPILER=clang++ \
 %ifarch %{ix86} x86_64
   -DKERNELLIB_HOST_CPU_VARIANTS=distro \
 %endif
-  -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
-  -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
-  -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
-  -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
+%ifarch %{arm}
+  -DLLC_HOST_CPU=cortex-a9 \
+%endif
+%ifarch aarch64
+  -DLLC_HOST_CPU=cortex-a53 \
+%endif
   -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config
+
 %make_jobs
 
 %install

++ fix_resources_path_version_dependency.patch ++
>From dd408ae373b06ee46e178401ab28ecb62b9d2f06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= 
Date: Mon, 29 Jul 2019 17:01:50 +0200
Subject: [PATCH] Determine CLANG resources dir at runtime

When the resources dir is determined at compile time, it also includes
the full vers

commit pocl for openSUSE:Factory

2019-04-08 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2019-04-08 10:38:25

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new.3908 (New)


Package is "pocl"

Mon Apr  8 10:38:25 2019 rev:18 rq:691907 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2018-11-08 
09:48:30.913098060 +0100
+++ /work/SRC/openSUSE:Factory/.pocl.new.3908/pocl.changes  2019-04-08 
10:40:00.655290681 +0200
@@ -1,0 +2,40 @@
+Fri Apr  5 19:56:21 UTC 2019 - Martin Hauke 
+
+- Adjust required clang version (clang < 9) since clang 8 is now
+  supported by upstream.
+
+---
+Thu Apr  4 19:21:26 UTC 2019 - Martin Hauke 
+
+- Update to version 1.3
+  * Support for Clang/LLVM 8.0.
+  Bug Fixes:
+  * Fixed kernel debug symbol generation.
+  * HSA: fix kernel caching.
+  * Fix clCreateImage doesn't fail with unsupported image type.
+  * Fix handle non-kernel functions with barriers properly.
+  * Fix Unable to build pocl with CUDA support with LLVM 7 and host
+GCC 8.2.
+  * Fix image format/size handling with multiple devices in context.
+  * Fix padding issue with context arrays that manifested as unaligned
+access errors after autovectorization.
+  Notable Internal Changes
+  * Add group ids as hidden kernel arguments instead of digging
+them up from the context struct.
+  * Ability to generate the final binary via separate assembly text +
+assembler call. Useful for supporting LLVM targets without direct
+binary emission support.
+  * Use Clang's Driver API for launching the final linkage step. This
+way we utilize the toolchain registry with correct linkage steps
+required for the target at hand.
+  * Add 'device_aux_functions' to the driver layer attributes. This
+can be used to retain device-specific functions required by the
+target across the pruning of unused globals.
+  * The "default kernels" hack which was used to store kernel metadata,
+has been removed. Kernel metadata are now stored only once, in
+cl_program struct; every new cl_kernel structs holds only a pointer.
+  * Major 'pthread' CPU driver cleanup.
+  * Major Workgroup.cc cleanup.
+- Remove reproducible.patch (fixed upstream)
+
+---

Old:

  pocl-1.2.tar.gz
  reproducible.patch

New:

  pocl-1.3.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.LEjAHb/_old  2019-04-08 10:40:03.103291277 +0200
+++ /var/tmp/diff_new_pack.LEjAHb/_new  2019-04-08 10:40:03.111291279 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pocl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014 Guillaume GARDET 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,9 +17,9 @@
 #
 
 
-%define sover  2.2.0
+%define sover  2.3.0
 Name:   pocl
-Version:1.2
+Version:1.3
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -30,9 +30,8 @@
 URL:http://portablecl.org/
 Source0:
https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-Patch0: reproducible.patch
-BuildRequires:  clang < 8
-BuildRequires:  clang-devel < 8
+BuildRequires:  clang < 9
+BuildRequires:  clang-devel < 9
 BuildRequires:  cmake
 BuildRequires:  libboost_headers-devel
 BuildRequires:  libtool
@@ -45,7 +44,7 @@
 BuildRequires:  pkgconfig(OpenCL)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
-Requires:   clang < 8
+Requires:   clang < 9
 Requires:   gcc
 Requires:   libstdc++-devel
 Requires:   libut2
@@ -95,7 +94,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %define __builder ninja

++ pocl-1.2.tar.gz -> pocl-1.3.tar.gz ++
 122847 lines of diff (skipped)




commit pocl for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2018-11-08 09:48:23

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Thu Nov  8 09:48:23 2018 rev:17 rq:646209 version:1.2

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2018-09-25 
15:45:59.657061672 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2018-11-08 
09:48:30.913098060 +0100
@@ -1,0 +2,6 @@
+Wed Oct 31 12:13:35 UTC 2018 - Bernhard Wiedemann 
+
+- Add reproducible.patch to make build result independent of 
+  build system CPU (boo#1110722)
+
+---

New:

  reproducible.patch



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.JXiOJF/_old  2018-11-08 09:48:31.409097476 +0100
+++ /var/tmp/diff_new_pack.JXiOJF/_new  2018-11-08 09:48:31.409097476 +0100
@@ -30,6 +30,7 @@
 URL:http://portablecl.org/
 Source0:
https://github.com/pocl/pocl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
+Patch0: reproducible.patch
 BuildRequires:  clang < 8
 BuildRequires:  clang-devel < 8
 BuildRequires:  cmake
@@ -94,6 +95,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %define __builder ninja

++ reproducible.patch ++
https://bugzilla.opensuse.org/show_bug.cgi?id=1110722
commit e99f4ca98bee7c59d8869a1b1d0aa764ffd5ec28
Author: Michal Babej 
Date:   Thu Oct 11 13:16:43 2018 +0300

Fix PR #667

diff --git a/lib/CL/devices/basic/basic.c b/lib/CL/devices/basic/basic.c
index a64680f0..048f0008 100644
--- a/lib/CL/devices/basic/basic.c
+++ b/lib/CL/devices/basic/basic.c
@@ -354,9 +354,6 @@ pocl_init_cpu_device_infos (cl_device_id dev)
   dev->llvm_cpu = get_llvm_cpu_name ();
 #endif
 
-  if(dev->llvm_cpu && (!strcmp(dev->llvm_cpu, "(unknown)")))
-dev->llvm_cpu = OCL_KERNEL_TARGET_CPU;
-
 #else /* No compiler, no CPU info */
   dev->llvm_cpu = NULL;
   dev->llvm_target_triplet = "";
diff --git a/lib/CL/pocl_llvm_build.cc b/lib/CL/pocl_llvm_build.cc
index fda6e3a2..7b7001f8 100644
--- a/lib/CL/pocl_llvm_build.cc
+++ b/lib/CL/pocl_llvm_build.cc
@@ -839,16 +839,14 @@ static llvm::Module* getKernelLibrary(cl_device_id device)
   kernellib += device->llvm_target_triplet;
   if (is_host) {
 kernellib += '-';
+#ifdef KERNELLIB_HOST_DISTRO_VARIANTS
+kernellib += getX86KernelLibName();
+#else
 kernellib_fallback = kernellib;
 kernellib_fallback += OCL_KERNEL_TARGET_CPU;
 kernellib_fallback += ".bc";
-#ifdef KERNELLIB_HOST_DISTRO_VARIANTS
-if (triple.getArch() == Triple::x86_64 ||
-triple.getArch() == Triple::x86)
-  kernellib += getX86KernelLibName();
-else
+kernellib += device->llvm_cpu;
 #endif
-  kernellib += device->llvm_cpu;
   }
   kernellib += ".bc";
 
@@ -861,6 +859,7 @@ static llvm::Module* getKernelLibrary(cl_device_id device)
 }
   else
 {
+#ifndef KERNELLIB_HOST_DISTRO_VARIANTS
   if (is_host && pocl_exists(kernellib_fallback.c_str()))
 {
   POCL_MSG_WARN("Using fallback %s as the built-in lib.\n",
@@ -868,6 +867,7 @@ static llvm::Module* getKernelLibrary(cl_device_id device)
   lib = parseModuleIR(kernellib_fallback.c_str());
 }
   else
+#endif
 POCL_ABORT("Kernel library file %s doesn't exist.\n", 
kernellib.c_str());
 }
   assert (lib != NULL);
diff --git a/lib/CL/pocl_llvm_utils.cc b/lib/CL/pocl_llvm_utils.cc
index feb88424..163304fe 100644
--- a/lib/CL/pocl_llvm_utils.cc
+++ b/lib/CL/pocl_llvm_utils.cc
@@ -134,11 +134,13 @@ get_llvm_cpu_name ()
   }
 #endif
 
+#ifndef KERNELLIB_HOST_DISTRO_VARIANTS
   if (r.str() == "generic") {
 POCL_MSG_WARN("LLVM does not recognize your cpu, trying to use "
OCL_KERNEL_TARGET_CPU " for -target-cpu\n");
 r = llvm::StringRef(OCL_KERNEL_TARGET_CPU);
   }
+#endif
 
   assert(r.size() > 0);
   char *cpu_name = (char *)malloc(r.size() + 1);



commit pocl for openSUSE:Factory

2018-09-25 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2018-09-25 15:44:45

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Tue Sep 25 15:44:45 2018 rev:16 rq:638018 version:1.2

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2018-08-03 
12:39:14.539742673 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2018-09-25 
15:45:59.657061672 +0200
@@ -1,0 +2,9 @@
+Tue Sep 25 10:30:51 UTC 2018 - Ondřej Súkup 
+
+- update to version 1.2
+  * Support for LLVM/Clang 7.0 and 6.0
+  * HWLOC 2.0 support
+- build kernels with distro support - detect and load cpu
+optimized code on runtime 
+
+---

Old:

  pocl-1.1.tar.gz

New:

  pocl-1.2.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.2A9YDd/_old  2018-09-25 15:46:00.177061117 +0200
+++ /var/tmp/diff_new_pack.2A9YDd/_new  2018-09-25 15:46:00.181061113 +0200
@@ -13,13 +13,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define sover  2.1.0
+%define sover  2.2.0
 Name:   pocl
-Version:1.1
+Version:1.2
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -28,11 +28,10 @@
 License:MIT
 Group:  Development/Tools/Other
 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 < 7
-BuildRequires:  clang-devel < 7
+BuildRequires:  clang < 8
+BuildRequires:  clang-devel < 8
 BuildRequires:  cmake
 BuildRequires:  libboost_headers-devel
 BuildRequires:  libtool
@@ -45,7 +44,7 @@
 BuildRequires:  pkgconfig(OpenCL)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
-Requires:   clang < 7
+Requires:   clang < 8
 Requires:   gcc
 Requires:   libstdc++-devel
 Requires:   libut2
@@ -100,12 +99,12 @@
 %define __builder ninja
 %cmake \
   -DENABLE_CUDA=0 \
-  -DENABLE_ICD=1 \
+  -DENABLE_ICD=ON \
   -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
   -DCMAKE_C_COMPILER=clang  \
   -DCMAKE_CXX_COMPILER=clang++ \
 %ifarch %{ix86} x86_64
-  -DLLC_HOST_CPU=core2 \
+  -DKERNELLIB_HOST_CPU_VARIANTS=distro \
 %endif
   -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
   -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
@@ -121,18 +120,15 @@
 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
+#ln -vs %%{_includedir}/vecmath %%{buildroot}/%%{_libdir}/pocl/vecmath
 #  but you need to run the .py to generate the files under the pocl 
dir
 
-#%%check
-#cd build
-#ctest
-
 %post -n libpocl2 -p /sbin/ldconfig
 %postun -n libpocl2 -p /sbin/ldconfig
 
 %files
 %doc CHANGES README doc/sphinx/source/*.rst
+%license LICENSE
 %dir %{_sysconfdir}/OpenCL/
 %dir %{_sysconfdir}/OpenCL/vendors
 %{_sysconfdir}/OpenCL/vendors/pocl.icd

++ pocl-1.1.tar.gz -> pocl-1.2.tar.gz ++
 38877 lines of diff (skipped)




commit pocl for openSUSE:Factory

2018-08-03 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2018-08-03 12:39:08

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Fri Aug  3 12:39:08 2018 rev:15 rq:627128 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2018-05-16 
11:44:16.786432682 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2018-08-03 
12:39:14.539742673 +0200
@@ -1,0 +2,6 @@
+Mon Jul 30 04:53:06 UTC 2018 - bwiedem...@suse.com
+
+- Disable compile time CPU-detection
+  instead always asume core2 (boo#1100677)
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.GqU2T7/_old  2018-08-03 12:39:14.943743274 +0200
+++ /var/tmp/diff_new_pack.GqU2T7/_new  2018-08-03 12:39:14.943743274 +0200
@@ -105,7 +105,7 @@
   -DCMAKE_C_COMPILER=clang  \
   -DCMAKE_CXX_COMPILER=clang++ \
 %ifarch %{ix86} x86_64
-  -DKERNELLIB_HOST_CPU_VARIANTS=distro \
+  -DLLC_HOST_CPU=core2 \
 %endif
   -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
   -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \




commit pocl for openSUSE:Factory

2018-05-16 Thread root
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.changes2018-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 - mimi...@gmail.com
+
+- move nonversioned lib to main package
+
+---
+Fri Mar  9 17:17:10 UTC 2018 - mar...@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 - mar...@gmx.de
+
+- 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
 #  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}/li

commit pocl for openSUSE:Factory

2018-02-01 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2018-02-01 21:29:33

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Thu Feb  1 21:29:33 2018 rev:13 rq:571526 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2018-01-17 
21:56:04.565495254 +0100
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2018-02-01 
21:29:34.540548649 +0100
@@ -1,0 +2,7 @@
+Wed Jan 31 14:51:17 UTC 2018 - m...@suse.com
+
+- Remove dependency on clang-devel-static. (bnc#1065464)
+  * It was removed, clang-devel now again provides everything
+necessary as shared libraries.
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.uJRQwS/_old  2018-02-01 21:29:35.316512345 +0100
+++ /var/tmp/diff_new_pack.uJRQwS/_new  2018-02-01 21:29:35.320512158 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pocl
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014 Guillaume GARDET 
 #
 # All modifications and additions to the file contributed by third parties
@@ -32,7 +32,6 @@
 Source99:   pocl-rpmlintrc
 BuildRequires:  clang
 BuildRequires:  clang-devel
-BuildRequires:  clang-devel-static
 BuildRequires:  cmake
 BuildRequires:  libboost_headers-devel
 BuildRequires:  libtool




commit pocl for openSUSE:Factory

2018-01-17 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2018-01-17 21:55:49

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Wed Jan 17 21:55:49 2018 rev:12 rq:558754 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-10-27 
14:01:26.927940402 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2018-01-17 
21:56:04.565495254 +0100
@@ -1,0 +2,42 @@
+Tue Dec 19 18:44:43 UTC 2017 - mar...@gmx.de
+
+- Update to version 1.0
+  Highlights
+  * Improved automatic local work-group sizing on kernel enqueue, taking
+into account standard constraints, SIMD width for vectorization as
+well as the number of compute units available on the device.
+  * Support for NVIDIA GPUs via a new CUDA backend (currently experimental).
+  * Removed support for BBVectorizer.
+  * LLVM 5.0 is now supported.
+  * A few build options have been added for distribution builds,
+see README.packaging.
+  * Somewhat improved scalability in the CPU driver. CPUs with many cores
+and programs using a lot of WIs with small kernels can run somewhat faster.
+  * Full conformance with OpenCL 1.2 standard, enabled by default. There are
+some caveats though - see the documentation.
+  * When conformance is enabled, some kernel library functions might be
+slower than in previous releases.
+  * Pocl now reports OpenCL 1.2 instead of 2.0, except HSA enabled builds.
+  * Updated format of pocl binaries, which is NOT backwards compatible.
+  * You'll need to clean any kernel caches.
+  * Fixed several memory leaks.
+  * Unresolved symbols (missing/misspelled functions etc) in a kernel will
+result in error in clBuildProgram() instead of pocl silently ignoring
+them and then aborting at dlopen().
+  * New env variable POCL_MEMORY_LIMIT=N limits the Global memory size
+reported by pocl to N gigabytes.
+  * New env variable POCL_AFFINITY (defaults to 0): if enabled, sets
+the affinity of each CPU driver pthread to a single core.
+  * Improved AVX512 support (with LLVM 5.0). Note that even with LLVM 5.0
+there are still a few bugs (see pocl issue #555); AVX512 + LLVM 4.0 are
+a lot more broken, and probably not worth trying.
+  * POCL_DEBUG env var has been revamped. You can now limit debuginfo to
+these categories (or their combination): all,error,warning,general
+memory,llvm,events,cache,locking,refcounts,timing,hsa,tce,cuda
+  * The old setting POCL_DEBUG=1 now equals error+warning+general.
+- Remove patch:
+  * pocl-disable-tests.diff
+- Disable CUDA backend since it depends on CUDA_TOOLKIT which is
+  not available in Factory
+
+---

Old:

  pocl-0.14.tar.gz
  pocl-disable-tests.diff

New:

  pocl-1.0.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.pR3fiV/_old  2018-01-17 21:56:05.241463634 +0100
+++ /var/tmp/diff_new_pack.pR3fiV/_new  2018-01-17 21:56:05.245463447 +0100
@@ -17,9 +17,9 @@
 #
 
 
-%define sover  1.7.0
+%define sover  2.0.0
 Name:   pocl
-Version:0.14
+Version:1.0
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -30,7 +30,6 @@
 Url:http://portablecl.org/
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-Patch0: pocl-disable-tests.diff
 BuildRequires:  clang
 BuildRequires:  clang-devel
 BuildRequires:  clang-devel-static
@@ -84,12 +83,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %define __builder ninja
 %cmake \
-  -DENABLE_CUDA=1 \
+  -DENABLE_CUDA=0 \
   -DENABLE_ICD=1 \
   -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
   -DCMAKE_C_COMPILER=clang  \
@@ -124,9 +122,9 @@
 %dir %{_sysconfdir}/OpenCL/vendors
 %{_sysconfdir}/OpenCL/vendors/pocl.icd
 %{_bindir}/poclcc
-%{_libdir}/libpocl.so.1
+%{_libdir}/libpocl.so.2
 %{_libdir}/libpocl.so.%{sover}
-%{_libdir}/libpoclu.so.1
+%{_libdir}/libpoclu.so.2
 %{_libdir}/libpoclu.so.%{sover}
 %{_libdir}/pocl/
 %{_datadir}/pocl/

++ pocl-0.14.tar.gz -> pocl-1.0.tar.gz ++
 180797 lines of diff (skipped)




commit pocl for openSUSE:Factory

2017-10-27 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-10-27 14:01:21

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Fri Oct 27 14:01:21 2017 rev:11 rq:536905 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-10-21 
20:22:28.997012655 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-10-27 
14:01:26.927940402 +0200
@@ -1,0 +2,7 @@
+Thu Oct 26 14:13:18 UTC 2017 - mplus...@suse.com
+
+- Simplify spec file a bit
+- Enable CUDA backend
+- Enable all available cpu specific kernels for intel platform
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.ZoJn9f/_old  2017-10-27 14:01:29.499820175 +0200
+++ /var/tmp/diff_new_pack.ZoJn9f/_new  2017-10-27 14:01:29.503819989 +0200
@@ -31,12 +31,13 @@
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
 Patch0: pocl-disable-tests.diff
-BuildRequires:  clang4-devel
-BuildRequires:  clang4-devel-static
-BuildRequires:  cmake >= 2.8.12
+BuildRequires:  clang
+BuildRequires:  clang-devel
+BuildRequires:  clang-devel-static
+BuildRequires:  cmake
+BuildRequires:  libboost_headers-devel
 BuildRequires:  libtool
 BuildRequires:  libtool-ltdl-devel
-BuildRequires:  llvm4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  ninja
 BuildRequires:  opencl-headers
@@ -46,14 +47,13 @@
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
 Requires:   clang4
+Requires:   gcc
 Requires:   libstdc++-devel
 Requires:   libut2
 # 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:  libboost_headers-devel
-Requires:   gcc
 
 %description
 Portable Computing Language (pocl) is an implementation of the OpenCL standard
@@ -88,24 +88,26 @@
 
 %build
 %define __builder ninja
-%cmake ..\
+%cmake \
+  -DENABLE_CUDA=1 \
+  -DENABLE_ICD=1 \
+  -DPOCL_INSTALL_ICD_VENDORDIR=%{_sysconfdir}/OpenCL/vendors \
   -DCMAKE_C_COMPILER=clang  \
   -DCMAKE_CXX_COMPILER=clang++ \
+%ifarch %{ix86} x86_64
+  -DKERNELLIB_HOST_CPU_VARIANTS=distro \
+%endif
+  -DEXTRA_KERNEL_CXX_FLAGS="%{optflags} -std=c++11" \
   -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
   -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
   -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
   -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config
 %make_jobs
 
-# docs
-#cd doc/sphinx
-#make html
-
 %install
 %cmake_install
 # FIXME - should be handled upstream
 mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
-mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir}
 sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' 
%{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd
 
 # Unbundle vecmath
@@ -113,10 +115,6 @@
 #ln -vs %{_includedir}/vecmath %{buildroot}/%{_libdir}/pocl/vecmath
 #  but you need to run the .py to generate the files under the pocl 
dir
 
-%check
-#cd build
-#ctest %{?_smp_mflags} ||:
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 




commit pocl for openSUSE:Factory

2017-10-21 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-10-21 20:22:05

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Sat Oct 21 20:22:05 2017 rev:10 rq:535645 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-07-17 
09:09:03.301710842 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-10-21 
20:22:28.997012655 +0200
@@ -1,0 +2,8 @@
+Sat Oct 21 06:28:35 UTC 2017 - mplus...@suse.com
+
+- We need clang4-devel-static to build with current clang packaging
+- Small spec-file cleanup
+  * drop conditionals for older releases then Factory as building
+was not possible anyways
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.7TUUTu/_old  2017-10-21 20:22:29.596984560 +0200
+++ /var/tmp/diff_new_pack.7TUUTu/_new  2017-10-21 20:22:29.600984372 +0200
@@ -31,12 +31,8 @@
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
 Patch0: pocl-disable-tests.diff
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel
-%endif
 BuildRequires:  clang4-devel
+BuildRequires:  clang4-devel-static
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  libtool
 BuildRequires:  libtool-ltdl-devel
@@ -52,14 +48,12 @@
 Requires:   clang4
 Requires:   libstdc++-devel
 Requires:   libut2
-%if 0%{?suse_version} > 1325
-Requires:   gcc
-%endif
-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:  libboost_headers-devel
+Requires:   gcc
 
 %description
 Portable Computing Language (pocl) is an implementation of the OpenCL standard
@@ -112,7 +106,7 @@
 # FIXME - should be handled upstream
 mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
 mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir}
-sed -i 's|/usr/usr/|/usr/|g' %{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd
+sed -i 's|%{_prefix}%{_prefix}/|%{_prefix}/|g' 
%{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd
 
 # Unbundle vecmath
 #rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/
@@ -127,7 +121,6 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc CHANGES README doc/sphinx/source/*.rst
 %dir %{_sysconfdir}/OpenCL/
 %dir %{_sysconfdir}/OpenCL/vendors
@@ -141,7 +134,6 @@
 %{_datadir}/pocl/
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/libpoclu.so
 %{_libdir}/libpocl.so
 %{_libdir}/pkgconfig/pocl.pc




commit pocl for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-07-17 09:09:02

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Mon Jul 17 09:09:02 2017 rev:9 rq:509806 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-07-04 
11:58:31.164312939 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-07-17 
09:09:03.301710842 +0200
@@ -1,0 +2,12 @@
+Wed Jul 12 10:50:47 UTC 2017 - jeng...@inai.de
+
+- Description should say what it is, not what it plans in the
+  future.
+
+---
+Sat Jul  8 17:29:43 UTC 2017 - mar...@gmx.de
+
+- Fix runtime linking issues (missing crtbeginS.so)
+  - Require gcc for Factory
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.QAXx4z/_old  2017-07-17 09:09:03.833635924 +0200
+++ /var/tmp/diff_new_pack.QAXx4z/_new  2017-07-17 09:09:03.837635360 +0200
@@ -26,7 +26,7 @@
 # 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
+Group:  Development/Tools/Other
 Url:http://portablecl.org/
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
@@ -52,6 +52,9 @@
 Requires:   clang4
 Requires:   libstdc++-devel
 Requires:   libut2
+%if 0%{?suse_version} > 1325
+Requires:   gcc
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # Only armv7l is supported
 # PPC support is currently broken, due to path problems
@@ -59,34 +62,31 @@
 ExclusiveArch:  %{ix86} x86_64 armv7l armv7hl
 
 %description
-Portable Computing Language (pocl) aims to become a MIT-licensed open source
-implementation of the OpenCL standard which can be easily adapted for new 
targets
-and devices, both for homogeneous CPU and heterogenous GPUs/accelerators.
+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.
 
 pocl uses Clang as an OpenCL C frontend and LLVM for the kernel compiler
-implementation, and as a portability layer. Thus, if your desired target
-has an LLVM backend, it should be able to get OpenCL support easily by using 
pocl.
-
-The goal is to accomplish improved performance portability using a kernel
-compiler that can generate multi-work-item work-group functions that exploit
-various types of parallel hardware resources: VLIW, superscalar, SIMD, SIMT,
-multicore, multithread ...
+implementation, and as a portability layer. If your desired target has an LLVM
+backend, it should be possible to get OpenCL support by using pocl.
 
-Additional purpose of the project is to serve as a research platform for
-issues in parallel programming on heterogeneous platforms.
+pocl yields improved performance portability by using a kernel compiler that
+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 devel
-Summary:Portable Computing Language - development files
+Summary:Development files for the Portable Computing Language
 Group:  Development/Languages/Other
 Requires:   %{name}%{?_isa} = %{version}-%{release}
 Requires:   opencl-headers
 
 %description devel
-Portable Computing Language (pocl) aims to become a MIT-licensed open source
-implementation of the OpenCL standard which can be easily adapted for new 
targets
-and devices, both for homogeneous CPU and heterogenous GPUs/accelerators.
+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 provides the development files needed for pocl.
+This subpackage provides the development files needed for pocl.
 
 %prep
 %setup -q




commit pocl for openSUSE:Factory

2017-07-04 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-07-04 11:58:26

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Tue Jul  4 11:58:26 2017 rev:8 rq:508003 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-06-28 
10:35:55.998374251 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-07-04 
11:58:31.164312939 +0200
@@ -1,0 +2,5 @@
+Mon Jul  3 21:23:21 UTC 2017 - mar...@gmx.de
+
+- Fix path in the ICD-file
+
+---
@@ -5 +9,0 @@
-



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.JYcBrw/_old  2017-07-04 11:58:32.040189681 +0200
+++ /var/tmp/diff_new_pack.JYcBrw/_new  2017-07-04 11:58:32.044189117 +0200
@@ -109,10 +109,10 @@
 
 %install
 %cmake_install
-
 # FIXME - should be handled upstream
 mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
 mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir}
+sed -i 's|/usr/usr/|/usr/|g' %{buildroot}%{_sysconfdir}/OpenCL/vendors/pocl.icd
 
 # Unbundle vecmath
 #rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/




commit pocl for openSUSE:Factory

2017-06-28 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-06-28 10:35:50

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Wed Jun 28 10:35:50 2017 rev:7 rq:496512 version:0.14

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2017-01-24 
10:36:57.324130854 +0100
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-06-28 
10:35:55.998374251 +0200
@@ -1,0 +2,37 @@
+Fri May 19 08:49:22 UTC 2017 - idon...@suse.com
+
+- Update library name for uthash -> libut2 
+
+
+---
+Tue May 16 18:59:30 UTC 2017 - mar...@gmx.de
+
+- Update to 0.14
+  - Support for LLVM/Clang versions 3.9 and 4.0. Version 3.9 was the first
+release to include all frontend features for OpenCL 2.0.
+  - Ability to build pocl in a mode where online compilation is not
+supported to run in hosts without LLVM and binaries compiled offline
+e.g. using poclcc.
+  - pocl's binary format now can contain all the necessary bits to
+execute the programs on a host without online compiler support.
+  - Initial support for out-of-order execution execution of command queues.
+  - It's now possible to cross-compile pocl when building an offline
+compiler build.
+  - New driver api extension to support out-of-order and asynchronous
+devices/drivers.
+  - Pthread and HSA drivers are now fully asynchronous.
+  - CMake now the only supported build system, autotools removed.
+  - LTTng tracing support
+- Add patches:
+  - pocl-disable-tests.diff
+- compilation errors on some tests disable tests for now
+- Remove patches:
+  - 0001-Fixes-357-broken-build-with-GCC-6.1.patch
+- fixed upstream
+
+---
+Thu Feb  2 10:52:12 UTC 2017 - adam.ma...@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+---

Old:

  0001-Fixes-357-broken-build-with-GCC-6.1.patch
  pocl-0.13.tar.gz

New:

  pocl-0.14.tar.gz
  pocl-disable-tests.diff



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.rQKBaY/_old  2017-06-28 10:35:57.498162070 +0200
+++ /var/tmp/diff_new_pack.rQKBaY/_new  2017-06-28 10:35:57.502161505 +0200
@@ -17,8 +17,9 @@
 #
 
 
+%define sover  1.7.0
 Name:   pocl
-Version:0.13
+Version:0.14
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 # The whole code is under MIT
@@ -29,13 +30,17 @@
 Url:http://portablecl.org/
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
-Patch0: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
+Patch0: pocl-disable-tests.diff
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
 BuildRequires:  boost-devel
-BuildRequires:  clang3_8-devel
+%endif
+BuildRequires:  clang4-devel
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  libtool
 BuildRequires:  libtool-ltdl-devel
-BuildRequires:  llvm3_8-devel
+BuildRequires:  llvm4-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  ninja
 BuildRequires:  opencl-headers
@@ -44,9 +49,9 @@
 BuildRequires:  pkgconfig(OpenCL)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
-Requires:   clang3_8
+Requires:   clang4
 Requires:   libstdc++-devel
-Requires:   uthash
+Requires:   libut2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # Only armv7l is supported
 # PPC support is currently broken, due to path problems
@@ -85,7 +90,7 @@
 
 %prep
 %setup -q
-%patch0
+%patch0 -p1
 
 %build
 %define __builder ninja
@@ -106,8 +111,8 @@
 %cmake_install
 
 # FIXME - should be handled upstream
-chmod 755 %{buildroot}/%{_bindir}/pocl-standalone
 mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
+mv %{buildroot}%{_prefix}%{_sysconfdir} %{buildroot}%{_sysconfdir}
 
 # Unbundle vecmath
 #rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/
@@ -115,8 +120,8 @@
 #  but you need to run the .py to generate the files under the pocl 
dir
 
 %check
-cd build
-ctest %{?_smp_mflags} ||:
+#cd build
+#ctest %{?_smp_mflags} ||:
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -127,9 +132,11 @@
 %dir %{_sysconfdir}/OpenCL/
 %dir %{_sysconfdir}/OpenCL/vendors
 %{_sysconfdir}/OpenCL/vendors/pocl.icd
-%{_bindir}/pocl-standalone
-%{_libdir}/libpocl.so.*
-%{_libdir}/libpoclu.so.*
+%{_bindir}/poclcc
+%{_libdir}/libpocl.so.1
+%{_libdir}/libpocl.so.%{sover}
+%{_libdir}/libpoclu.so.1
+%{_libdir}/libpoclu.so.%{sover}
 %{_libdir}/pocl/
 %{_datadir}/pocl/
 

++ pocl-0

commit pocl for openSUSE:Factory

2017-01-24 Thread root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2017-01-24 10:36:56

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2016-10-10 
16:25:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2017-01-24 
10:36:57.324130854 +0100
@@ -1,0 +2,5 @@
+Fri Jan 20 08:45:21 UTC 2017 - mplus...@suse.com
+
+- Use llvm3_8 for building and as runtime dependency
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.0kbflF/_old  2017-01-24 10:36:57.876052458 +0100
+++ /var/tmp/diff_new_pack.0kbflF/_new  2017-01-24 10:36:57.876052458 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pocl
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014 Guillaume GARDET 
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,23 +21,21 @@
 Version:0.13
 Release:0
 Summary:Portable Computing Language - an OpenCL implementation
-License:MIT
-Group:  Productivity/Other
 # 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
 Source99:   pocl-rpmlintrc
 Patch0: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
 BuildRequires:  boost-devel
+BuildRequires:  clang3_8-devel
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  libtool
 BuildRequires:  libtool-ltdl-devel
-BuildRequires:  llvm > 3.5
-BuildRequires:  llvm-clang > 3.5
-BuildRequires:  llvm-clang-devel > 3.5
-BuildRequires:  llvm-devel > 3.5
+BuildRequires:  llvm3_8-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  ninja
 BuildRequires:  opencl-headers
@@ -46,8 +44,8 @@
 BuildRequires:  pkgconfig(OpenCL)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
+Requires:   clang3_8
 Requires:   libstdc++-devel
-Requires:   llvm-clang > 3.5
 Requires:   uthash
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # Only armv7l is supported




commit pocl for openSUSE:Factory

2016-10-10 Thread h_root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2016-10-10 16:25:05

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2016-07-15 
12:52:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2016-10-10 
16:25:15.0 +0200
@@ -1,0 +2,6 @@
+Sun Oct  9 09:17:33 UTC 2016 - mplus...@suse.com
+
+- Use cmake macros
+- Use ninja to speedup building
+
+---



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.DnuKxH/_old  2016-10-10 16:25:18.0 +0200
+++ /var/tmp/diff_new_pack.DnuKxH/_new  2016-10-10 16:25:18.0 +0200
@@ -18,11 +18,11 @@
 
 
 Name:   pocl
+Version:0.13
+Release:0
 Summary:Portable Computing Language - an OpenCL implementation
 License:MIT
 Group:  Productivity/Other
-Version:0.13
-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)
@@ -30,11 +30,6 @@
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
 Patch0: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
-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:  boost-devel
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  libtool
@@ -44,15 +39,21 @@
 BuildRequires:  llvm-clang-devel > 3.5
 BuildRequires:  llvm-devel > 3.5
 BuildRequires:  ncurses-devel
+BuildRequires:  ninja
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
 BuildRequires:  uthash-devel
 BuildRequires:  pkgconfig(OpenCL)
+BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(hwloc)
-#BuildRequires:vecmath-devel
 Requires:   libstdc++-devel
 Requires:   llvm-clang > 3.5
 Requires:   uthash
+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
 
 %description
 Portable Computing Language (pocl) aims to become a MIT-licensed open source
@@ -71,7 +72,6 @@
 Additional purpose of the project is to serve as a research platform for
 issues in parallel programming on heterogeneous platforms.
 
-
 %package devel
 Summary:Portable Computing Language - development files
 Group:  Development/Languages/Other 
@@ -85,20 +85,20 @@
 
 This Subpackage provides the development files needed for pocl.
 
-
 %prep
 %setup -q
-%patch0 -p1
+%patch0
 
 %build
-mkdir build
-cd build
-cmake ..\
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%define __builder ninja
+%cmake ..\
   -DCMAKE_C_COMPILER=clang  \
   -DCMAKE_CXX_COMPILER=clang++ \
-  -DWITH_LLVM_CONFIG=/usr/bin/llvm-config
-make %{?_smp_mflags}
+  -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
+  -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
+  -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
+  -DWITH_LLVM_CONFIG=%{_bindir}/llvm-config
+%make_jobs
 
 # docs
 #cd doc/sphinx
@@ -109,6 +109,7 @@
 
 # FIXME - should be handled upstream
 chmod 755 %{buildroot}/%{_bindir}/pocl-standalone
+mv %{buildroot}%{_prefix}%{_libdir} %{buildroot}%{_libdir}
 
 # Unbundle vecmath
 #rm -vf %{buildroot}/%{_libdir}/pocl/vecmath/

++ 0001-Fixes-357-broken-build-with-GCC-6.1.patch ++
--- /var/tmp/diff_new_pack.DnuKxH/_old  2016-10-10 16:25:18.0 +0200
+++ /var/tmp/diff_new_pack.DnuKxH/_new  2016-10-10 16:25:18.0 +0200
@@ -1,8 +1,8 @@
-diff --git a/cmake/bitcode_rules.cmake b/cmake/bitcode_rules.cmake
-index dd6853b..708ba24 100644
 a/cmake/bitcode_rules.cmake
-+++ b/cmake/bitcode_rules.cmake
-@@ -62,7 +62,7 @@ function(compile_cc_to_bc FILENAME SUBDIR BC_FILE_LIST)
+Index: cmake/bitcode_rules.cmake
+===
+--- cmake/bitcode_rules.cmake.orig
 cmake/bitcode_rules.cmake
+@@ -62,7 +62,7 @@ function(compile_cc_to_bc FILENAME SUBDI
  DEPENDS "${FULL_F_PATH}"
${KERNEL_DEPEND_HEADERS}
  COMMAND  "${CLANGXX}" ${CLANG_FLAGS} ${KERNEL_CLANGXX_FLAGS}
@@ -11,11 +11,11 @@
  COMMENT "Building C++ to LLVM bitcode ${BC_FILE}" 
  VERBATIM)
  endfunction()
-diff --git a

commit pocl for openSUSE:Factory

2016-07-15 Thread h_root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2016-07-15 12:51:59

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2016-04-08 
09:39:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2016-07-15 
12:52:02.0 +0200
@@ -1,0 +2,6 @@
+Mon Jul  4 15:04:04 UTC 2016 - mar...@gmx.de
+
+- Add patch: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
+  * Fix build with GCC 6.x
+
+---

New:

  0001-Fixes-357-broken-build-with-GCC-6.1.patch



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.Om6j9n/_old  2016-07-15 12:52:03.0 +0200
+++ /var/tmp/diff_new_pack.Om6j9n/_new  2016-07-15 12:52:03.0 +0200
@@ -29,6 +29,7 @@
 Url:http://portablecl.org/
 Source0:http://portablecl.org/downloads/%{name}-%{version}.tar.gz
 Source99:   pocl-rpmlintrc
+Patch0: 0001-Fixes-357-broken-build-with-GCC-6.1.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # Only armv7l is supported
 # PPC support is currently broken, due to path problems
@@ -38,10 +39,10 @@
 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:  llvm > 3.5
+BuildRequires:  llvm-clang > 3.5
+BuildRequires:  llvm-clang-devel > 3.5
+BuildRequires:  llvm-devel > 3.5
 BuildRequires:  ncurses-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
@@ -50,7 +51,7 @@
 BuildRequires:  pkgconfig(hwloc)
 #BuildRequires:vecmath-devel
 Requires:   libstdc++-devel
-Requires:   llvm-clang >= 3.3
+Requires:   llvm-clang > 3.5
 Requires:   uthash
 
 %description
@@ -87,6 +88,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 mkdir build

++ 0001-Fixes-357-broken-build-with-GCC-6.1.patch ++
diff --git a/cmake/bitcode_rules.cmake b/cmake/bitcode_rules.cmake
index dd6853b..708ba24 100644
--- a/cmake/bitcode_rules.cmake
+++ b/cmake/bitcode_rules.cmake
@@ -62,7 +62,7 @@ function(compile_cc_to_bc FILENAME SUBDIR BC_FILE_LIST)
 DEPENDS "${FULL_F_PATH}"
   ${KERNEL_DEPEND_HEADERS}
 COMMAND  "${CLANGXX}" ${CLANG_FLAGS} ${KERNEL_CLANGXX_FLAGS}
-${DEVICE_CL_FLAGS} "-o" "${BC_FILE}" "-c" "${FULL_F_PATH}"
+${DEVICE_CL_FLAGS} "-std=c++11" "-o" "${BC_FILE}" "-c" "${FULL_F_PATH}"
 COMMENT "Building C++ to LLVM bitcode ${BC_FILE}" 
 VERBATIM)
 endfunction()
diff --git a/lib/kernel/rules.mk b/lib/kernel/rules.mk
index 27bc9d4..aa9912c 100644
--- a/lib/kernel/rules.mk
+++ b/lib/kernel/rules.mk
@@ -74,7 +74,7 @@ _kernel.h.pch: @top_builddir@/include/${TARGET_DIR}/types.h 
@top_srcdir@/include
@CLANG@ ${CLANG_FLAGS} ${CLFLAGS} ${DEVICE_CL_FLAGS} -D__CBUILD__ -c -o 
$@ -include ${abs_top_srcdir}/include/_kernel_c.h $<
 %.cc.bc: %.cc  ${LKERNEL_HDRS_EXTRA}
mkdir -p ${dir $@}
-   @CLANGXX@ ${CLANG_FLAGS} ${CLANGXX_FLAGS} ${DEVICE_CL_FLAGS} -c -o $@ $<
+   @CLANGXX@ -std=c++11 ${CLANG_FLAGS} ${CLANGXX_FLAGS} ${DEVICE_CL_FLAGS} 
-c -o $@ $<
 %.cl.bc: %.cl ${abs_top_srcdir}/include/_kernel.h 
${abs_top_srcdir}/include/_kernel_c.h ${abs_top_srcdir}/include/pocl_types.h 
${LKERNEL_HDRS_EXTRA}
mkdir -p ${dir $@}
@CLANG@ ${CLANG_FLAGS} -x cl ${CLFLAGS} ${DEVICE_CL_FLAGS} 
-fsigned-char -c -o $@ $< -include ${abs_top_srcdir}/include/_kernel.h



commit pocl for openSUSE:Factory

2016-04-08 Thread h_root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2016-04-08 09:39:35

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2015-10-28 
17:30:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2016-04-08 
09:39:37.0 +0200
@@ -1,0 +2,10 @@
+Tue Apr  5 07:18:43 UTC 2016 - mplus...@suse.com
+
+- Update to 0.13
+  * kernel compiler support for LLVM/Clang 3.8
+  * initial (partial) OpenCL 2.0 support
+  * CMake build system almost on parity with autotools
+  * Improved HSA support
+  * Other optimizations and bug fixes
+
+---

Old:

  pocl-0.12.tar.gz

New:

  pocl-0.13.tar.gz



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.LiFMxl/_old  2016-04-08 09:39:38.0 +0200
+++ /var/tmp/diff_new_pack.LiFMxl/_new  2016-04-08 09:39:38.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pocl
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2014 Guillaume GARDET 
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,7 +21,7 @@
 Summary:Portable Computing Language - an OpenCL implementation
 License:MIT
 Group:  Productivity/Other
-Version:0.12
+Version:0.13
 Release:0
 # The whole code is under MIT
 # except include/utlist.h which is under BSD (and unbundled) and

++ pocl-0.12.tar.gz -> pocl-0.13.tar.gz ++
 108916 lines of diff (skipped)




commit pocl for openSUSE:Factory

2015-10-28 Thread h_root
Hello community,

here is the log from the commit of package pocl for openSUSE:Factory checked in 
at 2015-10-28 17:30:39

Comparing /work/SRC/openSUSE:Factory/pocl (Old)
 and  /work/SRC/openSUSE:Factory/.pocl.new (New)


Package is "pocl"

Changes:

--- /work/SRC/openSUSE:Factory/pocl/pocl.changes2015-07-05 
18:02:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.pocl.new/pocl.changes   2015-10-28 
17:30:46.0 +0100
@@ -1,0 +2,35 @@
+Mon Oct 26 20:02:35 UTC 2015 - mar...@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
+
+---

Old:

  pocl-0.11.tar.gz

New:

  pocl-0.12.tar.gz
  pocl-rpmlintrc



Other differences:
--
++ pocl.spec ++
--- /var/tmp/diff_new_pack.tuZYN2/_old  2015-10-28 17:30:47.0 +0100
+++ /var/tmp/diff_new_pack.tuZYN2/_new  2015-10-28 17:30:47.0 +0100
@@ -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
+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:  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 >= 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:  pkgconfig
 BuildRequires: uthash-devel
+BuildRequires:  pkgconfig(OpenCL)
+BuildRequires:  pkgconfig(hwloc)
 #BuildRequires:vecmath-devel
+Requires:   libstdc++-devel
 Requires:  llvm-clang >= 3.3
 Requires:  uthash
-Requires:   libstdc++-devel
-
 
 %description
 Portable Computing Language (pocl) aims to become a MIT-licensed open source
@@ -79,7 +77,6 @@
 Requires:  %{name}%{?_isa} = %{version}-%{release}
 Requires:  opencl-headers
 
-
 %description devel
 Portable Computing Language (pocl) aims to become a MIT-licensed open source
 implementation of the OpenCL standard which can be easily adapted for new 
targets
@@ -108,6 +105,9 @@
 %install
 %cmake_install
 
+# FIXME - should be handled upstr