Skip to content

Commit 1497dc2

Browse files
authored
[UR][Offload] Let UR_OFFLOAD_INCLUDE_DIR work with upstream LLVM (#20336)
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.
1 parent 21a7046 commit 1497dc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unified-runtime/source/adapters/offload/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,5 +143,6 @@ target_link_libraries(${TARGET_NAME} PRIVATE
143143

144144
target_include_directories(${TARGET_NAME} PRIVATE
145145
"${UR_OFFLOAD_INCLUDE_DIR}/offload"
146+
"${UR_OFFLOAD_INCLUDE_DIR}/"
146147
"${CMAKE_CURRENT_SOURCE_DIR}/../../"
147148
)

0 commit comments

Comments
 (0)