From 98f76b9e848188dcfc8bf8ac3873dfef700688f9 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Tue, 4 Jun 2024 17:58:33 -0700 Subject: [PATCH] [NFC] Update llvm version to 19.0 for out-of-tree build (#531) --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 352ab76..6e7f290 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/README.md b/README.md index af30e94..3a8fadc 100644 --- a/README.md +++ b/README.md @@ -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