Skip to content
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

OV file path migration to std lib interface #26595

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

barnasm1
Copy link
Contributor

Details:

  • rewrite ov::file_util to take advantage of std::fielesystem::path

Tickets:

@barnasm1 barnasm1 added category: Core OpenVINO Core (aka ngraph) WIP work in progress do_not_merge labels Sep 13, 2024
@barnasm1 barnasm1 self-assigned this Sep 13, 2024
@barnasm1 barnasm1 requested review from a team as code owners September 13, 2024 14:49
@github-actions github-actions bot added category: IE Tests OpenVINO Test: plugins and common category: build OpenVINO cmake script / infra category: PDPD FE OpenVINO PaddlePaddle FrontEnd category: TF FE OpenVINO TensorFlow FrontEnd labels Sep 13, 2024
@@ -37,7 +37,9 @@ add_library(${TARGET_NAME} STATIC ${LIBRARY_SRC} ${PUBLIC_HEADERS})
add_library(openvino::util ALIAS ${TARGET_NAME})
set_target_properties(${TARGET_NAME} PROPERTIES EXPORT_NAME util)

target_link_libraries(${TARGET_NAME} PRIVATE ${CMAKE_DL_LIBS} PUBLIC openvino::pugixml)
# TODO: make lib linkage portable e.g.: openvino/src/bindings/python/thirdparty/pybind11/tests/CMakeLists.txt
target_link_libraries(${TARGET_NAME} PRIVATE ${CMAKE_DL_LIBS} PUBLIC openvino::pugixml stdc++fs )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it required new C++ standard ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the feature will be C++11 compatible. Where possible I plan to use experimental part of std filesystem lib and in reference tests for custom implementation. I would like the interface to be as close to std as possible to smoothly adapt future fixups to the newer CPP standard.

@ilya-lavrenov ilya-lavrenov added this to the 2024.5 milestone Sep 20, 2024
@barnasm1 barnasm1 requested a review from a team as a code owner September 20, 2024 14:11
@barnasm1 barnasm1 requested review from kblaszczak-intel and removed request for a team September 20, 2024 14:11
@github-actions github-actions bot added the category: docs_snippets OpenVINO docs snippets (docs/snippets) label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra category: Core OpenVINO Core (aka ngraph) category: docs_snippets OpenVINO docs snippets (docs/snippets) category: IE Tests OpenVINO Test: plugins and common category: PDPD FE OpenVINO PaddlePaddle FrontEnd category: TF FE OpenVINO TensorFlow FrontEnd do_not_merge WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants