Ok, after trying to repair the system I ended up backing up all my data (finally came a reason -- kind of a good feeling to know the data has been backupped), and making a clean install of Ub. x64 again. Then: $sudo apt-get build-deb beignet $git clone git://anongit.freedesktop.org/beignet beignet/build$ cmake ../ -- The C compiler identification is GNU 4.8.2 -- The CXX compiler identification is GNU 4.8.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- Building mode: RelWithDebInfo -- LLVM llvm-config found at: /usr/bin/llvm-config-3.4 -- find unstable LLVM version 3.4
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Looking for XLib - found -- checking for module 'libdrm' -- found libdrm, version 2.4.52 -- Looking for DRM - found at /usr -- checking for module 'libdrm_intel' -- found libdrm_intel, version 2.4.52 -- Looking for DRM Intel - found at /usr -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- checking for module 'gl' -- found gl, version 10.1.3 -- Looking for OpenGL - found at /usr -- checking for module 'xext' -- found xext, version 1.3.2 -- Looking for Xext - found at /usr -- checking for module 'xfixes' -- found xfixes, version 5.0.1 -- Looking for Xfixes - found at /usr -- checking for module 'egl' -- found egl, version 10.1.3 -- Looking for EGL - found at /usr -- Looking for mesa source code - not found, cl_khr_gl_sharing will be disabled. -- Looking for OCL ICD header file - found -- Found PythonInterp: /usr/bin/python (found version "2.7.6") -- Building mode: RelWithDebInfo -- use /usr/lib/x86_64-linux-gnu/libtinfo.so as terminal control library running cd "***/beignet/utests" && mkdir generated -p 2>&1 -- Configuring done -- Generating done -- Build files have been written to: ***/beignet/build beignet/build$ $ make $ sudo make install $ cd utests $ chmod +x ./setenv.sh $ ./setenv.sh beignet/build/utests$ ./utest_run platform number 1 platform_profile "FULL_PROFILE" platform_name "Intel Gen OCL Driver" platform_vendor "Intel" platform_version "OpenCL 1.2 beignet 0.9" platform_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_icd" device_profile "FULL_PROFILE" device_name "Intel(R) HD Graphics Haswell GT2 Desktop" device_vendor "Intel" device_version "OpenCL 1.2 beignet 0.9" device_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_icd" device_opencl_c_version "OpenCL C 1.2 beignet 0.9" 21 image formats are supported [CL_R CL_UNORM_INT8] [CL_R CL_UNORM_INT16] [CL_R CL_SIGNED_INT8] [CL_R CL_SIGNED_INT16] [CL_R CL_SIGNED_INT32] [CL_R CL_UNSIGNED_INT8] [CL_R CL_UNSIGNED_INT16] [CL_R CL_UNSIGNED_INT32] [CL_R CL_HALF_FLOAT] [CL_R CL_FLOAT] [CL_RGBA CL_UNORM_INT8] [CL_RGBA CL_UNORM_INT16] [CL_RGBA CL_SIGNED_INT8] [CL_RGBA CL_SIGNED_INT16] [CL_RGBA CL_SIGNED_INT32] [CL_RGBA CL_UNSIGNED_INT8] [CL_RGBA CL_UNSIGNED_INT16] [CL_RGBA CL_UNSIGNED_INT32] [CL_RGBA CL_HALF_FLOAT] [CL_RGBA CL_FLOAT] [CL_BGRA CL_UNORM_INT8] builtin_acos_float()Failed: set OCL_KERNEL_PATH. This is where the kiss kernels are (-1) summary: ---------- total: 676 run: 1 pass: 0 fail: 1 pass rate: 0.998521 On 19.09.2014 11:33, Zhigang Gong wrote: > > It seems that your system is not a stock version. You need to find a > workable libclang-dev package and install it before you build beignet. > > Beignet is using LLVM/clang as the front end of the OCL compiler. You > can choose clang or gcc to build the runtime library, but for the > > compiler part LLVM/clang are always required. > > > > *From:*D [mailto:dcmhoybdp...@web.de] > *Sent:* Friday, September 19, 2014 5:16 PM > *To:* Zhigang Gong; beignet@lists.freedesktop.org > *Subject:* Re: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2 > > > [...] > > On 19.09.2014 10:00, Zhigang Gong wrote: > > It seems that libclang-dev is missing. > > Try to install libclang-3.4-dev. > > > > -----Original Message----- > > From: D [mailto:dcmhoybdp...@web.de] > > Sent: Friday, September 19, 2014 3:25 PM > > To: Zhigang Gong; beignet@lists.freedesktop.org > <mailto:beignet@lists.freedesktop.org> > > Subject: Re: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2 > > > > Hi, > > it's Ubuntu 14.04 x64 ("3.13.0-35-generic"). Beignet is from a PPA, > don't > > see > > any utests folder. I tried building myself but it fails: > > pastebin.com/PHFUDAHB. > > > > On 19.09.2014 01:57, Zhigang Gong wrote: > > Hi, > > > > Which platform are you using? And what's the kernel version? > > Did you try to run the unit test cases? There are detail > instructions > > In the README.md file to guide how to run those test cases. > > If not, please do it firstly to verify the beignet on your > platform. > > If you already did it, please share the result here. > > > > Thanks, > > Zhigang Gong. > > > > -----Original Message----- > > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] > On > > Behalf Of > > D > > Sent: Thursday, September 18, 2014 9:15 PM > > To: beignet@lists.freedesktop.org > <mailto:beignet@lists.freedesktop.org> > > Subject: [Beignet] LuxMark 2.0 crashes with Beignet 0.9.2 > > > > Hi, > > please check this out: > > http://www.luxrender.net/forum/viewtopic.php?f=13&t=11271 > > > > -- > > OpenPGP/GnuPG key: > > > > https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C680 > > 8 > > 2ED > > > > _______________________________________________ > > Beignet mailing list > > Beignet@lists.freedesktop.org > <mailto:Beignet@lists.freedesktop.org> > > http://lists.freedesktop.org/mailman/listinfo/beignet > > > > > > -- > > OpenPGP/GnuPG key: > > https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C6808 > > 2ED > > > > > > > -- > OpenPGP/GnuPG key: > https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED -- OpenPGP/GnuPG key: https://keyserver2.pgp.com/vkd/DownloadKey.event?keyid=0xA719F493C68082ED
_______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/beignet