add mindapi head files to tar package

Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
zhoufeng 2022-01-24 09:40:49 +08:00
parent da0a54181d
commit 7282366b3d
1 changed files with 8 additions and 0 deletions

View File

@ -141,6 +141,14 @@ install(
COMPONENT mindspore
)
## Public header files for mindapi
install(
DIRECTORY ${CMAKE_SOURCE_DIR}/mindspore/core/base
${CMAKE_SOURCE_DIR}/mindspore/core/ir
DESTINATION ${INSTALL_BASE_DIR}/include/mindapi
COMPONENT mindspore
)
## Public header files for minddata
install(
FILES ${CMAKE_SOURCE_DIR}/mindspore/ccsrc/minddata/dataset/include/dataset/config.h