[Beignet] cl_khr_fp64 on OpenCL 1.2+

Brian Paterni bpaterni at gmail.com
Wed Mar 16 00:08:25 UTC 2016


On 03/15/2016 05:19 PM, Rebecca N. Palmer wrote:
>> 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
>> [...]
>> Please let me know what I'm missing.
> 
> libclang-3.7-dev ?
> 

It is installed, but I think the trouble is in getting beignet to
utilize it. I'm not too familiar with cmake and so I've only changed the
following variables within the ccmake utility:

    CLANG_EXECUTABLE                 /usr/bin/clang-3.7
    LLVM_AS_EXECUTABLE               /usr/bin/llvm-as-3.7
    LLVM_CONFIG_EXECUTABLE           /usr/bin/llvm-config-3.7
    LLVM_LINK_EXECUTABLE             /usr/bin/llvm-link-3.7

then attempting to configure with those settings results in:

 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/bpaterni/usr/src/beignet/backend/src
     linked by target "gbe" in directory
/home/bpaterni/usr/src/beignet/backend/src
     linked by target "gbe" in directory
/home/bpaterni/usr/src/beignet/backend/src
     .
     .
     .


Wondering now if I may need to configure additional environment
variables in order for cmake to pick up llvm-3.7 rather than the default
llvm (3.6)?


More information about the Beignet mailing list