Fixed compilation (#18220)

This commit is contained in:
Ilya Lavrenov 2023-06-24 02:52:14 +04:00 committed by GitHub
parent 70e52cafd9
commit e0ad99081e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 32 deletions

View File

@ -6,40 +6,11 @@ set(TARGET_NAME subgraphs_dumper)
list(APPEND LIBRARIES
gflags
inference_engine
openvino::runtime
funcTestUtils
openvino::pugixml
)
if(ENABLE_OV_IR_FRONTEND)
list(APPEND DEPENDENCIES openvino_ir_frontend)
endif()
if(ENABLE_OV_ONNX_FRONTEND)
list(APPEND DEPENDENCIES openvino_onnx_frontend)
endif()
if(ENABLE_OV_PADDLE_FRONTEND)
list(APPEND DEPENDENCIES openvino_paddle_frontend)
endif()
# todo: use convert_model and save to ir instead this
if(ENABLE_OV_PYTORCH_FRONTEND)
list(APPEND DEPENDENCIES openvino_pytorch_frontend)
endif()
if(ENABLE_OV_TF_FRONTEND)
list(APPEND DEPENDENCIES openvino_tensorflow_frontend)
endif()
if(ENABLE_OV_TF_LITE_FRONTEND)
list(APPEND DEPENDENCIES openvino_tensorflow_lite_frontend)
endif()
if(ENABLE_OV_PADDLE_FRONTEND)
list(APPEND DEPENDENCIES openvino_paddle_frontend)
endif()
addIeTargetTest(
NAME ${TARGET_NAME}
ROOT ${CMAKE_CURRENT_SOURCE_DIR}/src
@ -50,8 +21,8 @@ addIeTargetTest(
PRIVATE
${LIBRARIES}
DEPENDENCIES
${DEPENDENCIES}
ov_frontends
ADD_CPPLINT
)
ie_faster_build(${TARGET_NAME} UNITY)
ie_faster_build(${TARGET_NAME} UNITY)

View File

@ -9,6 +9,8 @@
#include "single_op_matchers/base.hpp"
#include "common_test_utils/graph_comparator.hpp"
#include "openvino/op/convolution.hpp"
#include "openvino/op/group_conv.hpp"
using namespace ov::tools::subgraph_dumper;