mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-05 04:17:53 +00:00
Fix hipify to avoid nccl_service.h: No such file or directory (#13852)
Fix various flaky build error due to onnxruntime_session missing dependencies on hipify generated files.
This commit is contained in:
parent
d12521d7b2
commit
f79d38181b
1 changed files with 4 additions and 0 deletions
|
|
@ -66,3 +66,7 @@ if (NOT onnxruntime_BUILD_SHARED_LIB)
|
|||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
FRAMEWORK DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
endif()
|
||||
|
||||
if (onnxruntime_USE_NCCL AND onnxruntime_USE_ROCM)
|
||||
add_dependencies(onnxruntime_session generate_hipified_files)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue