On Sun, Oct 19, 2014 at 11:19 AM, Boxiang Sun <daetalu...@gmail.com> wrote: >> The PKGBUILD script I use to package beignet is here[1]. The only >> modification was because of the ocl-icd.h header requiring OpenCL 2.0 >> headers incompatible with the one shipped with beignet (which should >> probably be fixed already but I was too lazy to remove that). > > > If my understanding was correct. This build script didn't depend mesa and > didn't > enable cl_khr_gl_sharing option. That means the beignet didn't compile with > mesa.
I C. Sorry I didn't know that beignet only compiles with mesa when GL interop is explicitly enabled. (I use OpenCL mainly for computation only so that's not really a problem for me....) >> >> >> > >> > I'm pretty sure that the current master could not compiles with Mesa >> > 10.3.x >> > if without some modifications. >> >> Why are you so sure about that? IIRC, there was discussion/commit a >> few weeks/months ago about fixing compilation with mesa 10.3. > > > The current beignet source code not consistent with mesa 10.3. You can > comfirm it > in ./beignet/src/intel/intel_dri_resource_sharing.c. The code still use > 'mt->region' > or similar things. Which was dropped in mesa 10.3.x > >> It would also be probably a lot more helpful to paste the compile >> error in order to figure out what is your problem. > > > No need for paste compile information here. I made some modifications > to Beignet that let Beignet could compiles with Mesa 10.3.x. But > I could not fix the "compiler_fill_gl_image" test errors. Makes sense. _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet