|author||Zhigang Gong <firstname.lastname@example.org>||2015-03-16 12:24:10 +0800|
|committer||Zhigang Gong <email@example.com>||2015-03-16 01:54:04 -0700|
Build: set 3.5 as the stable LLVM version for beignet.
And update document accordingly. Signed-off-by: Zhigang Gong <firstname.lastname@example.org>
Diffstat (limited to 'Software/Beignet.mdwn')
1 files changed, 13 insertions, 10 deletions
diff --git a/Software/Beignet.mdwn b/Software/Beignet.mdwn
index 08b48a65..addcd53c 100644
@@ -38,16 +38,13 @@ with anything older.
-LLVM 3.3 , 3.4 and 3.5 are supported. Till now, the recommended LLVM/CLANG version is 3.5.
-There are some severe OpenCL related regression in clang 3.4 version.
-**Note about LLVM 3.4**
-* If you want to try Clang/LLVM 3.4, you need to disable terminfo:
---disable-terminfo. It's a llvm 3.4 bug.
-Please be noted that the code was compiled on GCC 4.6, GCC 4.7 and GCC 4.8. Since the code
-uses really recent C++11 features, you may expect problems with older compilers.
+**The recommended LLVM/CLANG version is 3.5 and/or 3.6**
+Based on our test result, LLVM 3.5 has best pass rate on all the test suites. LLVM 3.6
+has slightly less pass rate(caused by one front end bug at clang 3.6) than 3.5 but has
+better performance about 3% to 8% for different cases and different targets.
+For LLVM 3.3 and 3.4, Beignet still support them, but it may be limited to support the
+build and major functions.
How to build and install
@@ -66,6 +63,12 @@ Basically, from the root directory of the project
`> cmake ../ # to configure`
+Please be noted that the code was compiled on GCC 4.6, GCC 4.7 and GCC 4.8 and CLANG 3.5 and
+ICC 14.0.3. Since the code uses really recent C++11 features, you may expect problems with
+older compilers. The default compiler should be GCC, and if you want to choose compiler manually,
+you need to configure it as below:
+`> cmake -DCOMPILER=[GCC|CLANG|ICC] ../`
CMake will check the dependencies and will complain if it does not find them.