-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake installation rules for 3rd party components #2944
CMake installation rules for 3rd party components #2944
Conversation
|
||
if(WIN32) | ||
file(GLOB_RECURSE source_list "${OMP}/*.dll") | ||
elseif(LINUX OR APPLE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LINUX OR APPLE
-> UNIX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The proper way is to use https://cmake.org/cmake/help/v3.0/variable/CMAKE_SHARED_LIBRARY_SUFFIX.html to have an unified code here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, we don't ship packages with OMP.
|
||
install(DIRECTORY ${OPENCV}/../python/ | ||
DESTINATION python | ||
COMPONENT opencv) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, this version is usually a bit outdated. But it's convenient to have it in the package to run samples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should install ALL components that a part of package now, and resolve other issues step by step...
1st priority - no actions out of CMake for preparing FULL package.
export DYLD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/inference_engine/external/mkltiny_mac/lib:$INSTALLDIR/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}${DYLD_LIBRARY_PATH:+:DYLD_LIBRARY_PATH} | ||
export LD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/inference_engine/external/mkltiny_mac/lib:$INSTALLDIR/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} | ||
export DYLD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/inference_engine/external/omp/lib:$INSTALLDIR/deployment_tools/inference_engine/external/mkltiny_mac/lib:$INSTALLDIR/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}${DYLD_LIBRARY_PATH:+:DYLD_LIBRARY_PATH} | ||
export LD_LIBRARY_PATH=$INSTALLDIR/deployment_tools/inference_engine/external/omp/lib:$INSTALLDIR/deployment_tools/inference_engine/external/mkltiny_mac/lib:$INSTALLDIR/deployment_tools/inference_engine/external/tbb/lib:${IE_PLUGINS_PATH}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexPeskov @dmitry-gorokhov do we still need mkltiny_mac
here?
install(FILES ${source_list} DESTINATION ${IE_CPACK_RUNTIME_PATH}) | ||
elseif(LINUX) | ||
file(GLOB_RECURSE source_list "${GNA}/*.so*") | ||
install(FILES ${source_list} DESTINATION "deployment_tools/inference_engine/external/gna/lib") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
align GNA Windows install path with Linux
@slyubimt please, merge with latest master to make CI green. |
@slyubimt please, make CI green |
…stall_3rdparty # Conflicts: # inference-engine/samples/CMakeLists.txt # inference-engine/thirdparty/CMakeLists.txt
add explicitly clDNN_unit_tests target to build
ci/jenkins green status: https://openvino-ci.intel.com/job/private-ci/job/gitlab_precommit/18232/ |
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
* [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * [MO] Add CMake install for Model Optimizer * [MO] Update test for version.py * Add CMake install rules for OpenVINO 3rd party dependencies Remove unwanted targets from final distribution (test, static libs, etc) * remove duplicated targets from install align GNA Windows install path with Linux * Add COMPONENT install name for OMP remove empty lines * Add OMP to CPack components * remove gtest from deliverables add explicitly clDNN_unit_tests target to build * set clDNN_unit_tests properties only by condition * remove install commands for clDNN Co-authored-by: Alexander Zhogov <[email protected]>
Add CMake install rules for OpenVINO 3rd party dependencies
Remove unwanted targets from final distribution (test, static libs, etc.)