提交 a66b0c1e 编写于 作者: Z zhoufeng

fix tvm copy path

上级 eaa4186b
......@@ -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
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册