From: Zhigang Gong Date: Mon, 10 Feb 2014 08:28:36 +0000 (+0800) Subject: Update document for LLVM/Clang 3.5. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fafaa4c317ce08009aeb84ad6530552985ca3a83;p=contrib%2Fbeignet.git Update document for LLVM/Clang 3.5. Also change the README.md to link to Beignet.mdw rather than to point to the wiki page. Signed-off-by: Zhigang Gong Reviewed-by: "Yang, Rong R" --- diff --git a/README.md b/README.md deleted file mode 100644 index cbaeaa9..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -We host documents at the following wiki page: -[http://wiki.freedesktop.org/www/Software/Beignet](http://wiki.freedesktop.org/www/Software/Beignet) diff --git a/README.md b/README.md new file mode 120000 index 0000000..b9f23a8 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +docs/Beignet.mdwn \ No newline at end of file diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn index 824a939..dbe4684 100644 --- a/docs/Beignet.mdwn +++ b/docs/Beignet.mdwn @@ -26,8 +26,14 @@ with any thing older. [http://llvm.org/releases/](http://llvm.org/releases/) -LLVM 3.3 and 3.4 are supported. Till now, the recommended LLVM version is 3.3. -There are some severe OpenCL related regression in current clang 3.4 version. +LLVM 3.3 , 3.4 and 3.5 are supported. Till now, the recommended LLVM version is 3.3. +There are some severe OpenCL related regression in current clang 3.4/3.5 version. + +If you want to try Clang/LLVM 3.4, you need to disable terminfo: +--disable-terminfo. It's a llvm 3.4 bug. + +If you want to try Clang/LLVM 3.5, you need to build the clang/llvm with cxx11 enabled: +--enable-cxx11. Also note that the code was compiled on GCC 4.6 and GCC 4.7. Since the code uses really recent C++11 features, you may expect problems with older compilers. Last @@ -78,7 +84,7 @@ Simply invoke: It installs the following three files to the beignet/ directory relatively to your library installation directory. - libcl.so -- ocl_stdlib.h, ocl_stdlib.h.pch +- ocl\_stdlib.h, ocl\_stdlib.h.pch - beignet.bc It installs the OCL icd vendor files to /etc/OpenCL/vendors, if the system support ICD.