From 64d8956db3c54dc3a543bc3ee7321523de458dd5 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Mon, 16 Mar 2015 12:24:10 +0800 Subject: Build: set 3.5 as the stable LLVM version for beignet. And update document accordingly. Signed-off-by: Zhigang Gong --- Software/Beignet.mdwn | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'Software/Beignet.mdwn') 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` -- cgit v1.2.3