#7 1.4-rc2 Release
Merged 4 years ago by tstellar. Opened 4 years ago by tstellar.
rpms/ tstellar/pocl f31-llvm9  into  f31

@@ -0,0 +1,25 @@ 

+ From 0a25388105d2b8a01191939f04e355543b0aed51 Mon Sep 17 00:00:00 2001

+ From: Tom Stellard <tstellar@redhat.com>

+ Date: Thu, 19 Sep 2019 17:45:32 -0700

+ Subject: [PATCH] Fix build failure

+ 

+ ---

+  lib/CL/devices/pthread/pthread_scheduler.c | 2 +-

+  1 file changed, 1 insertion(+), 1 deletion(-)

+ 

+ diff --git a/lib/CL/devices/pthread/pthread_scheduler.c b/lib/CL/devices/pthread/pthread_scheduler.c

+ index 0515f7b..4b09a43 100644

+ --- a/lib/CL/devices/pthread/pthread_scheduler.c

+ +++ b/lib/CL/devices/pthread/pthread_scheduler.c

+ @@ -405,7 +405,7 @@ check_cmd_queue_for_device (thread_data *td)

+      cl_device_id subd = cmd->device;

+      if (shall_we_run_this (td, subd))

+        {

+ -        DL_DELETE (scheduler.work_queue, cmd)

+ +        DL_DELETE (scheduler.work_queue, cmd);

+          return cmd;

+        }

+    }

+ -- 

+ 1.8.3.1

+ 

@@ -1,30 +0,0 @@ 

- From 2c6c46367969edcc57e34a97dd6fd6c7ea17b32a Mon Sep 17 00:00:00 2001

- From: Dave Airlie <airlied@redhat.com>

- Date: Mon, 31 Oct 2016 13:01:06 +1000

- Subject: [PATCH] wrap more stuff for 64-bit atomics

- 

- ---

-  include/_pocl_opencl.h | 8 ++++----

-  1 file changed, 4 insertions(+), 4 deletions(-)

- 

- diff --git a/include/_pocl_opencl.h b/include/_pocl_opencl.h

- index 944c663..be5c59f 100644

- --- a/include/_pocl_opencl.h

- +++ b/include/_pocl_opencl.h

- @@ -2014,10 +2014,10 @@ void atomic_work_item_fence (cl_mem_fence_flags flags, memory_order order,

-    __IF_EA64 (_CL_DECLARE_ATOMICS_DECL (MOD, atomic_long, long))               \

-    __IF_EA64 (_CL_DECLARE_ATOMICS_DECL (MOD, atomic_ulong, ulong))             \

-    __IF_FP64 (_CL_DECLARE_ATOMICS_DECL (MOD, atomic_double, double))           \

- -  _CL_DECLARE_ATOMICS_DECL (MOD, atomic_intptr_t, intptr_t)                   \

- -  _CL_DECLARE_ATOMICS_DECL (MOD, atomic_uintptr_t, uintptr_t)                 \

- -  _CL_DECLARE_ATOMICS_DECL (MOD, atomic_ptrdiff_t, ptrdiff_t)                 \

- -  _CL_DECLARE_ATOMICS_DECL (MOD, atomic_size_t, size_t)

- +  __IF_EA64(_CL_DECLARE_ATOMICS_DECL(MOD, atomic_intptr_t, intptr_t))       \

- +  __IF_EA64(_CL_DECLARE_ATOMICS_DECL(MOD, atomic_uintptr_t, uintptr_t))     \

- +  __IF_EA64(_CL_DECLARE_ATOMICS_DECL(MOD, atomic_ptrdiff_t, ptrdiff_t))     \

- +  __IF_EA64(_CL_DECLARE_ATOMICS_DECL(MOD, atomic_size_t, size_t))

-  

-  _CL_DECLARE_ATOMICS2 (global)

-  

- -- 

- 2.5.5

file modified
+8 -6
@@ -4,9 +4,9 @@ 

  

  Summary:        Portable Computing Language - an OpenCL implementation

  Name:           pocl

- %global ver 1.2

+ %global ver 1.4

  Version:        %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(string.lower(ver))}

- Release:        6.20190221gita0b083a1b47a738%{?dist}

+ Release:        0.1.rc2%{?dist}

  

  # The whole code is under MIT

  # except include/utlist.h which is under BSD (and unbundled) and
@@ -14,10 +14,9 @@ 

  License:        MIT and BSD and (GPLv3+ or LGPLv3+)

  URL:            http://pocl.sourceforge.net

  

- Source0:        pocl-a0b083a1b47a7389f896036087b4e712b4b14193.xz

+ Source0:        https://github.com/pocl/pocl/archive/v1.4-RC2.tar.gz

  

- # FIXME: link

- Patch1001:      0001-wrap-more-stuff-for-64-bit-atomics.patch

+ Patch0:		0001-Fix-build-failure.patch

  

  # ppc64le builds fine, but: 97% tests passed, 4 tests failed out of 120

  # ppc64 builds fine, but: 87% tests passed, 16 tests failed out of 120
@@ -71,7 +70,7 @@ 

  Portable Computing Language development files.

  

  %prep

- %autosetup -p1 -n %{name}-%{gitrev}

+ %autosetup -p1 -n pocl-%{ver}-RC2

  

  # Unbundle uthash

  find . -depth -name utlist* -print -delete
@@ -134,6 +133,9 @@ 

  %{_libdir}/pkgconfig/%{name}.pc

  

  %changelog

+ * Thu Sep 19 2019 Tom Stellard <tstellar@redhat.com> - 1.4-0.1.rc2

+ - 1.4-rc2 Release

+ 

  * Sun Aug 25 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2-6.20190221gita0b083a1b47a738

  - Rebuilt for hwloc-2.0

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (pocl-a0b083a1b47a7389f896036087b4e712b4b14193.xz) = 74d42aadbda8a0d91ba75e70fde637d236a7f901f178ba64fa7c8ebde6c38a8b7b29ce9282f6aeb13a0e34bf582262b5672a70ca9bb87a1aee436a52ee4639a7

+ SHA512 (v1.4-RC2.tar.gz) = f943cc8eaf74deb6f3bd106b660ff250888c52eb807e3672c2c0dee3ab1adcdd014c53c25c8ce527590c2fcd9270084daf2d361e27134e32318ac07d13837f03