[Beignet] [beignet]compile failed, help me
linzhi at uniview.com
linzhi at uniview.com
Fri Jul 3 22:56:32 PDT 2015
code address: git://anongit.freedesktop.org/beignet
[root at localhost build]# cmake ../
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.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.28")
-- Building mode: RelWithDebInfo
-- LLVM llvm-config found at: /usr/local/bin/llvm-config
-- find stable LLVM version 3.3
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/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/lib64/libX11.so
-- Looking for XLib - found
-- checking for module 'libdrm'
-- found libdrm, version 2.4.59
-- Looking for DRM - found at
/home/wangwenli/br_ENVRV1R6_V2R2_V2R3_V2R5_B01D011_f_IntelSocDevelop/product/drv_src/usr_src/board_agent/ba_x86/x86_sdk/libdrm-2.4.59/tmp
2.4.59
-- checking for module 'libdrm_intel>=2.4.52'
-- found libdrm_intel, version 2.4.59
-- Looking for DRM Intel - found at
/home/wangwenli/br_ENVRV1R6_V2R2_V2R3_V2R5_B01D011_f_IntelSocDevelop/product/drv_src/usr_src/board_agent/ba_x86/x86_sdk/libdrm-2.4.59/tmp
2.4.59
-- Enable userptr support
-- Disable EU total query support
-- Disable subslice total query support
-- 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.4.1
-- Looking for OpenGL - found at /usr
-- checking for module 'xext'
-- found xext, version 1.3.3
-- 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.4.1
-- Looking for EGL - found at /usr
-- Looking for OCL ICD header file - found
-- Found PythonInterp: /usr/bin/python (found version "2.7.8")
-- Building mode: RelWithDebInfo
-- Configuring done
CMake Warning (dev) at backend/src/CMakeLists.txt:15 (add_dependencies):
Policy CMP0046 is not set: Error on non-existent dependency in
add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
Use the cmake_policy command to set the policy and suppress this
warning.
The dependency target "libocl" of target "beignet_bitcode" does not
exist.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to:
/home/linzhi/beignet/beignet-20150703/beignet/build
[root at localhost build]#
[root at localhost build]# make
Scanning dependencies of target beignet_bitcode
[ 0%] Copy the LL file:
/home/linzhi/beignet/beignet-20150703/beignet/build/backend/src/libocl/src/ocl_clz.ll
[ 1%] Compiling
/home/linzhi/beignet/beignet-20150703/beignet/build/backend/src/libocl/src/ocl_clz.ll
[ 1%] Generate the header by script:
/home/linzhi/beignet/beignet-20150703/beignet/build/backend/src/libocl//usr/local/lib64/beignet//include/ocl_convert.h
: invalid option
backend/src/libocl/CMakeFiles/beignet_bitcode.dir/build.make:677: recipe
for target
'backend/src/libocl/usr/local/lib64/beignet/include/ocl_convert.h' failed
make[2]: ***
[backend/src/libocl/usr/local/lib64/beignet/include/ocl_convert.h] Error 1
CMakeFiles/Makefile2:231: recipe for target
'backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all' failed
make[1]: *** [backend/src/libocl/CMakeFiles/beignet_bitcode.dir/all] Error
2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
[root at localhost build]#
============================================================================
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This e-mail and its attachments contain confidential information from Uniview, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20150704/0f3b2fc1/attachment.html>
More information about the Beignet
mailing list