已合并
feat: 构建系统新增 *_fallback.cpp 编译支持,并更新 opbase 版本依赖 #3394
tianqiguang创建于 6月17日
feat: 构建系统新增 *_fallback.cpp 编译支持,并更新 opbase 版本依赖 #3394
已合并
共 2 个文件变更+3-3
| @@ -694,7 +694,7 @@ macro(add_all_modules_sources) | |||
| 694 | endif() | 694 | endif() |
| 695 | endif() | 695 | endif() |
| 696 | 696 | ||
| 697 | - file(GLOB OP_GRAPH_SRCS ${SOURCE_DIR}/op_graph/*_graph_*.cpp ${SOURCE_DIR}/op_graph/fusion_pass/*_pass.cpp) | 697 | + file(GLOB OP_GRAPH_SRCS ${SOURCE_DIR}/op_graph/*_graph_*.cpp ${SOURCE_DIR}/op_graph/*_fallback.cpp ${SOURCE_DIR}/op_graph/fusion_pass/*_pass.cpp) |
| 698 | if(OP_GRAPH_SRCS) | 698 | if(OP_GRAPH_SRCS) |
| 699 | add_op_graph_modules() | 699 | add_op_graph_modules() |
| 700 | target_sources(${GRAPH_PLUGIN_NAME}_obj PRIVATE ${OP_GRAPH_SRCS}) | 700 | target_sources(${GRAPH_PLUGIN_NAME}_obj PRIVATE ${OP_GRAPH_SRCS}) |
| @@ -874,7 +874,7 @@ macro(add_graph_plugin_sources) | |||
| 874 | return() | 874 | return() |
| 875 | endif() | 875 | endif() |
| 876 | 876 | ||
| 877 | - file(GLOB OP_GRAPH_SRCS ${SOURCE_DIR}/*_graph_*.cpp ${SOURCE_DIR}/fusion_pass/*_pass.cpp) | 877 | + file(GLOB OP_GRAPH_SRCS ${SOURCE_DIR}/*_graph_*.cpp ${SOURCE_DIR}/*_fallback.cpp ${SOURCE_DIR}/fusion_pass/*_pass.cpp) |
| 878 | 878 | ||
| 879 | if(OP_GRAPH_SRCS) | 879 | if(OP_GRAPH_SRCS) |
| 880 | add_op_graph_modules() | 880 | add_op_graph_modules() |
| @@ -7,7 +7,7 @@ | |||
| 7 | # INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. | 7 | # INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. |
| 8 | # See LICENSE in the root of the software repository for the full text of the License. | 8 | # See LICENSE in the root of the software repository for the full text of the License. |
| 9 | # ---------------------------------------------------------------------------- | 9 | # ---------------------------------------------------------------------------- |
| 10 | -set(OPBASE_TAG_ID ee5334d157016d2afa736d4a23381855dbf1fe37) | 10 | +set(OPBASE_TAG_ID b92c2c8f3d999f315b0251cfb25edb111bb898d5) |
| 11 | 11 | ||
| 12 | if(EXISTS "${PROJECT_SOURCE_DIR}/../../ops-base") | 12 | if(EXISTS "${PROJECT_SOURCE_DIR}/../../ops-base") |
| 13 | get_filename_component(OPBASE_SOURCE_PATH | 13 | get_filename_component(OPBASE_SOURCE_PATH |