From 0eccf7a4bd496b028dfaf5542dd3ef8c6b1f2e1a Mon Sep 17 00:00:00 2001 From: xuyongfei Date: Wed, 22 Dec 2021 10:28:19 +0800 Subject: [PATCH] package mindapi to include dir of mindspore wheel --- cmake/package.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/package.cmake b/cmake/package.cmake index 0f315595a63..b080245ba91 100644 --- a/cmake/package.cmake +++ b/cmake/package.cmake @@ -371,6 +371,14 @@ install( COMPONENT mindspore ) +install( + FILES + ${CMAKE_SOURCE_DIR}/mindspore/core/mindapi/base/format.h + ${CMAKE_SOURCE_DIR}/mindspore/core/mindapi/base/type_id.h + ${CMAKE_SOURCE_DIR}/mindspore/core/mindapi/base/types.h + DESTINATION ${INSTALL_BASE_DIR}/include/mindapi/base + COMPONENT mindspore) + ## config files install( FILES ${CMAKE_SOURCE_DIR}/config/op_info.config