File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ set(bc_flags -c -foffload-lto -std=c++17 -fvisibility=hidden
131131 -DOMPTARGET_DEVICE_RUNTIME
132132 -I${include_directory}
133133 -I${devicertl_base_directory} /../include
134- -I${LLVM_MAIN_SRC_DIR} /../libc
134+ -I${devicertl_base_directory} /.. /../libc
135135 ${LIBOMPTARGET_LLVM_INCLUDE_DIRS_DEVICERTL}
136136)
137137
@@ -276,7 +276,7 @@ function(compileDeviceRTLLibrary target_cpu target_name target_triple)
276276 target_compile_definitions (${ide_target_name} PRIVATE SHARED_SCRATCHPAD_SIZE=512)
277277 target_include_directories (${ide_target_name} PRIVATE
278278 ${include_directory}
279- ${LLVM_MAIN_SRC_DIR} /../libc
279+ ${devicertl_base_directory} /.. /../libc
280280 ${devicertl_base_directory} /../include
281281 ${LIBOMPTARGET_LLVM_INCLUDE_DIRS}
282282 )
You can’t perform that action at this time.
0 commit comments