File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,9 @@ else()
351351 add_devicelibs(libsycl-asan
352352 SRC sanitizer/asan_rtl.cpp
353353 DEPENDENCIES ${asan_obj_deps}
354- EXTRA_OPTS -fno-sycl-instrument-device-code -I${UR_SANITIZER_INCLUDE_DIR} )
354+ EXTRA_OPTS -fno-sycl-instrument-device-code
355+ -I${UR_SANITIZER_INCLUDE_DIR}
356+ -I${CMAKE_CURRENT_SOURCE_DIR} )
355357
356358 # asan aot
357359 set (asan_filetypes obj obj-new-offload bc)
@@ -360,10 +362,10 @@ else()
360362 foreach (asan_ft IN LISTS asan_filetypes)
361363 foreach (asan_device IN LISTS asan_devicetypes)
362364 compile_lib_ext(libsycl-asan-${asan_device}
363- SRC sanitizer/asan_rtl.cpp
364- FILETYPE ${asan_ft}
365- DEPENDENCIES ${asan_obj_deps}
366- OPTS ${asan_${asan_device} _compile_opts_${asan_ft} })
365+ SRC sanitizer/asan_rtl.cpp
366+ FILETYPE ${asan_ft}
367+ DEPENDENCIES ${asan_obj_deps}
368+ OPTS ${asan_${asan_device} _compile_opts_${asan_ft} })
367369 endforeach ()
368370 endforeach ()
369371 endif ()
You can’t perform that action at this time.
0 commit comments