!359 Fix tvm copy path

Merge pull request !359 from ZhouFeng/fix-tvm-copy-path
pull/359/MERGE
mindspore-ci-bot 6 years ago committed by Gitee
commit 3511391f35

@ -165,11 +165,11 @@ if (ENABLE_GPU)
DESTINATION ${INSTALL_PY_DIR}/../ DESTINATION ${INSTALL_PY_DIR}/../
COMPONENT mindspore COMPONENT mindspore
) )
if (EXISTS ${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm) if (EXISTS ${CMAKE_BINARY_DIR}/incubator-tvm)
install( install(
DIRECTORY DIRECTORY
${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm/topi/python/topi ${CMAKE_BINARY_DIR}/incubator-tvm/topi/python/topi
${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm/python/tvm ${CMAKE_BINARY_DIR}/incubator-tvm/python/tvm
DESTINATION ${INSTALL_PY_DIR}/../_akg DESTINATION ${INSTALL_PY_DIR}/../_akg
COMPONENT mindspore COMPONENT mindspore
) )

Loading…
Cancel
Save