From b875d0dc3a6e0ed0f48c473ca96e66066f3dc534 Mon Sep 17 00:00:00 2001 From: Yang Rong Date: Wed, 8 Feb 2017 12:52:55 +0800 Subject: CMAKE: if user disable ICD support, must pass cmake option explicitly. Also update readme aoubt ocl-icd section. Signed-off-by: Yang Rong Reviewed-by: Pan Xiuli --- docs/Beignet.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn index 709d7c86..3f3e02e4 100644 --- a/docs/Beignet.mdwn +++ b/docs/Beignet.mdwn @@ -29,7 +29,8 @@ two more packages (the following package name is for Ubuntu): - ocl-icd-libopencl1 If you don't want to enable ICD, or your system doesn't have ICD OpenCL support, -you can still link to the beignet OpenCL library. You can find the beignet/libcl.so +you must explicitly disable ICD support by running cmake with option `-DOCLICD_COMPAT=0` +then you can still link to the beignet OpenCL library. You can find the beignet/libcl.so in your system's library installation directories. Note that the compiler depends on LLVM (Low-Level Virtual Machine project), and the -- cgit v1.2.1