Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/features.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ endif()

ov_dependent_option (ENABLE_ONEDNN_FOR_GPU "Enable oneDNN with GPU support" ${ENABLE_ONEDNN_FOR_GPU_DEFAULT} "ENABLE_INTEL_GPU" OFF)

ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ON "X86_64;WIN32 OR LINUX" OFF)
ov_dependent_option (ENABLE_INTEL_NPU "NPU plugin for OpenVINO runtime" ON "X86_64;WIN32 OR LINUX OR ANDROID" OFF)
ov_dependent_option (ENABLE_INTEL_NPU_INTERNAL "NPU plugin internal components for OpenVINO runtime" ON "ENABLE_INTEL_NPU" OFF)

ov_option (ENABLE_DEBUG_CAPS "enable OpenVINO debug capabilities at runtime" OFF)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ TEST_P(OVClassBasicTestPNPU, smoke_registerPluginsLibrariesUnicodePath) {
ov::util::make_plugin_library_name(::ov::util::wstring_to_string(unicode_path), lib));
bool is_copy_successfully = ov::test::utils::copyFile(libPath, libPathNew);
if (!is_copy_successfully) {
FAIL() << "Unable to copy from '" << libPath << "' to '" << libPathNew << "'";
FAIL() << "Unable to copy from '" << libPath.c_str() << "' to '" << libPathNew.c_str() << "'";
}
}

Expand Down
8 changes: 6 additions & 2 deletions thirdparty/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,16 @@ if(ENABLE_OV_TF_LITE_FRONTEND OR ENABLE_INTEL_NPU)
add_subdirectory(thirdparty/flatbuffers EXCLUDE_FROM_ALL)
if(ENABLE_INTEL_NPU)
# NPU plugin requires flatbuffers to be built always
add_custom_target(npu_compiler_flatbuffers ALL DEPENDS flatbuffers flatc)
add_custom_target(npu_compiler_flatbuffers ALL DEPENDS flatbuffers ${flatbuffers_DEPENDENCY})
set(flatbuffers_root "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/flatbuffers/flatbuffers")
ov_developer_package_export_targets(TARGET flatbuffers
INSTALL_INCLUDE_DIRECTORIES "${flatbuffers_root}/include/")
ov_developer_package_export_targets(TARGET ProjectConfig)
install(TARGETS flatc DESTINATION "developer_package/bin" COMPONENT developer_package EXCLUDE_FROM_ALL)
install(FILES ${flatbuffers_COMPILER} DESTINATION "developer_package/bin" COMPONENT developer_package EXCLUDE_FROM_ALL)
if (CMAKE_CROSSCOMPILING)
# NPU compiler requires flatbuffers and flatc defined as target
add_executable(flatc ALIAS flatbuffers::flatc)
endif()
endif()
endif()

Expand Down
Loading