!359 Fix tvm copy path

Merge pull request !359 from ZhouFeng/fix-tvm-copy-path
This commit is contained in:
mindspore-ci-bot 2020-04-15 21:29:55 +08:00 committed by Gitee
commit 3511391f35
1 changed files with 3 additions and 3 deletions

View File

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