Skip to content

[NFC][SYCL] fix flaky build fail in ze_trace_collector target #18229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sycl/tools/sycl-trace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ if ("level_zero" IN_LIST SYCL_ENABLE_BACKENDS)
ze_trace_collector
)
add_dependencies(sycl-trace ze_trace_collector)
target_include_directories(ze_trace_collector PRIVATE
"${sycl_inc_dir}"
)
endif()

if ("cuda" IN_LIST SYCL_ENABLE_BACKENDS)
Expand Down Expand Up @@ -175,4 +178,4 @@ install(TARGETS sycl-trace sycl_ur_trace_collector ${EXTRA_TARGETS_TO_INSTALL}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT sycl-trace
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT sycl-trace
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT sycl-trace
)
)