Skip to content

Commit b1e3219

Browse files
committed
llvm minor version is required: 18.1
1 parent 254dc03 commit b1e3219

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
4444
add_definitions(-DUSE_PREBUILT_LLVM)
4545

4646
if(NOT PREFERRED_LLVM_VERSION)
47-
set(PREFERRED_LLVM_VERSION "18")
47+
set(PREFERRED_LLVM_VERSION "18.1")
4848
endif(NOT PREFERRED_LLVM_VERSION)
4949
message(STATUS "[OPENCL-CLANG] Looking for LLVM version ${PREFERRED_LLVM_VERSION}")
5050
find_package(LLVM ${PREFERRED_LLVM_VERSION} REQUIRED)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ make all -j`nproc`
7070

7171
##### Preferred LLVM version
7272

73-
By default, opencl-clang's cmake script is searching for LLVM 17. You can
73+
By default, opencl-clang's cmake script is searching for LLVM 18.1. You can
7474
override target version of LLVM by using the `PREFERRED_LLVM_VERSION` cmake
7575
option:
7676

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

8282
##### Custom LLVM installation

0 commit comments

Comments
 (0)