File tree Expand file tree Collapse file tree 4 files changed +7
-100
lines changed Expand file tree Collapse file tree 4 files changed +7
-100
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -153,9 +153,9 @@ if(NOT USE_PREBUILT_LLVM)
153
153
)
154
154
endif ()
155
155
156
- set (CLANG_BASE_REVISION master )
157
- set (SPIRV_BASE_REVISION master )
158
- set (TARGET_BRANCH "ocl-open-110 " )
156
+ set (CLANG_BASE_REVISION release/16.x )
157
+ set (SPIRV_BASE_REVISION llvm_release_160 )
158
+ set (TARGET_BRANCH "ocl-open-160 " )
159
159
160
160
apply_patches (${CLANG_SOURCE_DIR}
161
161
${CMAKE_CURRENT_SOURCE_DIR} /patches/clang
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ Before the build all dependencies must be downloaded and laid out as follows:
25
25
This can be done using the following commands:
26
26
``` bash
27
27
cd < 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/16.x
29
+ git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git -b llvm_release_160
30
+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-160
31
31
```
32
32
33
33
Then we need to create a build directory and run the build:
@@ -60,7 +60,7 @@ documented in [Embedding LLVM in your project](https://llvm.org/docs/CMake.html#
60
60
Commands to checkout sources and build:
61
61
``` bash
62
62
cd < workspace>
63
- git clone https://github.com/intel/opencl-clang.git
63
+ git clone https://github.com/intel/opencl-clang.git -b ocl-open-160
64
64
mkdir build && cd build
65
65
cmake ../opencl-clang
66
66
make all -j` nproc`
You can’t perform that action at this time.
0 commit comments