!368 Fix _ms_mpi package path

Merge pull request !368 from ZhouFeng/fix-pkg-path
This commit is contained in:
mindspore-ci-bot 2020-04-16 10:07:59 +08:00 committed by Gitee
commit 7d406e8e6c
1 changed files with 17 additions and 13 deletions

View File

@ -90,19 +90,23 @@ if (ENABLE_CPU)
endif ()
if (ENABLE_GPU)
if (ENABLE_MPI)
install(
TARGETS _ms_mpi gpu_collective
DESTINATION ${INSTALL_LIB_DIR}
COMPONENT mindspore
)
endif ()
install(
TARGETS gpu_queue
DESTINATION ${INSTALL_LIB_DIR}
COMPONENT mindspore
)
if (ENABLE_MPI)
install(
TARGETS _ms_mpi
DESTINATION ${INSTALL_BASE_DIR}
COMPONENT mindspore
)
install(
TARGETS gpu_collective
DESTINATION ${INSTALL_LIB_DIR}
COMPONENT mindspore
)
endif ()
install(
TARGETS gpu_queue
DESTINATION ${INSTALL_LIB_DIR}
COMPONENT mindspore
)
endif ()
if (NOT ENABLE_GE)