summary refs log tree commit diff
path: root/gnu/packages/patches/rocm-opencl-runtime-3.10.0-includes.patch
blob: d81bb0747f3980b8938ebe32136e3558fbb0bd8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Add missing include dirs for ROCclr.

--- a/amdocl/CMakeLists.txt	2020-12-05 22:05:55.838529158 +0100
+++ b/amdocl/CMakeLists.txt	2020-12-05 22:07:35.677524507 +0100
@@ -23,6 +23,9 @@
 include_directories(${CMAKE_CURRENT_LIST_DIR}/../khronos)
 include_directories(${CMAKE_CURRENT_LIST_DIR}/../khronos/headers)
 include_directories(${CMAKE_CURRENT_LIST_DIR}/../khronos/headers/opencl2.2)
+include_directories(${ROCclr_DIR}/../../../include)
+include_directories(${ROCclr_DIR}/../../../include/compiler/lib/include/)
+include_directories(${ROCclr_DIR}/../../../include/elf/)
 
 if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
    (CMAKE_${COMPILER}_COMPILER_ID MATCHES "Clang"))