Skip to content

Commit 0d1cc80

Browse files
authored
update version numbers for 170 branch (#479)
1 parent ca8c580 commit 0d1cc80

File tree

4 files changed

+8
-101
lines changed

4 files changed

+8
-101
lines changed

.github/workflows/on-demand-verification.yml

-47
This file was deleted.

.github/workflows/scheduled-verification.yml

-46
This file was deleted.

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ if(NOT USE_PREBUILT_LLVM)
159159
)
160160
endif()
161161

162-
set(CLANG_BASE_REVISION master)
163-
set(SPIRV_BASE_REVISION master)
164-
set(TARGET_BRANCH "ocl-open-110")
162+
set(CLANG_BASE_REVISION release/17.x)
163+
set(SPIRV_BASE_REVISION llvm_release_170)
164+
set(TARGET_BRANCH "ocl-open-170")
165165

166166
apply_patches(${CLANG_SOURCE_DIR}
167167
${CMAKE_CURRENT_SOURCE_DIR}/patches/clang

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Before the build all dependencies must be downloaded and laid out as follows:
2525
This can be done using the following commands:
2626
```bash
2727
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/17.x
29+
git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator.git -b llvm_release_170
30+
git clone https://github.com/intel/opencl-clang.git -b ocl-open-170
3131
```
3232

3333
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#
6060
Commands to checkout sources and build:
6161
```bash
6262
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-170
6464
mkdir build && cd build
6565
cmake ../opencl-clang
6666
make all -j`nproc`
@@ -76,7 +76,7 @@ option:
7676

7777
Example:
7878
```bash
79-
cmake -DPREFERRED_LLVM_VERSION="10.0.0" ../opencl-clang
79+
cmake -DPREFERRED_LLVM_VERSION="17.0.0" ../opencl-clang
8080
```
8181

8282
##### Custom LLVM installation

0 commit comments

Comments
 (0)