[IE TESTS] Remove extra dependency from Shared lib (#3006)
* [IE TESTS][IE CMAKE] Add cmake option for configuration to skip tests * [IE TESTS] Remove extra dependency from IE tests shared lib * Revert to add flag
This commit is contained in:
parent
3fe371299a
commit
e9de4daee7
@ -12,6 +12,7 @@ addIeTargetTest(
|
|||||||
ROOT ${CMAKE_CURRENT_SOURCE_DIR}
|
ROOT ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
INCLUDES
|
INCLUDES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
${IE_MAIN_SOURCE_DIR}/src/vpu/graph_transformer/include
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
myriadPlugin
|
myriadPlugin
|
||||||
LINK_LIBRARIES
|
LINK_LIBRARIES
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include "multi-device/multi_device_config.hpp"
|
#include "multi-device/multi_device_config.hpp"
|
||||||
#include "vpu/vpu_plugin_config.hpp"
|
#include "vpu/vpu_plugin_config.hpp"
|
||||||
|
#include "vpu/private_plugin_config.hpp"
|
||||||
#include "behavior/config.hpp"
|
#include "behavior/config.hpp"
|
||||||
|
|
||||||
using namespace BehaviorTestsDefinitions;
|
using namespace BehaviorTestsDefinitions;
|
||||||
|
@ -2,9 +2,12 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include "behavior/infer_request_config.hpp"
|
||||||
|
|
||||||
#include "multi-device/multi_device_config.hpp"
|
#include "multi-device/multi_device_config.hpp"
|
||||||
#include "vpu/vpu_plugin_config.hpp"
|
#include "vpu/vpu_plugin_config.hpp"
|
||||||
#include "behavior/infer_request_config.hpp"
|
#include "vpu/private_plugin_config.hpp"
|
||||||
|
#include "vpu/myriad_config.hpp"
|
||||||
|
|
||||||
using namespace BehaviorTestsDefinitions;
|
using namespace BehaviorTestsDefinitions;
|
||||||
namespace {
|
namespace {
|
||||||
|
@ -20,6 +20,14 @@ addIeTarget(
|
|||||||
${CMAKE_CURRENT_SOURCE_DIR}/src
|
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||||
ADD_CPPLINT
|
ADD_CPPLINT
|
||||||
DEVELOPER_PACKAGE
|
DEVELOPER_PACKAGE
|
||||||
|
INCLUDES
|
||||||
|
PUBLIC
|
||||||
|
${PUBLIC_HEADERS_DIR}
|
||||||
|
LINK_LIBRARIES
|
||||||
|
PUBLIC
|
||||||
|
${EXPORT_DEPENDENCIES}
|
||||||
|
PRIVATE
|
||||||
|
inference_engine_transformations
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
mock_engine
|
mock_engine
|
||||||
HeteroPlugin
|
HeteroPlugin
|
||||||
@ -35,16 +43,3 @@ ie_faster_build(${TARGET_NAME}
|
|||||||
if (TARGET MKLDNNPlugin)
|
if (TARGET MKLDNNPlugin)
|
||||||
add_dependencies(${TARGET_NAME} MKLDNNPlugin)
|
add_dependencies(${TARGET_NAME} MKLDNNPlugin)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(${TARGET_NAME} PUBLIC
|
|
||||||
${PUBLIC_HEADERS_DIR}
|
|
||||||
${IE_MAIN_SOURCE_DIR}/src/vpu/graph_transformer/include
|
|
||||||
)
|
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME}
|
|
||||||
PUBLIC
|
|
||||||
${EXPORT_DEPENDENCIES}
|
|
||||||
|
|
||||||
PRIVATE
|
|
||||||
inference_engine_transformations
|
|
||||||
)
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include "ngraph_functions/builders.hpp"
|
#include "ngraph_functions/builders.hpp"
|
||||||
#include <ie_plugin_config.hpp>
|
#include <ie_plugin_config.hpp>
|
||||||
#include <vpu/vpu_plugin_config.hpp>
|
#include <vpu/vpu_plugin_config.hpp>
|
||||||
#include <vpu/private_plugin_config.hpp>
|
|
||||||
#include <gna/gna_config.hpp>
|
#include <gna/gna_config.hpp>
|
||||||
#include <multi-device/multi_device_config.hpp>
|
#include <multi-device/multi_device_config.hpp>
|
||||||
#include <ie_core.hpp>
|
#include <ie_core.hpp>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#include "ngraph_functions/utils/ngraph_helpers.hpp"
|
#include "ngraph_functions/utils/ngraph_helpers.hpp"
|
||||||
#include "ngraph_functions/builders.hpp"
|
#include "ngraph_functions/builders.hpp"
|
||||||
#include <vpu/vpu_plugin_config.hpp>
|
#include <vpu/vpu_plugin_config.hpp>
|
||||||
#include <vpu/private_plugin_config.hpp>
|
|
||||||
#include <gna/gna_config.hpp>
|
#include <gna/gna_config.hpp>
|
||||||
#include <multi-device/multi_device_config.hpp>
|
#include <multi-device/multi_device_config.hpp>
|
||||||
#include <ie_core.hpp>
|
#include <ie_core.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user