diff --git a/cmake/package.cmake b/cmake/package.cmake index 8a44d392cc14a8fb1565248e722b07bd4384d056..e4f8fa77063f696c6b837884fde02c9ef81be414 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -162,7 +162,7 @@ install( if (ENABLE_GPU) install( DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/_akg - DESTINATION ${INSTALL_PY_DIR} + DESTINATION ${INSTALL_PY_DIR}/../ COMPONENT mindspore ) if (EXISTS ${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm) @@ -170,7 +170,7 @@ if (ENABLE_GPU) DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm/topi/python/topi ${CMAKE_SOURCE_DIR}/mindspore/incubator-tvm/python/tvm - DESTINATION ${INSTALL_PY_DIR}/_akg + DESTINATION ${INSTALL_PY_DIR}/../_akg COMPONENT mindspore ) endif ()