From b392e345bc9b596626c398e8f8153985d7bab62a Mon Sep 17 00:00:00 2001 From: TangQunzhang Date: Mon, 8 Sep 2025 08:55:55 +0000 Subject: [PATCH] !3022 Move graph files to cann-graph-engine Merge pull request !3022 from TangQunzhang/ge_dev --- CMakeLists.txt | 4 ++++ tf_adapter/tests/st/CMakeLists.txt | 4 ++++ tf_adapter_2.x/cmake/graph_engine/module.cmake | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 002f097b9..d16549026 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,11 @@ else() ${TOP_DIR}/graphengine/inc/ ${TOP_DIR}/graphengine/inc/external/ ${TOP_DIR}/metadef/inc/ + ${TOP_DIR}/metadef/inc/graph/ ${TOP_DIR}/metadef/inc/external/ + ${TOP_DIR}/air/inc/graph_metadef/ + ${TOP_DIR}/air/inc/graph_metadef/graph/ + ${TOP_DIR}/air/inc/graph_metadef/external/ ${TOP_DIR}/parser/inc/ ${TOP_DIR}/parser/inc/external/ ${TOP_DIR}/libc_sec/include/ diff --git a/tf_adapter/tests/st/CMakeLists.txt b/tf_adapter/tests/st/CMakeLists.txt index 47b92291a..4e47448bb 100644 --- a/tf_adapter/tests/st/CMakeLists.txt +++ b/tf_adapter/tests/st/CMakeLists.txt @@ -41,7 +41,11 @@ target_include_directories(tfadapter_stest PRIVATE ${TFADAPTER_DIR}/graphengine/inc/external/ ${TFADAPTER_DIR}/graphengine/inc/framework/ ${TFADAPTER_DIR}/metadef/inc/ + ${TFADAPTER_DIR}/metadef/inc/graph/ ${TFADAPTER_DIR}/metadef/inc/external/ + ${TFADAPTER_DIR}/air/inc/graph_metadef/ + ${TFADAPTER_DIR}/air/inc/graph_metadef/graph/ + ${TFADAPTER_DIR}/air/inc/graph_metadef/external/ ${TFADAPTER_DIR}/tf_adapter/kernels/aicpu ${TFADAPTER_DIR}/tf_adapter/tests/depends/test_util ${TFADAPTER_DIR}/tf_adapter/tests/depends/ascendcl/src diff --git a/tf_adapter_2.x/cmake/graph_engine/module.cmake b/tf_adapter_2.x/cmake/graph_engine/module.cmake index 7f042725e..c8b48c6cf 100644 --- a/tf_adapter_2.x/cmake/graph_engine/module.cmake +++ b/tf_adapter_2.x/cmake/graph_engine/module.cmake @@ -12,7 +12,11 @@ else() include_directories(${ASCEND_CI_BUILD_DIR}/graphengine/inc) include_directories(${ASCEND_CI_BUILD_DIR}/graphengine/inc/external) include_directories(${ASCEND_CI_BUILD_DIR}/metadef/inc) + include_directories(${ASCEND_CI_BUILD_DIR}/metadef/inc/graph) include_directories(${ASCEND_CI_BUILD_DIR}/metadef/inc/external) + include_directories(${ASCEND_CI_BUILD_DIR}/air/inc/graph_metadef) + include_directories(${ASCEND_CI_BUILD_DIR}/air/inc/graph_metadef/graph) + include_directories(${ASCEND_CI_BUILD_DIR}/air/inc/graph_metadef/external) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_fake.cc COMMAND touch ${CMAKE_CURRENT_BINARY_DIR}/_fake.cc -- Gitee