Skip to content

Commit

Permalink
[NFC] Update llvm version to 19.0 for out-of-tree build (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenju-he committed Jun 5, 2024
1 parent 4c564bd commit 98f76b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_definitions(-DUSE_PREBUILT_LLVM)

if(NOT PREFERRED_LLVM_VERSION)
set(PREFERRED_LLVM_VERSION "18")
set(PREFERRED_LLVM_VERSION "19.0")
endif(NOT PREFERRED_LLVM_VERSION)
message(STATUS "[OPENCL-CLANG] Looking for LLVM version ${PREFERRED_LLVM_VERSION}")
find_package(LLVM ${PREFERRED_LLVM_VERSION} REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ LLVM by using the `PREFERRED_LLVM_VERSION` cmake option:

Example:
```bash
cmake -DPREFERRED_LLVM_VERSION="18" ../opencl-clang
cmake -DPREFERRED_LLVM_VERSION="19.0" ../opencl-clang
```

##### Custom LLVM installation
Expand Down

0 comments on commit 98f76b9

Please sign in to comment.