summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-02-10 16:28:36 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-02-11 17:29:09 +0800
commitfafaa4c317ce08009aeb84ad6530552985ca3a83 (patch)
tree2d9d882a0d71319472859c2b492e557590d0ebca
parent56de80602f43bc72d90f172fc0efcf4b283b402e (diff)
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 <zhigang.gong@intel.com> Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
l---------[-rw-r--r--]README.md3
-rw-r--r--docs/Beignet.mdwn12
2 files changed, 10 insertions, 5 deletions
diff --git a/README.md b/README.md
index cbaeaa95..b9f23a8c 100644..120000
--- a/README.md
+++ b/README.md
@@ -1,2 +1 @@
-We host documents at the following wiki page:
-[http://wiki.freedesktop.org/www/Software/Beignet](http://wiki.freedesktop.org/www/Software/Beignet)
+docs/Beignet.mdwn \ No newline at end of file
diff --git a/docs/Beignet.mdwn b/docs/Beignet.mdwn
index 824a9393..dbe46840 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.