Updated ia32 toolchain with system / processor (#12784)
* Updated ia32 toolchain with system / processor * Allow pkg-config during cross-compilation * added error message * Search TBB using tbb.pc as well * WA * Fix for yocto * Added print * Use tbb.pc only when system libs are enabled * Improved OpenVINOConfig.cmake * Don't find pkg-config as required
This commit is contained in:
@@ -34,7 +34,7 @@ set_ci_build_number()
|
||||
|
||||
include(target_flags)
|
||||
|
||||
string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} ARCH_FOLDER)
|
||||
string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" ARCH_FOLDER)
|
||||
if(X86_64)
|
||||
set(ARCH_FOLDER intel64)
|
||||
elseif(X86)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set(FRONTEND_INSTALL_INCLUDE "${OV_CPACK_INCLUDEDIR}/")
|
||||
set(FRONTEND_INSTALL_INCLUDE "${OV_CPACK_INCLUDEDIR}")
|
||||
set(FRONTEND_NAME_PREFIX "openvino_")
|
||||
set(FRONTEND_NAME_SUFFIX "_frontend")
|
||||
|
||||
@@ -261,7 +261,7 @@ macro(ov_add_frontend)
|
||||
if(OV_FRONTEND_LINKABLE_FRONTEND)
|
||||
# install library development files
|
||||
install(DIRECTORY ${${TARGET_NAME}_INCLUDE_DIR}/openvino
|
||||
DESTINATION ${FRONTEND_INSTALL_INCLUDE}/
|
||||
DESTINATION ${FRONTEND_INSTALL_INCLUDE}
|
||||
COMPONENT ${dev_component}
|
||||
FILES_MATCHING PATTERN "*.hpp")
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ macro(ov_debian_specific_settings)
|
||||
# with current WA automatic deps detection via dpkg-shlibdeps for "our libraries"
|
||||
# is ignored; but dependencies between our components are here because of
|
||||
# CPACK_COMPONENT_<UCOMP>_DEPENDS variables
|
||||
# More proper WA is try to enable INSTALL_RPATH
|
||||
|
||||
if(DEFINED CMAKE_LIBRARY_OUTPUT_DIRECTORY)
|
||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}")
|
||||
|
||||
Reference in New Issue
Block a user