intel / beignet

Beignet is an open source implementation of the OpenCL specification - a generic compute oriented API. Here is Beignet Source Code Mirror in github- This is a publish-only repository and all pull requests are ignored. Please follow https://wiki.freedesktop.org/www/Software/Beignet/ for any of your improvements
GNU Lesser General Public License v2.1
95 stars 40 forks source link

CMake error: CLANG_LIB set to NOTFOUND #6

Open philtomson opened 6 years ago

philtomson commented 6 years ago

I'm building with:

cmake ../ -DOCLICD_COMPAT=0 -DCOMPILER=CLANG -DCLANG_LIB=/usr/lib/llvm-3.8/lib/

And I'm getting:

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

I initially tried without the -DCLANG_LIB... on the cmake commandline and got the same error.

(Platform is Ubuntu 16.04)

MidoriYakumo commented 6 years ago

install dependency llvm-devel and clang-devel