File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
44
44
add_definitions (-DUSE_PREBUILT_LLVM)
45
45
46
46
if (NOT PREFERRED_LLVM_VERSION)
47
- set (PREFERRED_LLVM_VERSION "18" )
47
+ set (PREFERRED_LLVM_VERSION "18.1 " )
48
48
endif (NOT PREFERRED_LLVM_VERSION)
49
49
message (STATUS "[OPENCL-CLANG] Looking for LLVM version ${PREFERRED_LLVM_VERSION} " )
50
50
find_package (LLVM ${PREFERRED_LLVM_VERSION} REQUIRED)
Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ make all -j`nproc`
70
70
71
71
##### Preferred LLVM version
72
72
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
74
74
override target version of LLVM by using the ` PREFERRED_LLVM_VERSION ` cmake
75
75
option:
76
76
77
77
Example:
78
78
``` bash
79
- cmake -DPREFERRED_LLVM_VERSION=" 17 " ../opencl-clang
79
+ cmake -DPREFERRED_LLVM_VERSION=" 18.1 " ../opencl-clang
80
80
```
81
81
82
82
##### Custom LLVM installation
You can’t perform that action at this time.
0 commit comments