summaryrefslogtreecommitdiff
path: root/Software
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2014-02-10 16:28:36 +0800
committerZhigang Gong <gongzg@freedesktop.org>2014-02-12 00:06:50 -0800
commit79f7111ecc99c284eb888b76bf01e4bc3b5471ad (patch)
tree34c80c6ac4d6c2ab06f08f59b495565a29448220 /Software
parenta5970dfc3ffb576a1ec5f7323eda808187a6c8c8 (diff)
Update document for LLVM/Clang 3.5.
Diffstat (limited to 'Software')
-rw-r--r--Software/Beignet.mdwn12
1 files changed, 9 insertions, 3 deletions
diff --git a/Software/Beignet.mdwn b/Software/Beignet.mdwn
index 824a9393..dbe46840 100644
--- a/Software/Beignet.mdwn
+++ b/Software/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.