@@ -25,9 +25,9 @@ Before the build all dependencies must be downloaded and laid out as follows:
2525This can be done using the following commands:
2626``` bash
2727cd < workspace>
28- git clone https://github.com/llvm/llvm-project.git .
29- git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git
30- git clone https://github.com/intel/opencl-clang.git
28+ git clone https://github.com/llvm/llvm-project.git . -b release/11.x
29+ git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git -b llvm_release_110
30+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-110
3131```
3232
3333Then we need to create a build directory and run the build:
@@ -58,7 +58,7 @@ documented in [Embedding LLVM in your project](https://llvm.org/docs/CMake.html#
5858Commands to checkout sources and build:
5959``` bash
6060cd < workspace>
61- git clone https://github.com/intel/opencl-clang.git
61+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-110
6262mkdir build && cd build
6363cmake ../opencl-clang
6464make all -j` nproc`
@@ -68,13 +68,13 @@ make all -j`nproc`
6868
6969##### Preferred LLVM version
7070
71- By default, openclc -clang's cmake script is searching for LLVM 11.0.0. You can
71+ By default, opencl -clang's cmake script is searching for LLVM 11.0.0. You can
7272override target version of LLVM by using the ` PREFERRED_LLVM_VERSION ` cmake
7373option:
7474
7575Example:
7676``` bash
77- cmake -DPREFERRED_LLVM_VERSION=" 10 .0.0" ../opencl-clang
77+ cmake -DPREFERRED_LLVM_VERSION=" 11 .0.0" ../opencl-clang
7878```
7979
8080##### Custom LLVM installation
0 commit comments