OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

build Beignet on Ubuntu

Int_B_
Beginner
943 Views

Hello

I am trying to build Beighnet 1.0 on Ubuntu 14.04.

I am following the instructions in the README.md. I have installed all the prerequisites that it asks for. cmake can not find several of the installed prerequisites and the error log says that pthread_create is undefined which indicates a linker problem.

Any suggestions appreciated. I attached CMakeError.log and CMakeOutput.log

output of cmake:

 ~/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.2

-- Looking for XLib - not found
-- checking for module 'libdrm'
--   found libdrm, version 2.4.58
-- Looking for DRM - found at /usr 2.4.58
-- checking for module 'libdrm_intel>=2.4.52'
--   found libdrm_intel, version 2.4.58
-- Looking for DRM Intel - found at /usr 2.4.58
-- 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 'egl'
--   package 'egl' not found
-- Looking for EGL - not found
-- 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 "/home/ab/1_SW/Beignet/utests" && mkdir generated -p  2>&1
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CLANG_LIB
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src
    linked by target "gbe" in directory /home/ab/1_SW/Beignet/backend/src

-- Configuring incomplete, errors occurred!
See also "/home/ab/1_SW/Beignet/build/CMakeFiles/CMakeOutput.log".
See also "/home/ab/1_SW/Beignet/build/CMakeFiles/CMakeError.log".

 

 

442770

442771

 

 

0 Kudos
1 Reply
Robert_I_Intel
Employee
943 Views

We do not support Beignet. You can get support here:

 

Beignet mailing list,

 

http://lists.freedesktop.org/mailman/listinfo/beignet 


Bugzilla

 

https://bugs.freedesktop.org/enter_bug.cgi?product=Beignet 

0 Kudos
Reply