Re: [Beignet] Attempt at LLVM 10 support (currently broken)

2020-09-24 Thread Steven Newbury
atches > > -- > Orm > > Am 22. September 2020 18:16:55 MESZ schrieb Steven Newbury < > st...@snewbury.org.uk>: > > On Mon, 2020-09-14 at 15:11 +0200, Orm Finnendahl wrote: > > > Hi, > > > > > > is there anybody who got beignet working with llv

Re: [Beignet] Attempt at LLVM 10 support (currently broken)

2020-09-23 Thread Steven Newbury
On Mon, 2020-09-14 at 15:11 +0200, Orm Finnendahl wrote: > Hi, > > is there anybody who got beignet working with llvm 10 and can she/he > share experiences and patches? > > Background: I just got the bad news from intel-compute-runtime that > they have to postpone the implementation of cl_khr_gl

[Beignet] [PATCH] FindLLVM: check for empty system-libs variable

2015-12-23 Thread Steven Newbury
When dynamic linking against LLVM, "llvm-config --system-libs" may be empty.  Add check for a result before attempting to call REGEX REPLACE with an empty variable. Signed-off-by: Steven Newbury ---  CMake/FindLLVM.cmake | 2 +++  1 file changed, 2 insertions(+) diff --git a/CMake/Find

Re: [Beignet] [PATCH] Make FindLLVM.cmake work with empty "system-libs"

2015-12-21 Thread Steven Newbury
w to find this libraries? > > > -Original Message- > > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > > Steven Newbury > > Sent: Thursday, December 17, 2015 7:33 > > To: beignet@lists.freedesktop.org > > Subject: [Beignet] [PATCH] Ma

[Beignet] [PATCH] Make FindLLVM.cmake work with empty "system-libs"

2015-12-16 Thread Steven Newbury
On Gentoo we sanitise and fix up llvm-config to work with shared libraries and to provide correct output for @world to build against.  (See https://bugs.gentoo.org/show_bug.cgi?id=565358) Part of this is we wipe "system-libs" since it's inappropriate to link to unnecessarily. This has revealed the

Re: [Beignet] [PATCH 2/3] Add llvm3.6 build support.

2015-03-01 Thread Steven Newbury
I now have another failure to build with llvm3.6 (release) not sure if it's an LLVM or flag change. It would build with "-fpermissive". See in-line. On Thu, 2015-02-12 at 16:29 +0800, Yang Rong wrote: > There are some changes from llvm3.5: > 1. Some functions return std::unique_ptr instead of po

Re: [Beignet] [PATCH 2/3] Add llvm3.6 build support.

2015-02-12 Thread Steven Newbury
Sorry about the wrap-mangled patch. On Thu, 2015-02-12 at 13:11 +, Steven Newbury wrote: > Broken build after this patch landed due to missing parenthesis. > > --- ./backend/src/llvm/llvm_bitcode_link.cpp~ 2015-02-12 > 12:48:52.0 + > +++ ./backend/src/llvm/llvm_b

Re: [Beignet] [PATCH 2/3] Add llvm3.6 build support.

2015-02-12 Thread Steven Newbury
Broken build after this patch landed due to missing parenthesis. --- ./backend/src/llvm/llvm_bitcode_link.cpp~ 2015-02-12 12:48:52.0 + +++ ./backend/src/llvm/llvm_bitcode_link.cpp2015-02-12 13:04:42.627791705 + @@ -224,7 +224,7 @@ } #else if (std::error_cod

Re: [Beignet] beignet doesnt compile with LLVM 3.6

2015-02-10 Thread Steven Newbury
On Thu, 2014-10-30 at 02:22 +, Yang, Rong R wrote: > Because LLVM change the head file frequently, Beignet only support > the released version LLVM, from 3.3 to 3.5. You can get this > information from Beignet wiki: > http://www.freedesktop.org/wiki/Software/Beignet/. > This is just a s

Re: [Beignet] Which version of mesa that Beignet could compile with?

2014-10-24 Thread Steven Newbury
On Sun, 2014-10-19 at 22:15 +0800, Boxiang Sun wrote: > Did you set the 'MESA_SOURCE_FOUND' to '1' and the path of mesa > source > directory in Beignet cmake file? > > I'm pretty sure that the current master could not compiles with Mesa > 10.3.x > if without some modifications. > > Regards, > S

Re: [Beignet] Which version of mesa that Beignet could compile with?

2014-10-20 Thread Steven Newbury
On 20/10/14 12:56, Zhigang Gong wrote: > Steven, > > Thanks for the good suggestion. > > I did send a patchset to mesa-dev more than one year ago. > http://lists.freedesktop.org/archives/mesa-dev/2013-July/041770.html > My email archive doesn't go back that far, otherwise I'd dump it and try t

Re: [Beignet] Which version of mesa that Beignet could compile with?

2014-10-20 Thread Steven Newbury
On 20/10/14 06:07, Zhigang Gong wrote: > Please check out the README in the package: > > > > * cl\_khr\_gl\_sharing. > > This extension highly depends on mesa support. It seems that mesa > would not provide > > such type of extensions, we may have to hack with mesa source code > to support t

Re: [Beignet] [PATCH] OCL_BITCODE_BIN path missing "/"

2014-10-19 Thread Steven Newbury
On Sun, 2014-10-19 at 17:13 +0100, Steven Newbury wrote: > On Sun, 2014-10-19 at 16:29 +0100, Steven Newbury wrote: > > On Sun, 2014-10-19 at 11:18 -0400, Yichao Yu wrote: > > > On Sun, Oct 19, 2014 at 10:46 AM, Steven Newbury < > > > st...@snewbury.org.uk> wrote:

Re: [Beignet] [PATCH] OCL_BITCODE_BIN path missing "/"

2014-10-19 Thread Steven Newbury
On Sun, 2014-10-19 at 16:29 +0100, Steven Newbury wrote: > On Sun, 2014-10-19 at 11:18 -0400, Yichao Yu wrote: > > On Sun, Oct 19, 2014 at 10:46 AM, Steven Newbury < > > st...@snewbury.org.uk> wrote: > > > The OCL_BITCODE_BIN path should contain a "/" after

Re: [Beignet] [PATCH] OCL_BITCODE_BIN path missing "/"

2014-10-19 Thread Steven Newbury
On Sun, 2014-10-19 at 11:18 -0400, Yichao Yu wrote: > On Sun, Oct 19, 2014 at 10:46 AM, Steven Newbury < > st...@snewbury.org.uk> wrote: > > The OCL_BITCODE_BIN path should contain a "/" after > > ${BEIGNET_INSTALL_DIR} in case the expanded p

[Beignet] [PATCH] OCL_BITCODE_BIN path missing "/"

2014-10-19 Thread Steven Newbury
The OCL_BITCODE_BIN path should contain a "/" after ${BEIGNET_INSTALL_DIR} in case the expanded path doesn't contain a trailing "/". --- --- backend/src/CMakeLists.txt~ 2014-10-19 15:31:58.0 +0100 +++ backend/src/CMakeLists.txt 2014-10-19 15:33:53.705853137 +0100 @@ -1,4 +1,4 @@ -

[Beignet] Beignet Mesa EGL extension

2014-06-22 Thread Steven Newbury
I was looking at getting Beignet compiling against current mesa working again a few weeks ago. Really there needs to be some coordination with the Mesa devs to provide a suitable API since what was being used has been since removed. To that end; I've cc'd mesa-dev, hopefully there can be progress m

[Beignet] Beignet changes required to support "no more regions!"

2014-05-02 Thread Steven Newbury
Beignet has got a little left behind upstream Mesa changes so I've been patching to compile against mesa/master for my gentoo-opencl overlay. Eric Anholt has just landed a significant patch series dropping support for regions in the i965 driver. Unfortunately, the Beignet DRI resource sharing code

Re: [Beignet] [PATCH 0/2] support ICD by default

2014-01-08 Thread Steven Newbury
On Wed, 2014-01-08 at 19:31 +0800, Zhigang Gong wrote: > This patchset is to support ICD by default. Then the developer could use > beignet > easier when the developer want to start with beignet source code directly. > > So we made two changes, the first is to back port the ICD support to the 1.1

Re: [Beignet] Backend visible to other apps?

2013-10-14 Thread Steven Newbury
On Mon, 2013-10-14 at 20:48 +0200, Simon Richter wrote: > Hi Ian, > > On 14.10.2013 20:22, Ian Daniher wrote: > > > I'm pretty sure I need to add something to /etc/OpenCL/vendors to make > > beignet's presence known, but this doesn't seem to be done automatically > > and documentation is spotty.