[packages/beignet] patch to fix test failure on LLVM 3.8+
jajcus
jajcus at pld-linux.org
Thu Jun 15 11:37:35 CEST 2017
commit c84dfa091f3a75c13fb5e7c378fc687a088c1077
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Thu Jun 15 11:37:10 2017 +0200
patch to fix test failure on LLVM 3.8+
Release: 3
beignet.spec | 4 +++-
llvm-3.8.patch | 25 +++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/beignet.spec b/beignet.spec
index ed8adc4..04c02df 100644
--- a/beignet.spec
+++ b/beignet.spec
@@ -2,7 +2,7 @@ Summary: Open source implementation of the OpenCL specification for Intel GPUs
Summary(pl.UTF-8): Mająca otwarte źródła implementacja specyfikacji OpenCL dla GPU formy Intel
Name: beignet
Version: 1.3.1
-Release: 2
+Release: 3
License: LGPL v2+
Group: Libraries
Source0: https://01.org/sites/default/files/beignet-%{version}-source.tar.gz
@@ -10,6 +10,7 @@ Source0: https://01.org/sites/default/files/beignet-%{version}-source.tar.gz
Patch0: cflags.patch
Patch1: static_llvm.patch
Patch2: new_SKL_ids.patch
+Patch3: llvm-3.8.patch
URL: http://www.freedesktop.org/wiki/Software/Beignet/
BuildRequires: Mesa-libgbm-devel
BuildRequires: Mesa-libGL-devel >= 13.0.0
@@ -56,6 +57,7 @@ poleceń, jądra i programów oraz uruchamia je na GPU.
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
install -d build
diff --git a/llvm-3.8.patch b/llvm-3.8.patch
new file mode 100644
index 0000000..a6590b4
--- /dev/null
+++ b/llvm-3.8.patch
@@ -0,0 +1,25 @@
+From 8e119eb32e01066c23c3d96bd2b42032e03f7628 Mon Sep 17 00:00:00 2001
+From: Yang Rong <rong.r.yang at intel.com>
+Date: Thu, 13 Apr 2017 19:32:51 +0800
+Subject: utest: fix image qualifier of compiler_fill_gl_image test.
+
+After clang check the image qualifier, can't use default qualifier
+to write_image.
+
+Signed-off-by: Yang Rong <rong.r.yang at intel.com>
+Reviewed-by: Pan Xiuli <xiuli.pan at intel.com>
+
+diff --git a/kernels/test_fill_gl_image.cl b/kernels/test_fill_gl_image.cl
+index 4250a57..7b5dce7 100644
+--- a/kernels/test_fill_gl_image.cl
++++ b/kernels/test_fill_gl_image.cl
+@@ -1,5 +1,5 @@
+ __kernel void
+-test_fill_gl_image(image2d_t img, int color)
++test_fill_gl_image(write_only image2d_t img, int color)
+ {
+ int2 coord;
+ float4 color_v4;
+--
+cgit v0.10.2
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/beignet.git/commitdiff/c84dfa091f3a75c13fb5e7c378fc687a088c1077
More information about the pld-cvs-commit
mailing list