From 5402d40ca90fa792868154a5e6ad041bef5df484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Plewa?= Date: Fri, 10 Oct 2025 15:09:56 +0200 Subject: [PATCH] [UR][Offload] Let UR_OFFLOAD_INCLUDE_DIR work with upstream LLVM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Working on liboffload is annoying when you need to run `make install` after every small change to test it. This change lets you point the include dir to your LLVM source tree, so you don’t need to install it each time. --- unified-runtime/source/adapters/offload/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/unified-runtime/source/adapters/offload/CMakeLists.txt b/unified-runtime/source/adapters/offload/CMakeLists.txt index 45fe614da83ad..5143cd141372e 100644 --- a/unified-runtime/source/adapters/offload/CMakeLists.txt +++ b/unified-runtime/source/adapters/offload/CMakeLists.txt @@ -143,5 +143,6 @@ target_link_libraries(${TARGET_NAME} PRIVATE target_include_directories(${TARGET_NAME} PRIVATE "${UR_OFFLOAD_INCLUDE_DIR}/offload" + "${UR_OFFLOAD_INCLUDE_DIR}/" "${CMAKE_CURRENT_SOURCE_DIR}/../../" )