@@ -26,9 +26,9 @@ Before the build all dependencies must be downloaded and laid out as follows:
2626This can be done using the following commands:
2727``` bash
2828cd < workspace>
29- git clone https://github.com/llvm/llvm-project.git .
30- git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git
31- git clone https://github.com/intel/opencl-clang.git
29+ git clone https://github.com/llvm/llvm-project.git . -b release/21.x
30+ git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git -b llvm_release_210
31+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-210
3232```
3333
3434Then we need to create a build directory and run the build:
@@ -61,7 +61,7 @@ documented in [Embedding LLVM in your project](https://llvm.org/docs/CMake.html#
6161Commands to checkout sources and build:
6262``` bash
6363cd < workspace>
64- git clone https://github.com/intel/opencl-clang.git
64+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-210
6565mkdir build && cd build
6666cmake ../opencl-clang
6767make all -j` nproc`
@@ -71,13 +71,13 @@ make all -j`nproc`
7171
7272##### Preferred LLVM version
7373
74- By default, opencl-clang's cmake script is searching for LLVM which is built
75- based on the latest verion of current branch. You can override target version of
76- LLVM by using the ` PREFERRED_LLVM_VERSION ` cmake option:
74+ By default, opencl-clang's cmake script is searching for LLVM 21.1. You can
75+ override target version of LLVM by using the ` PREFERRED_LLVM_VERSION ` cmake
76+ option:
7777
7878Example:
7979``` bash
80- cmake -DPREFERRED_LLVM_VERSION=" 21.0 " ../opencl-clang
80+ cmake -DPREFERRED_LLVM_VERSION=" 21.1 " ../opencl-clang
8181```
8282
8383##### Custom LLVM installation
0 commit comments