commit beignet for openSUSE:Factory

2020-08-24 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2020-08-24 15:12:35

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


Package is "beignet"

Mon Aug 24 15:12:35 2020 rev:23 rq:828653 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2020-06-05 
20:28:05.129146081 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new.3399/beignet.changes
2020-08-24 15:13:23.274694767 +0200
@@ -1,0 +2,5 @@
+Thu Aug 20 08:32:42 UTC 2020 - Martin Liška 
+
+- Use memoryperjob constraint instead of %limit_build macro.
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.mvZGiF/_old  2020-08-24 15:13:24.298695266 +0200
+++ /var/tmp/diff_new_pack.mvZGiF/_new  2020-08-24 15:13:24.302695269 +0200
@@ -31,7 +31,6 @@
 Patch3: 0004-Enable-Coffee-Lake-support.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  memory-constraints
 BuildRequires:  ncurses-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
@@ -75,7 +74,6 @@
 cp docs/Beignet.mdwn README.md
 
 %build
-%limit_build -m 2000
 %cmake \
-DLLVM_INSTALL_DIR=%{_bindir}/
 %cmake_build

++ _constraints ++
--- /var/tmp/diff_new_pack.mvZGiF/_old  2020-08-24 15:13:24.330695282 +0200
+++ /var/tmp/diff_new_pack.mvZGiF/_new  2020-08-24 15:13:24.330695282 +0200
@@ -4,5 +4,8 @@
 
   6500
 
+
+  2000
+
   
 




commit beignet for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2020-06-05 20:21:32

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


Package is "beignet"

Fri Jun  5 20:21:32 2020 rev:22 rq:811663 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-11-22 
10:27:37.741234542 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.3606/beignet.changes
2020-06-05 20:28:05.129146081 +0200
@@ -1,0 +2,5 @@
+Thu Jun  4 19:21:31 UTC 2020 - Martin Hauke 
+
+- Use LLVM7 on Leap 15.2 / SLE15 SP2 or later (boo#1172362)
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.6VRUuP/_old  2020-06-05 20:28:06.209149453 +0200
+++ /var/tmp/diff_new_pack.6VRUuP/_new  2020-06-05 20:28:06.213149466 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package beignet
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Summary:OpenCL implementation for Intel GPUs
 License:LGPL-2.1-or-later
 Group:  Development/Libraries/C and C++
-Url:https://01.org/beignet/
+URL:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
 Patch0: beignet-llvm6.patch
@@ -40,12 +40,12 @@
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(ocl-icd)
-BuildRequires:  pkgconfig(zlib)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
+BuildRequires:  pkgconfig(zlib)
 # exclusive to Intel GPU
 ExclusiveArch:  %{ix86} x86_64
-%if 0%{?suse_version} >= 1550
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
 BuildRequires:  clang7-devel
 %else
 BuildRequires:  clang-devel >= 3.3




commit beignet for openSUSE:Factory

2019-11-22 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-11-22 10:27:33

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


Package is "beignet"

Fri Nov 22 10:27:33 2019 rev:21 rq:750122 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-10-30 
14:47:36.946169345 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.26869/beignet.changes   
2019-11-22 10:27:37.741234542 +0100
@@ -1,0 +2,6 @@
+Mon Nov 18 23:15:31 UTC 2019 - Simon Lees 
+
+- %make_jobs is depricated replaced by %cmake_build
+- use %autopatch
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.zLeEp8/_old  2019-11-22 10:27:38.461234330 +0100
+++ /var/tmp/diff_new_pack.zLeEp8/_new  2019-11-22 10:27:38.465234329 +0100
@@ -70,10 +70,7 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autopatch -p1
 rm README.md
 cp docs/Beignet.mdwn README.md
 
@@ -81,7 +78,7 @@
 %limit_build -m 2000
 %cmake \
-DLLVM_INSTALL_DIR=%{_bindir}/
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install




commit beignet for openSUSE:Factory

2019-10-30 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-10-30 14:47:23

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


Package is "beignet"

Wed Oct 30 14:47:23 2019 rev:20 rq:743907 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-07-16 
08:43:10.318982244 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new.2990/beignet.changes
2019-10-30 14:47:36.946169345 +0100
@@ -1,0 +2,5 @@
+Tue Oct 29 21:46:30 UTC 2019 - Stefan Brüns 
+
+- Add explicit BuildRequires: pkgconfig(libdrm,xext,xfixes), required on TW.
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.uTu28v/_old  2019-10-30 14:47:37.998170464 +0100
+++ /var/tmp/diff_new_pack.uTu28v/_new  2019-10-30 14:47:38.002170468 +0100
@@ -38,8 +38,11 @@
 BuildRequires:  pkgconfig(egl)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(ice)
+BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(ocl-icd)
 BuildRequires:  pkgconfig(zlib)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(xfixes)
 # exclusive to Intel GPU
 ExclusiveArch:  %{ix86} x86_64
 %if 0%{?suse_version} >= 1550




commit beignet for openSUSE:Factory

2019-07-15 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-07-16 08:43:09

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


Package is "beignet"

Tue Jul 16 08:43:09 2019 rev:19 rq:715499 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-01-26 
22:22:58.410828599 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.1887/beignet.changes
2019-07-16 08:43:10.318982244 +0200
@@ -1,0 +2,6 @@
+Sun Jul 14 20:17:48 UTC 2019 - Stefan Brüns 
+
+- Use LLVM 7 on Tumbleweed, which is the last supported version for
+  beignet (TerminatorInst has been removed in LLVM 8)
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.EXwSyu/_old  2019-07-16 08:43:10.830981961 +0200
+++ /var/tmp/diff_new_pack.EXwSyu/_new  2019-07-16 08:43:10.834981958 +0200
@@ -42,12 +42,10 @@
 BuildRequires:  pkgconfig(zlib)
 # exclusive to Intel GPU
 ExclusiveArch:  %{ix86} x86_64
-%if 0%{?suse_version} > 1320
-BuildRequires:  clang-devel >= 3.3
+%if 0%{?suse_version} >= 1550
+BuildRequires:  clang7-devel
 %else
-BuildRequires:  llvm-clang >= 3.3
-BuildRequires:  llvm-clang-devel >= 3.3
-BuildRequires:  llvm-devel >= 3.3
+BuildRequires:  clang-devel >= 3.3
 %endif
 
 %description




commit beignet for openSUSE:Factory

2019-01-26 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-01-26 22:22:56

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


Package is "beignet"

Sat Jan 26 22:22:56 2019 rev:18 rq:668733 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-01-21 
11:03:23.567039948 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.28833/beignet.changes   
2019-01-26 22:22:58.410828599 +0100
@@ -1,0 +2,7 @@
+Thu Jan 24 12:09:11 UTC 2019 - alarr...@suse.com
+
+- Add a _constraints file to specify this package needs at least
+  6500 MB of memory to build. Also use %limit_build to be sure
+  parallel builds are taken into account.
+
+---
@@ -11 +18 @@
-  * 0008-Add-preliminary-LLVM-7-support.patch
+  * 0008-Add-preliminary-LLVM-7-support.patch (fate#325696)

New:

  _constraints



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.0ANa8R/_old  2019-01-26 22:22:58.902828202 +0100
+++ /var/tmp/diff_new_pack.0ANa8R/_new  2019-01-26 22:22:58.902828202 +0100
@@ -31,6 +31,7 @@
 Patch3: 0004-Enable-Coffee-Lake-support.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  memory-constraints
 BuildRequires:  ncurses-devel
 BuildRequires:  opencl-headers
 BuildRequires:  pkgconfig
@@ -76,6 +77,7 @@
 cp docs/Beignet.mdwn README.md
 
 %build
+%limit_build -m 2000
 %cmake \
-DLLVM_INSTALL_DIR=%{_bindir}/
 %make_jobs

++ _constraints ++


  

  6500

  




commit beignet for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-01-21 11:01:18

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


Package is "beignet"

Mon Jan 21 11:01:18 2019 rev:17 rq:667193 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2019-01-08 
12:31:16.120089741 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.28833/beignet.changes   
2019-01-21 11:03:23.567039948 +0100
@@ -1,0 +2,6 @@
+Sat Jan 19 19:17:40 UTC 2019 - Linnaea Lavia 
+
+- Add Coffee Lake support, reusing Kaby Lake code.
+  * 0004-Enable-Coffee-Lake-support.patch
+
+---

New:

  0004-Enable-Coffee-Lake-support.patch



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.AsAKuW/_old  2019-01-21 11:03:24.407038869 +0100
+++ /var/tmp/diff_new_pack.AsAKuW/_new  2019-01-21 11:03:24.411038864 +0100
@@ -28,6 +28,7 @@
 Patch0: beignet-llvm6.patch
 Patch1: 0008-Add-preliminary-LLVM-7-support.patch
 Patch2: beignet-disable-NegAddOptimization.patch
+Patch3: 0004-Enable-Coffee-Lake-support.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  ncurses-devel
@@ -70,6 +71,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 rm README.md
 cp docs/Beignet.mdwn README.md
 

++ 0004-Enable-Coffee-Lake-support.patch ++
>From 7e181af2ea4d37f67406f2563c0e13fa1fdbb14b Mon Sep 17 00:00:00 2001
From: Mark Thompson 
Date: Wed, 31 Jan 2018 20:00:59 +
Subject: [PATCH 04/10] Enable Coffee Lake support

Little change is needed here because the graphics core is the same as
Kaby Lake.  Includes all PCI IDs currently supported by the kernel driver
in the drm-intel tree (Coffee Lake S, H and U devices in GT 1, 2 and 3
configurations).

Signed-off-by: Mark Thompson 
---
 backend/src/backend/gen_program.cpp |  5 ++
 src/cl_device_data.h| 54 +++-
 src/cl_device_id.c  | 97 -
 3 files changed, 153 insertions(+), 3 deletions(-)

diff --git a/backend/src/backend/gen_program.cpp 
b/backend/src/backend/gen_program.cpp
index e06ed40c..274c99c7 100644
--- a/backend/src/backend/gen_program.cpp
+++ b/backend/src/backend/gen_program.cpp
@@ -209,6 +209,8 @@ namespace gbe {
   ctx = GBE_NEW(BxtContext, unit, name, deviceID, relaxMath);
 } else if (IS_KABYLAKE(deviceID)) {
   ctx = GBE_NEW(KblContext, unit, name, deviceID, relaxMath);
+} else if (IS_COFFEELAKE(deviceID)) {
+  ctx = GBE_NEW(KblContext, unit, name, deviceID, relaxMath);
 } else if (IS_GEMINILAKE(deviceID)) {
   ctx = GBE_NEW(GlkContext, unit, name, deviceID, relaxMath);
 }
@@ -328,6 +330,7 @@ namespace gbe {
   (IS_SKYLAKE(deviceID) && 
MATCH_SKL_HEADER(binary)) || \
   (IS_BROXTON(deviceID) && 
MATCH_BXT_HEADER(binary)) || \
   (IS_KABYLAKE(deviceID) && 
MATCH_KBL_HEADER(binary)) || \
+  (IS_COFFEELAKE(deviceID) && 
MATCH_KBL_HEADER(binary)) || \
   (IS_GEMINILAKE(deviceID) && 
MATCH_GLK_HEADER(binary)) \
   )
 
@@ -436,6 +439,8 @@ namespace gbe {
 FILL_BXT_HEADER(*binary);
   }else if(IS_KABYLAKE(prog->deviceID)){
 FILL_KBL_HEADER(*binary);
+  }else if(IS_COFFEELAKE(prog->deviceID)){
+FILL_KBL_HEADER(*binary);
   }else if(IS_GEMINILAKE(prog->deviceID)){
 FILL_GLK_HEADER(*binary);
   }else {
diff --git a/src/cl_device_data.h b/src/cl_device_data.h
index 123b6192..79f7002e 100644
--- a/src/cl_device_data.h
+++ b/src/cl_device_data.h
@@ -372,7 +372,59 @@
   (devid == PCI_CHIP_GLK_3x6 ||   \
devid == PCI_CHIP_GLK_2x6)
 
-#define IS_GEN9(devid) (IS_SKYLAKE(devid) || IS_BROXTON(devid) || 
IS_KABYLAKE(devid) || IS_GEMINILAKE(devid))
+#define PCI_CHIP_COFFEELAKE_S_GT1_1  0x3E90
+#define PCI_CHIP_COFFEELAKE_S_GT1_2  0x3E93
+#define PCI_CHIP_COFFEELAKE_S_GT1_3  0x3E99
+
+#define PCI_CHIP_COFFEELAKE_U_GT1_1  0x3EA1
+#define PCI_CHIP_COFFEELAKE_U_GT1_2  0x3EA4
+
+#define PCI_CHIP_COFFEELAKE_S_GT2_1  0x3E91
+#define PCI_CHIP_COFFEELAKE_S_GT2_2  0x3E92
+#define PCI_CHIP_COFFEELAKE_S_GT2_3  0x3E96
+#define PCI_CHIP_COFFEELAKE_S_GT2_4  0x3E9A
+
+#define PCI_CHIP_COFFEELAKE_H_GT2_1  0x3E94
+#define PCI_CHIP_COFFEELAKE_H_GT2_2  0x3E9B
+
+#define PCI_CHIP_COFFEELAKE_U_GT2_1  0x3EA0
+#define PCI_CHIP_COFFEELAKE_U_GT2_2  0x3EA3
+#define PCI_CHIP_COFFEELAKE_U_GT2_3  0x3EA9
+
+#define PCI_CHIP_COFFEELAKE_U_GT3_1  0x3EA2
+#define PCI_

commit beignet for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2019-01-08 12:28:54

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


Package is "beignet"

Tue Jan  8 12:28:54 2019 rev:16 rq:663277 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2018-11-09 
07:54:21.139715749 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new.28833/beignet.changes   
2019-01-08 12:31:16.120089741 +0100
@@ -1,0 +2,8 @@
+Mon Jan  7 04:23:07 UTC 2019 - Linnaea Lavia 
+
+- Fix build failure with llvm7 with patch from upstream Git:
+  * 0008-Add-preliminary-LLVM-7-support.patch
+- Fix self-test failures on some systems:
+  * beignet-disable-NegAddOptimization.patch
+
+---

New:

  0008-Add-preliminary-LLVM-7-support.patch
  beignet-disable-NegAddOptimization.patch



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.thZTFm/_old  2019-01-08 12:31:16.708089101 +0100
+++ /var/tmp/diff_new_pack.thZTFm/_new  2019-01-08 12:31:16.708089101 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package beignet
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -26,6 +26,8 @@
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
 Patch0: beignet-llvm6.patch
+Patch1: 0008-Add-preliminary-LLVM-7-support.patch
+Patch2: beignet-disable-NegAddOptimization.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  ncurses-devel
@@ -66,6 +68,8 @@
 %prep
 %setup -q -n Beignet-%{version}-Source
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 rm README.md
 cp docs/Beignet.mdwn README.md
 

++ 0008-Add-preliminary-LLVM-7-support.patch ++
>From e1b2419a0008e38ef2d9d255d9e9c74e9fba084b Mon Sep 17 00:00:00 2001
From: "Rebecca N. Palmer" 
Date: Sat, 21 Jul 2018 20:05:54 +0100
Subject: [PATCH 08/10] Add preliminary LLVM 7 support

This is preliminary because LLVM 7 has not been released yet:
it was tested with the snapshot from Debian experimental (svn336894).

1.Change linking order, as clangCodeGen now links to clangFrontend
2.Pass references not pointers to WriteBitcodeToFile and CloneModule
3.Add the headers that LoopSimplifyID, LCSSAID and
some create*Pass have moved to
4.Define our DEBUG whether or not we just undefined LLVM's
(theirs is now LLVM_DEBUG, but we never actually use it)

Signed-off-by: Rebecca N. Palmer 
Reviewed-by: Yang Rong 
---
 CMake/FindLLVM.cmake | 2 +-
 backend/src/backend/gen_program.cpp  | 8 
 backend/src/backend/program.cpp  | 4 
 backend/src/llvm/ExpandLargeIntegers.cpp | 2 +-
 backend/src/llvm/llvm_bitcode_link.cpp   | 4 
 backend/src/llvm/llvm_includes.hpp   | 4 
 6 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake
index 5457f248..f882589d 100644
--- a/CMake/FindLLVM.cmake
+++ b/CMake/FindLLVM.cmake
@@ -113,10 +113,10 @@ macro(add_one_lib name)
 endmacro()
 
 #Assume clang lib path same as llvm lib path
+add_one_lib("clangCodeGen")
 add_one_lib("clangFrontend")
 add_one_lib("clangSerialization")
 add_one_lib("clangDriver")
-add_one_lib("clangCodeGen")
 add_one_lib("clangSema")
 add_one_lib("clangStaticAnalyzerFrontend")
 add_one_lib("clangStaticAnalyzerCheckers")
diff --git a/backend/src/backend/gen_program.cpp 
b/backend/src/backend/gen_program.cpp
index 274c99c7..41592349 100644
--- a/backend/src/backend/gen_program.cpp
+++ b/backend/src/backend/gen_program.cpp
@@ -454,7 +454,11 @@ namespace gbe {
 #ifdef GBE_COMPILER_AVAILABLE
   std::string str;
   llvm::raw_string_ostream OS(str);
+#if LLVM_VERSION_MAJOR >= 7
+  llvm::WriteBitcodeToFile(*((llvm::Module*)prog->module), OS);
+#else
   llvm::WriteBitcodeToFile((llvm::Module*)prog->module, OS);
+#endif
   std::string& bin_str = OS.str();
   int llsz = bin_str.size();
   *binary = (char *)malloc(sizeof(char) * (llsz+1) );
@@ -545,7 +549,11 @@ namespace gbe {
 &modRef);
 src = llvm::unwrap(modRef);
   }
+#if LLVM_VERSION_MAJOR >= 7
+

commit beignet for openSUSE:Factory

2018-11-08 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2018-11-09 07:54:18

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


Package is "beignet"

Fri Nov  9 07:54:18 2018 rev:15 rq:647098 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2018-08-10 
09:49:58.378288797 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2018-11-09 
07:54:21.139715749 +0100
@@ -1,0 +2,5 @@
+Wed Oct 31 19:03:26 UTC 2018 - Bernhard Wiedemann 
+
+- drop indeterministic pch files to make package build reproducible
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.hWOqqa/_old  2018-11-09 07:54:21.839714947 +0100
+++ /var/tmp/diff_new_pack.hWOqqa/_new  2018-11-09 07:54:21.843714943 +0100
@@ -77,6 +77,7 @@
 %install
 %cmake_install
 find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex 
".*(cl_intel.h)" -type f -delete
+rm %{buildroot}%{_libdir}/beignet/beignet*.pch
 
 %files
 %doc README.md




commit beignet for openSUSE:Factory

2018-08-10 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2018-08-10 09:49:57

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


Package is "beignet"

Fri Aug 10 09:49:57 2018 rev:14 rq:628238 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2018-02-01 
21:29:32.756632112 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2018-08-10 
09:49:58.378288797 +0200
@@ -1,0 +2,7 @@
+Wed Aug  8 15:38:43 UTC 2018 - alarr...@suse.com
+
+- Add patch beignet-llvm6.patch to fix build failure with llvm6
+- Fix installation of broken symlink for README.md
+- Use %license
+
+---

New:

  beignet-llvm6.patch



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.YEaCrR/_old  2018-08-10 09:49:59.450290526 +0200
+++ /var/tmp/diff_new_pack.YEaCrR/_new  2018-08-10 09:49:59.450290526 +0200
@@ -20,11 +20,12 @@
 Version:1.3.2
 Release:0
 Summary:OpenCL implementation for Intel GPUs
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Development/Libraries/C and C++
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
+Patch0: beignet-llvm6.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  ncurses-devel
@@ -64,6 +65,9 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
+%patch0 -p1
+rm README.md
+cp docs/Beignet.mdwn README.md
 
 %build
 %cmake \
@@ -75,7 +79,8 @@
 find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex 
".*(cl_intel.h)" -type f -delete
 
 %files
-%doc COPYING README.md
+%doc README.md
+%license COPYING
 %{_libdir}/beignet/
 %{_sysconfdir}/OpenCL/vendors/intel-beignet.icd
 %dir %{_sysconfdir}/OpenCL

++ beignet-llvm6.patch ++
Description: Support LLVM 6

LLVMContext::setDiagnosticHandler and LoopInfo::markAsRemoved are renamed

Author: Rebecca N. Palmer 
Forwarded: 

diff -uNr Beignet-1.3.2-Source.orig/backend/src/llvm/llvm_to_gen.cpp 
Beignet-1.3.2-Source/backend/src/llvm/llvm_to_gen.cpp
--- Beignet-1.3.2-Source.orig/backend/src/llvm/llvm_to_gen.cpp  2017-10-24 
08:04:48.0 +0200
+++ Beignet-1.3.2-Source/backend/src/llvm/llvm_to_gen.cpp   2018-07-21 
09:02:25.891056989 +0200
@@ -322,7 +322,11 @@
 DataLayout DL(&mod);
 
 gbeDiagnosticContext dc;
-mod.getContext().setDiagnosticHandler(&gbeDiagnosticHandler,&dc);
+#if LLVM_VERSION_MAJOR >= 6
+mod.getContext().setDiagnosticHandlerCallBack(&gbeDiagnosticHandler, &dc);
+#else
+mod.getContext().setDiagnosticHandler(&gbeDiagnosticHandler, &dc);
+#endif
 
 #if LLVM_VERSION_MAJOR * 10 + LLVM_VERSION_MINOR >= 37
 mod.setDataLayout(DL);
diff -uNr Beignet-1.3.2-Source.orig/backend/src/llvm/llvm_unroll.cpp 
Beignet-1.3.2-Source/backend/src/llvm/llvm_unroll.cpp
--- Beignet-1.3.2-Source.orig/backend/src/llvm/llvm_unroll.cpp  2017-10-24 
08:04:48.0 +0200
+++ Beignet-1.3.2-Source/backend/src/llvm/llvm_unroll.cpp   2018-07-21 
09:03:15.524362357 +0200
@@ -205,7 +205,9 @@
   if (parentTripCount != 0 && currTripCount * parentTripCount > 32) {
 //Don't change the unrollID if doesn't force unroll.
 //setUnrollID(parentL, false);
-#if LLVM_VERSION_MAJOR * 10 + LLVM_VERSION_MINOR >= 38
+#if LLVM_VERSION_MAJOR >= 6
+loopInfo.erase(parentL);
+#elif LLVM_VERSION_MAJOR * 10 + LLVM_VERSION_MINOR >= 38
 loopInfo.markAsRemoved(parentL);
 #else
 LPM.deleteLoopFromQueue(parentL);



commit beignet for openSUSE:Factory

2018-02-01 Thread root
Hello community,

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

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


Package is "beignet"

Thu Feb  1 21:29:31 2018 rev:13 rq:571525 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2017-10-27 
14:01:11.108679893 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2018-02-01 
21:29:32.756632112 +0100
@@ -1,0 +2,7 @@
+Wed Jan 31 14:54:42 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:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.BoKmnV/_old  2018-02-01 21:29:33.404601796 +0100
+++ /var/tmp/diff_new_pack.BoKmnV/_new  2018-02-01 21:29:33.404601796 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package beignet
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,7 +39,6 @@
 ExclusiveArch:  %{ix86} x86_64
 %if 0%{?suse_version} > 1320
 BuildRequires:  clang-devel >= 3.3
-BuildRequires:  clang-devel-static >= 3.3
 %else
 BuildRequires:  llvm-clang >= 3.3
 BuildRequires:  llvm-clang-devel >= 3.3




commit beignet for openSUSE:Factory

2017-10-27 Thread root
Hello community,

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

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


Package is "beignet"

Fri Oct 27 14:01:08 2017 rev:12 rq:536886 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2017-05-17 
10:54:34.109018441 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2017-10-27 
14:01:11.108679893 +0200
@@ -1,0 +2,17 @@
+Thu Oct 26 11:28:51 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.3.2:
+  * Add some Gemini Lake devices support.
+  * Add llvm4.0 and llvm5.0 support.
+  * Add cl_intel_required_subgroup_size extension support.
+  * Fix some other bugs.
+- Drop no longer needed patches:
+  * 0001-Backend-Remove-old-llvm-support-code.patch
+  * 0002-Backend-Fix-an-include-file-error-problem.patch
+  * 0003-Backend-Refine-GEP-lowering-code.patch
+  * 0004-Backend-Refine-LLVM-version-check-macro.patch
+  * 0005-Backend-Refine-FCmp-one-and-une.patch
+  * 0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
+  * 0007-Backend-Add-LLVM40-support.patch
+
+---

Old:

  0001-Backend-Remove-old-llvm-support-code.patch
  0002-Backend-Fix-an-include-file-error-problem.patch
  0003-Backend-Refine-GEP-lowering-code.patch
  0004-Backend-Refine-LLVM-version-check-macro.patch
  0005-Backend-Refine-FCmp-one-and-une.patch
  0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
  0007-Backend-Add-LLVM40-support.patch
  beignet-1.3.1-source.tar.gz

New:

  beignet-1.3.2-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.LaRPbp/_old  2017-10-27 14:01:13.064588462 +0200
+++ /var/tmp/diff_new_pack.LaRPbp/_new  2017-10-27 14:01:13.068588275 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.3.1
+Version:1.3.2
 Release:0
 Summary:OpenCL implementation for Intel GPUs
 License:LGPL-2.1+
@@ -25,19 +25,8 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
-Patch0: 0001-Backend-Remove-old-llvm-support-code.patch
-Patch1: 0002-Backend-Fix-an-include-file-error-problem.patch
-Patch2: 0003-Backend-Refine-GEP-lowering-code.patch
-Patch3: 0004-Backend-Refine-LLVM-version-check-macro.patch
-Patch4: 0005-Backend-Refine-FCmp-one-and-une.patch
-Patch5: 0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
-Patch6: 0007-Backend-Add-LLVM40-support.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-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
@@ -47,7 +36,15 @@
 BuildRequires:  pkgconfig(ocl-icd)
 BuildRequires:  pkgconfig(zlib)
 # exclusive to Intel GPU
-ExclusiveArch:  %ix86 x86_64
+ExclusiveArch:  %{ix86} x86_64
+%if 0%{?suse_version} > 1320
+BuildRequires:  clang-devel >= 3.3
+BuildRequires:  clang-devel-static >= 3.3
+%else
+BuildRequires:  llvm-clang >= 3.3
+BuildRequires:  llvm-clang-devel >= 3.3
+BuildRequires:  llvm-devel >= 3.3
+%endif
 
 %description
 Beignet is an implementation of the OpenCL specification - a generic
@@ -68,13 +65,6 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
 
 %build
 %cmake \
@@ -86,7 +76,6 @@
 find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex 
".*(cl_intel.h)" -type f -delete
 
 %files
-%defattr(-,root,root)
 %doc COPYING README.md
 %{_libdir}/beignet/
 %{_sysconfdir}/OpenCL/vendors/intel-beignet.icd
@@ -94,7 +83,6 @@
 %dir %{_sysconfdir}/OpenCL/vendors
 
 %files devel
-%defattr(-,root,root)
 %doc docs/*
 %{_includedir}/CL/cl_intel.h
 

++ beignet-1.3.1-source.tar.gz -> beignet-1.3.2-source.tar.gz ++
 4870 lines of diff (skipped)




commit beignet for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2017-05-17 10:54:32

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


Package is "beignet"

Wed May 17 10:54:32 2017 rev:11 rq:495212 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2017-03-20 
17:09:34.441775042 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2017-05-17 
10:54:34.109018441 +0200
@@ -1,0 +2,12 @@
+Thu May  4 19:47:06 UTC 2017 - mar...@gmx.de
+
+- Add patches for LLVM 4.0 support
+  * 0001-Backend-Remove-old-llvm-support-code.patch
+  * 0002-Backend-Fix-an-include-file-error-problem.patch
+  * 0003-Backend-Refine-GEP-lowering-code.patch
+  * 0004-Backend-Refine-LLVM-version-check-macro.patch
+  * 0005-Backend-Refine-FCmp-one-and-une.patch
+  * 0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
+  * 0007-Backend-Add-LLVM40-support.patch
+
+---

New:

  0001-Backend-Remove-old-llvm-support-code.patch
  0002-Backend-Fix-an-include-file-error-problem.patch
  0003-Backend-Refine-GEP-lowering-code.patch
  0004-Backend-Refine-LLVM-version-check-macro.patch
  0005-Backend-Refine-FCmp-one-and-une.patch
  0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
  0007-Backend-Add-LLVM40-support.patch



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.br5NDD/_old  2017-05-17 10:54:34.992894098 +0200
+++ /var/tmp/diff_new_pack.br5NDD/_new  2017-05-17 10:54:34.996893536 +0200
@@ -25,6 +25,13 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
+Patch0: 0001-Backend-Remove-old-llvm-support-code.patch
+Patch1: 0002-Backend-Fix-an-include-file-error-problem.patch
+Patch2: 0003-Backend-Refine-GEP-lowering-code.patch
+Patch3: 0004-Backend-Refine-LLVM-version-check-macro.patch
+Patch4: 0005-Backend-Refine-FCmp-one-and-une.patch
+Patch5: 0006-utest-fix-image-qualifier-of-compiler_fill_gl_image-.patch
+Patch6: 0007-Backend-Add-LLVM40-support.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  llvm >= 3.3
@@ -61,6 +68,13 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
 %cmake \

++ 0001-Backend-Remove-old-llvm-support-code.patch ++
>From c6497b19e7b32bcb0d1f4aceb1988488dfec639d Mon Sep 17 00:00:00 2001
From: Pan Xiuli 
Date: Fri, 17 Mar 2017 14:15:58 +0800
Subject: [PATCH 1/7] Backend: Remove old llvm support code.

LLVM 3.3 or older is not supportted by Beignet now, and we need delete
these codes.

Signed-off-by: Pan Xiuli 
Reviewed-by: Yang Rong 
---
 backend/src/backend/gen_program.cpp |  6 --
 backend/src/backend/program.cpp | 30 --
 backend/src/llvm/llvm_gen_backend.cpp   | 22 --
 backend/src/llvm/llvm_printf_parser.cpp |  6 --
 backend/src/llvm/llvm_profiling.cpp | 20 
 backend/src/llvm/llvm_scalarize.cpp |  6 --
 6 files changed, 90 deletions(-)

diff --git a/backend/src/backend/gen_program.cpp 
b/backend/src/backend/gen_program.cpp
index 073ede64..376342b8 100644
--- a/backend/src/backend/gen_program.cpp
+++ b/backend/src/backend/gen_program.cpp
@@ -24,15 +24,9 @@
 
 #ifdef GBE_COMPILER_AVAILABLE
 #include "llvm/Config/llvm-config.h"
-#if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR <= 2
-#include "llvm/LLVMContext.h"
-#include "llvm/Module.h"
-#include "llvm/DataLayout.h"
-#else
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Module.h"
 #include "llvm/IR/DataLayout.h"
-#endif  /* LLVM_VERSION_MINOR <= 2 */
 #include "llvm-c/Linker.h"
 #include "llvm/Transforms/Utils/Cloning.h"
 #include "llvm/Bitcode/ReaderWriter.h"
diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp
index 8b8abc4d..6b5fce06 100644
--- a/backend/src/backend/program.cpp
+++ b/backend/src/backend/program.cpp
@@ -52,33 +52,16 @@
 #include 
 
 #ifdef GBE_COMPILER_AVAILABLE
-/* Not defined for LLVM 3.0 */
-#if !defined(LLVM_VERSION_MAJOR)
-#define LLVM_VERSION_MAJOR 3
-#endif /* !defined(LLVM_VERSION_MAJOR) */
-
-/* Not defined for LLVM 3.0 */
-#if !defined(LLVM_VERSION_MINOR)
-#define LLVM_VERSION_MINOR 0
-#endif /* !defined(LLVM_VERSION_MINOR) */
 
 #include 
 #include 
 #include 
-#if LLVM_VERSION_MINOR <= 1
-#include 
-#else
 #include 
-#endif  /* LLVM_VERSION_MINOR <= 1 */
 #include 
 #include 
 #include 
 #include 
-#if LLVM_VERSION_MINOR <= 2
-#

commit beignet for openSUSE:Factory

2017-03-20 Thread root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2017-03-20 17:09:32

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


Package is "beignet"

Mon Mar 20 17:09:32 2017 rev:10 rq:480628 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2017-01-09 
11:54:04.260294558 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2017-03-20 
17:09:34.441775042 +0100
@@ -1,0 +2,17 @@
+Tue Mar 14 11:47:10 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.3.1:
+  * OpenCL 2.0 support.
+  * OpenCL event and enqueue module re-implement.
+  * Other OpenCL runtime driver refine.
+  * LLVM 3.9 support.
+  * Extension cl_khr_gl_sharing support.
+  * Extension intel_subgroups_short support. 
+  * Large kernel compiling speed up.
+  * Register allocation improvement.
+  * Enable OpenCL 2.0 where device supported.
+  * Optimize int64 multiply int64.
+  * Add cl_khr_gl_sharing example and document.
+  * Fix some bugs.
+
+---

Old:

  beignet-1.2.1-source.tar.gz

New:

  beignet-1.3.1-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.HY9hE7/_old  2017-03-20 17:09:36.117538425 +0100
+++ /var/tmp/diff_new_pack.HY9hE7/_new  2017-03-20 17:09:36.117538425 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.2.1
+Version:1.3.1
 Release:0
 Summary:OpenCL implementation for Intel GPUs
 License:LGPL-2.1+

++ beignet-1.2.1-source.tar.gz -> beignet-1.3.1-source.tar.gz ++
 57047 lines of diff (skipped)




commit beignet for openSUSE:Factory

2016-11-13 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2016-11-13 23:02:11

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2016-09-01 
14:03:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2016-11-13 
23:02:59.0 +0100
@@ -1,0 +2,11 @@
+Sat Nov 12 10:44:33 UTC 2016 - mplus...@suse.com
+
+- Update to version 1.2.1
+  * Add some Apollo Lake devices support.
+  * Add llvm3.9 support.
+  * Fix some cl_intel_subgroups extension bugs.
+  * Avoid too many messages when the driver could not find good
+work group size.
+  * Fix some other bugs.
+
+---
@@ -4 +15 @@
-- Update to 1.2
+- Update to 1.2.0

Old:

  beignet-1.2.0-source.tar.gz

New:

  beignet-1.2.1-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.5FbIff/_old  2016-11-13 23:03:00.0 +0100
+++ /var/tmp/diff_new_pack.5FbIff/_new  2016-11-13 23:03:00.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.2.0
+Version:1.2.1
 Release:0
 Summary:Open source implementation of the OpenCL for Intel GPUs
 License:LGPL-2.1+
@@ -64,9 +64,8 @@
 
 %build
 %cmake \
-   -DLLVM_INSTALL_DIR=%{_bindir}/ \
-   -DCMAKE_BUILD_TYPE=Release
-make VERBOSE=1 %{?_smp_mflags}
+   -DLLVM_INSTALL_DIR=%{_bindir}/
+%make_jobs
 
 %install
 %cmake_install

++ beignet-1.2.0-source.tar.gz -> beignet-1.2.1-source.tar.gz ++
 2872 lines of diff (skipped)




commit beignet for openSUSE:Factory

2016-09-01 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2016-09-01 14:03:01

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2016-07-14 
09:49:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2016-09-01 
14:03:03.0 +0200
@@ -1,0 +2,21 @@
+Tue Aug 30 16:48:42 UTC 2016 - mar...@gmx.de
+
+- Update to 1.2
+  * 6th generation Intel Atom Processors (Broxton) support.
+  * 6th generation Intel Core Processors (Kabylake) support.
+  * LLVM 3.7 and 3.8 support.
+  * ASM debug infomation and profiling support.
+  * Experimental double data type support for processors after  6th 
generation(Broadwell) .
+  * Full cl_intel_subgroups extension.
+  * OpenCL 2.0 workgroup built-in functions.
+  * Local copy propagation optimization and other optimizations
+  * intel_accelerator extension and basic intel_motion_estimation extension.
+  * Android build.
+  * Refined printf implementation.
+  * Bug fixes since last release.
+- Drop no longer needed patches (fixed upstream)
+  * gcc6-support.patch
+  * llvm38-support.patch
+  * std-isnan-isinf.patch
+
+---

Old:

  beignet-1.1.2-source.tar.gz
  gcc6-support.patch
  llvm38-support.patch
  std-isnan-isinf.patch

New:

  beignet-1.2.0-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.WM4Myq/_old  2016-09-01 14:03:04.0 +0200
+++ /var/tmp/diff_new_pack.WM4Myq/_new  2016-09-01 14:03:04.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.1.2
+Version:1.2.0
 Release:0
 Summary:Open source implementation of the OpenCL for Intel GPUs
 License:LGPL-2.1+
@@ -25,9 +25,6 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
-Patch0: gcc6-support.patch
-Patch1: llvm38-support.patch
-Patch2: std-isnan-isinf.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  llvm >= 3.3
@@ -64,9 +61,6 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 %cmake \

++ beignet-1.1.2-source.tar.gz -> beignet-1.2.0-source.tar.gz ++
 43765 lines of diff (skipped)




commit beignet for openSUSE:Factory

2016-07-14 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2016-07-14 09:49:24

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2015-12-21 
12:05:00.0 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2016-07-14 
09:49:29.0 +0200
@@ -1,0 +2,19 @@
+Mon Jul  4 18:29:03 UTC 2016 - mar...@gmx.de
+
+- Add patches to support build with GCC6.1
+  * gcc6-support.patch
+  * llvm38-support.patch
+  * std-isnan-isinf.patch
+
+---
+Sun May  8 13:10:31 UTC 2016 - mplus...@suse.com
+
+- Update to 1.1.2
+  * Add Broxton support.
+  * Add llvm3.7 support.
+  * Fix event bugs.
+  * Fix the annoying "Failed to release userptr..." error message.
+  * Fix printf bugs.
+- Drop no longer needed beignet-llvm37.diff
+
+---

Old:

  beignet-1.1.1-source.tar.gz
  beignet-llvm37.diff

New:

  beignet-1.1.2-source.tar.gz
  gcc6-support.patch
  llvm38-support.patch
  std-isnan-isinf.patch



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.KPYRe8/_old  2016-07-14 09:49:32.0 +0200
+++ /var/tmp/diff_new_pack.KPYRe8/_new  2016-07-14 09:49:32.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package beignet
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:Open source implementation of the OpenCL for Intel GPUs
 License:LGPL-2.1+
@@ -25,7 +25,9 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
-Patch0: beignet-llvm37.diff
+Patch0: gcc6-support.patch
+Patch1: llvm38-support.patch
+Patch2: std-isnan-isinf.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  llvm >= 3.3
@@ -63,6 +65,8 @@
 %prep
 %setup -q -n Beignet-%{version}-Source
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %cmake \

++ beignet-1.1.1-source.tar.gz -> beignet-1.1.2-source.tar.gz ++
 3517 lines of diff (skipped)

++ gcc6-support.patch ++
>From 356c856479207e2514d44d28456a70766691fccc Mon Sep 17 00:00:00 2001
From: Pan Xiuli 
Date: Tue, 3 May 2016 10:58:10 +0800
Subject: Add support for gcc 6

Signed-off-by: Pan Xiuli 
Reviewed-by: Yang Rong 

diff --git a/backend/src/ir/immediate.hpp b/backend/src/ir/immediate.hpp
index 3141643..6bc60d5 100644
--- a/backend/src/ir/immediate.hpp
+++ b/backend/src/ir/immediate.hpp
@@ -343,7 +343,7 @@ namespace ir {
   float *f32;
   double *f64;
   half *f16;
-  const Immediate *immVec[];
+  const Immediate **immVec;
   void *p;
 } data; //!< Value to store
 Immediate operator+ (const Immediate &) const;
diff --git a/utests/builtin_exp.cpp b/utests/builtin_exp.cpp
index 406d223..1eaa187 100644
--- a/utests/builtin_exp.cpp
+++ b/utests/builtin_exp.cpp
@@ -5,7 +5,7 @@
 #define udebug 0
 
 #define FLT_MAX 0x1.fep127f
-#define FLT_MIN 0x1.0p-126f
+#define FLT_MIN ldexp(1.0,-126)
 #define FLT_ULP  (1.0e-6f)
 
 #define printf_c(...) \
diff --git a/utests/utest_generator.py b/utests/utest_generator.py
index 84029da..38d9ea0 100644
--- a/utests/utest_generator.py
+++ b/utests/utest_generator.py
@@ -4,8 +4,8 @@ import os,sys,re
 
 FLT_MAX_POSI='0x1.fep127f'
 FLT_MIN_NEGA='-0x1.fep127f'
-FLT_MIN_POSI='0x1.0p-126f'
-FLT_MAX_NEGA='-0x1.0p-126f'
+FLT_MIN_POSI='ldexp(1.0, -126)'
+FLT_MAX_NEGA='ldexp(-1.0, -126)'
 
 paraTypeList={'float':'%e','int':'%d','double':'%lf','uint':'%d','string':'%s'}
 
-- 
cgit v0.10.2

++ llvm38-support.patch ++
 676 lines (skipped)

++ std-isnan-isinf.patch ++
Description: Prepend std namespace to isnan and isinf calls.

Needed in Ubuntu to avoid FTBFS.

Origin: upstream 14bd8855dddcf683df8138c1062bc65b05d46f94
Author: Sean Lynch
diff --git a/utests/builtin_acos_asin.cpp b/utests/builtin_acos_asin.cpp
index 0187226..395460b 100644
--- a/utests/builtin_acos_asin.cpp
+++ b/utests/builtin_acos_asin.cpp
@@ -59,10 +59,10 @@ static void builtin_acos_asin(void)
 {
   index_cur = k * max_function + i;
 #if udebug
-  if (isinf(cpu_data[index_cur]) && !isinf(gpu_data[index_cur])){
+

commit beignet for openSUSE:Factory

2015-12-21 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2015-12-21 12:04:55

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2015-10-26 
12:48:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2015-12-21 
12:05:00.0 +0100
@@ -1,0 +2,11 @@
+Fri Dec 18 12:48:30 UTC 2015 - mplus...@suse.com
+
+- Update to 1.1.1
+  * Dump asm to a file.
+  * Use addRemappedFile to avoid creating temporary cl source file.
+  * add collectInsnNum to collect block instruction number.
+  * Fix piglit clLinkProgram fail.
+  * Calculate appropriate timestamps for cl profile.
+- Use cmake macros 
+
+---

Old:

  beignet-1.1.0-source.tar.gz

New:

  beignet-1.1.1-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.Qr5w6a/_old  2015-12-21 12:05:01.0 +0100
+++ /var/tmp/diff_new_pack.Qr5w6a/_new  2015-12-21 12:05:01.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   beignet
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Open source implementation of the OpenCL for Intel GPUs
 License:LGPL-2.1+
@@ -25,8 +25,6 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
-# exclusive to Intel GPU
-ExclusiveArch:  %{ix86} x86_64
 Patch0: beignet-llvm37.diff
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -42,6 +40,8 @@
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(ocl-icd)
 BuildRequires:  pkgconfig(zlib)
+# exclusive to Intel GPU
+ExclusiveArch:  %ix86 x86_64
 
 %description
 Beignet is an open source implementation of the OpenCL specification - a 
generic
@@ -65,14 +65,13 @@
 %patch0 -p1
 
 %build
-%cmake .. \
+%cmake \
-DLLVM_INSTALL_DIR=%{_bindir}/ \
-DCMAKE_BUILD_TYPE=Release
 make VERBOSE=1 %{?_smp_mflags}
 
 %install
-cd build
-%make_install
+%cmake_install
 find %{buildroot}%{_includedir}/CL/ -regextype posix-egrep -not -regex 
".*(cl_intel.h)" -type f -delete
 
 %files

++ beignet-1.1.0-source.tar.gz -> beignet-1.1.1-source.tar.gz ++
 1951 lines of diff (skipped)

++ beignet-llvm37.diff ++
--- /var/tmp/diff_new_pack.Qr5w6a/_old  2015-12-21 12:05:02.0 +0100
+++ /var/tmp/diff_new_pack.Qr5w6a/_new  2015-12-21 12:05:02.0 +0100
@@ -1,7 +1,7 @@
-diff --git a/backend/src/backend/gen_program.cpp 
b/backend/src/backend/gen_program.cpp
-index 04da692..292b7b5 100644
 a/backend/src/backend/gen_program.cpp
-+++ b/backend/src/backend/gen_program.cpp
+Index: Beignet-1.1.1-Source/backend/src/backend/gen_program.cpp
+===
+--- Beignet-1.1.1-Source.orig/backend/src/backend/gen_program.cpp
 Beignet-1.1.1-Source/backend/src/backend/gen_program.cpp
 @@ -402,7 +402,11 @@ namespace gbe {
llvm::Module* src = (llvm::Module*)((GenProgram*)src_program)->module;
llvm::Module* dst = (llvm::Module*)((GenProgram*)dst_program)->module;
@@ -14,10 +14,10 @@
  if (err != NULL && errSize != NULL && stringSize > 0u) {
strncpy(err, errMsg, stringSize-1);
err[stringSize-1] = '\0';
-diff --git a/backend/src/libocl/CMakeLists.txt 
b/backend/src/libocl/CMakeLists.txt
-index 0cd1eef..0fffd9b 100644
 a/backend/src/libocl/CMakeLists.txt
-+++ b/backend/src/libocl/CMakeLists.txt
+Index: Beignet-1.1.1-Source/backend/src/libocl/CMakeLists.txt
+===
+--- Beignet-1.1.1-Source.orig/backend/src/libocl/CMakeLists.txt
 Beignet-1.1.1-Source/backend/src/libocl/CMakeLists.txt
 @@ -52,7 +52,8 @@ FOREACH(M ${OCL_COPY_HEADERS})
  COPY_THE_HEADER(${M})
  ENDFOREACH(M) 
@@ -37,10 +37,10 @@
  FOREACH(f ${OCL_LL_MODULES})
  COPY_THE_LL(${f})
  ADD_LL_TO_BC_TARGET(${f})
-diff --git a/backend/src/libocl/include/ocl.h 
b/backend/src/libocl/include/ocl.h
-index a4af4aa..7897567 100644
 a/backend/src/libocl/include/ocl.h
-+++ b/backend/src/libocl/include/ocl.h
+Index: Beignet-1.1.1-Source/backend/src/libocl/include/ocl.h
+===
+--- Beignet-1.1.1-Source.orig/backend/src/libocl/include/ocl.h
 Beignet-1.1.1-Source/backend/src/libocl/include/ocl.h
 @@ -30,6 +30,7 @@
  #include "ocl_image.h"
  #include "ocl_integer.h"
@@ -49,11 +49,10 @@
  #include "ocl_misc.h"
  #include "ocl_printf.h"
  #include "ocl_relational.h"
-diff --gi

commit beignet for openSUSE:Factory

2015-10-26 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2015-10-26 12:48:53

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2015-10-20 
00:09:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2015-10-26 
12:48:58.0 +0100
@@ -1,0 +2,5 @@
+Thu Oct 22 17:58:29 UTC 2015 - norm...@linux.vnet.ibm.com
+
+- add ExclusiveArch %{ix86} x86_64 to avoid build error other archi
+
+---



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.qNovHF/_old  2015-10-26 12:48:59.0 +0100
+++ /var/tmp/diff_new_pack.qNovHF/_new  2015-10-26 12:48:59.0 +0100
@@ -25,6 +25,8 @@
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
 Source99:   beignet-rpmlintrc
+# exclusive to Intel GPU
+ExclusiveArch:  %{ix86} x86_64
 Patch0: beignet-llvm37.diff
 BuildRequires:  cmake
 BuildRequires:  gcc-c++




commit beignet for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2015-10-19 22:54:11

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2015-08-02 
22:45:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2015-10-20 
00:09:17.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct 13 22:12:17 UTC 2015 - mar...@gmx.de
+
+- add patch: beignet-llvm37.diff to support llvm 3.7
+- add rpmlintrc
+
+---

New:

  beignet-llvm37.diff
  beignet-rpmlintrc



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.V5WIwP/_old  2015-10-20 00:09:18.0 +0200
+++ /var/tmp/diff_new_pack.V5WIwP/_new  2015-10-20 00:09:18.0 +0200
@@ -24,6 +24,8 @@
 Group:  Development/Libraries/C and C++
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
+Source99:   beignet-rpmlintrc
+Patch0: beignet-llvm37.diff
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  llvm >= 3.3
@@ -58,6 +60,7 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
+%patch0 -p1
 
 %build
 %cmake .. \

++ beignet-llvm37.diff ++
 2218 lines (skipped)

++ beignet-rpmlintrc ++
addFilter("devel-file-in-non-devel-package")



commit beignet for openSUSE:Factory

2015-08-02 Thread h_root
Hello community,

here is the log from the commit of package beignet for openSUSE:Factory checked 
in at 2015-08-02 22:45:54

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


Package is "beignet"

Changes:

--- /work/SRC/openSUSE:Factory/beignet/beignet.changes  2015-07-05 
18:02:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.beignet.new/beignet.changes 2015-08-02 
22:45:56.0 +0200
@@ -1,0 +2,18 @@
+Fri Jul 31 07:54:13 UTC 2015 - mar...@gmx.de
+
+- update to version 1.1.0
+ The highlighted improvements are as below:
+ * Added 6th generation Intel Core Processors (SKL) support.
+ * Added 5th generation Intel Atom Processors (BSW) support.
+ * Re-implement structurized control flow algorithm.
+ * Added half data type support after BDW.
+ * Implement a new BTI solution to support dynamic bti.
+ * Added extension cl_intel_subgroups support.
+ * Replace some built-ins with llvm intrinsic.
+ * Add Indirect structure argument read support.
+ * Enable cl_khr_spir extension to build and run from SPIR binary.
+ * Improvement some opencv test suite performance on all platforms.
+ * Several other bug fixes since last release.
+- removed patch beignet-icd-name-fix.diff (included upstream)
+
+---

Old:

  beignet-1.0.2-source.tar.gz
  beignet-icd-name-fix.diff

New:

  beignet-1.1.0-source.tar.gz



Other differences:
--
++ beignet.spec ++
--- /var/tmp/diff_new_pack.9RzKoU/_old  2015-08-02 22:45:57.0 +0200
+++ /var/tmp/diff_new_pack.9RzKoU/_new  2015-08-02 22:45:57.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package beignet
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,20 @@
 
 
 Name:   beignet
-Version:1.0.2
+Version:1.1.0
 Release:0
 Summary:Open source implementation of the OpenCL for Intel GPUs
 License:LGPL-2.1+
+Group:  Development/Libraries/C and C++
 Url:https://01.org/beignet/
 Source0:
https://01.org/sites/default/files/%{name}-%{version}-source.tar.gz
-Patch0:beignet-icd-name-fix.diff
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 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:  pkgconfig(egl)
@@ -37,7 +38,6 @@
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(ocl-icd)
 BuildRequires:  pkgconfig(zlib)
-BuildRequires:  ncurses-devel
 
 %description
 Beignet is an open source implementation of the OpenCL specification - a 
generic
@@ -58,7 +58,6 @@
 
 %prep
 %setup -q -n Beignet-%{version}-Source
-%patch0 -p1
 
 %build
 %cmake .. \

++ beignet-1.0.2-source.tar.gz -> beignet-1.1.0-source.tar.gz ++
 95409 lines of diff (skipped)