!368 Fix _ms_mpi package path

Merge pull request !368 from ZhouFeng/fix-pkg-path
pull/368/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 7d406e8e6c

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

Loading…
Cancel
Save