File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.13.4)
22
33if (NOT DEFINED BASE_LLVM_VERSION)
4- set (BASE_LLVM_VERSION 17.0.1 )
4+ set (BASE_LLVM_VERSION 17)
55endif (NOT DEFINED BASE_LLVM_VERSION)
66set (OPENCL_CLANG_VERSION ${BASE_LLVM_VERSION} .0)
77
@@ -46,7 +46,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
4646 add_definitions (-DUSE_PREBUILT_LLVM)
4747
4848 if (NOT PREFERRED_LLVM_VERSION)
49- set (PREFERRED_LLVM_VERSION "17.0.1 " )
49+ set (PREFERRED_LLVM_VERSION "17" )
5050 endif (NOT PREFERRED_LLVM_VERSION)
5151 message (STATUS "[OPENCL-CLANG] Looking for LLVM version ${PREFERRED_LLVM_VERSION} " )
5252 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`
7070
7171##### Preferred LLVM version
7272
73- By default, openclc-clang's cmake script is searching for LLVM 17.0.1. You can
73+ By default, openclc-clang's cmake script is searching for LLVM 17. You can
7474override target version of LLVM by using the ` PREFERRED_LLVM_VERSION ` cmake
7575option:
7676
7777Example:
7878``` bash
79- cmake -DPREFERRED_LLVM_VERSION=" 17.0.1 " ../opencl-clang
79+ cmake -DPREFERRED_LLVM_VERSION=" 17" ../opencl-clang
8080```
8181
8282##### Custom LLVM installation
You can’t perform that action at this time.
0 commit comments