mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Minor fix for cmake (#19552)
### Minor fix for cmake When build on Linux, get a warning saying " CMake Warning at CMakeLists.txt:1603 (message): MPI and NCCL disabled on Win build. " This message is not correct. So have such a fix to avoid any misunderstanding from users.  ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
parent
dfeda9019c
commit
b55260d076
1 changed files with 1 additions and 1 deletions
|
|
@ -1600,7 +1600,7 @@ if (UNIX AND onnxruntime_USE_NCCL)
|
|||
else()
|
||||
set(onnxruntime_USE_NCCL OFF)
|
||||
set(onnxruntime_USE_MPI OFF)
|
||||
message( WARNING "MPI and NCCL disabled on Win build." )
|
||||
message( WARNING "MPI and NCCL are disabled because build is on Windows or USE_NCCL is set to OFF." )
|
||||
endif()
|
||||
|
||||
if (onnxruntime_USE_MPI)
|
||||
|
|
|
|||
Loading…
Reference in a new issue