summaryrefslogtreecommitdiff
path: root/Software/Beignet.mdwn
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2015-03-16 12:24:10 +0800
committerZhigang Gong <gongzg@freedesktop.org>2015-03-16 01:54:04 -0700
commit64d8956db3c54dc3a543bc3ee7321523de458dd5 (patch)
treedbb1a2d3930b3e91eea358d50b6149684fb064a7 /Software/Beignet.mdwn
parentfc3ad3ba7bfb6101ae1ab451ff9b8be54ded6450 (diff)
Build: set 3.5 as the stable LLVM version for beignet.
And update document accordingly. Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Diffstat (limited to 'Software/Beignet.mdwn')
-rw-r--r--Software/Beignet.mdwn23
1 files changed, 13 insertions, 10 deletions
diff --git a/Software/Beignet.mdwn b/Software/Beignet.mdwn
index 08b48a65..addcd53c 100644
--- a/Software/Beignet.mdwn
+++ b/Software/Beignet.mdwn
@@ -38,16 +38,13 @@ with anything older.
[http://llvm.org/releases/](http://llvm.org/releases/)
-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.
`> make`