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

[openvino] update to 2024.5.0 #42259

Closed
wants to merge 1 commit into from

Conversation

culhatsker
Copy link
Contributor

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version.
  • Any fixed CI baseline entries are removed from that file.
  • Any patches that are no longer applied are deleted from the port's directory.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Only one version is added to each modified port's versions file.

@culhatsker culhatsker force-pushed the openvino/2024.5.0 branch 2 times, most recently from c2570ce to 250b799 Compare November 20, 2024 14:07
@BillyONeal
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@LilyWangLL
Copy link
Contributor

/azp run

@LilyWangLL LilyWangLL added the category:port-update The issue is with a library, which is requesting update new revision label Nov 21, 2024
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BillyONeal
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@LilyWangLL LilyWangLL added the requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function label Nov 21, 2024
@LilyWangLL
Copy link
Contributor

The build error from CI pipeline test:

[2715/3610] C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   /TP -DIN_OV_COMPONENT -DOPENVINO_STATIC_LIBRARY -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -DOV_THREAD=OV_THREAD_TBB -Dget_api_version=get_api_version_paddle -Dget_front_end_data=get_front_end_data_paddle -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\common\dev_api -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\common\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\core\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\inference\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\src -ID:\b\openvino\x64-windows-static-dbg\src\frontends\paddle\src -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\util\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\core\dev_api -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\transformations\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\low_precision_transformations\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\itt\include -external:ID:\installed\x64-windows-static\include -external:ID:\installed\x64-windows-static\include\xbyak -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MTd /d1trimfile:D:\b\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:D:/b/openvino/src/2024.5.0-c50d4814c7.clean/ /showIncludes /Fosrc\frontends\paddle\src\CMakeFiles\openvino_paddle_frontend.dir\frontend.cpp.obj /FdD:\b\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c D:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\src\frontend.cpp
FAILED: src/frontends/paddle/src/CMakeFiles/openvino_paddle_frontend.dir/frontend.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   /TP -DIN_OV_COMPONENT -DOPENVINO_STATIC_LIBRARY -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -DOV_THREAD=OV_THREAD_TBB -Dget_api_version=get_api_version_paddle -Dget_front_end_data=get_front_end_data_paddle -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\common\dev_api -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\common\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\core\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\inference\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\src -ID:\b\openvino\x64-windows-static-dbg\src\frontends\paddle\src -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\util\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\core\dev_api -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\transformations\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\low_precision_transformations\include -ID:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\common\itt\include -external:ID:\installed\x64-windows-static\include -external:ID:\installed\x64-windows-static\include\xbyak -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MTd /d1trimfile:D:\b\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:D:/b/openvino/src/2024.5.0-c50d4814c7.clean/ /showIncludes /Fosrc\frontends\paddle\src\CMakeFiles\openvino_paddle_frontend.dir\frontend.cpp.obj /FdD:\b\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c D:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\src\frontend.cpp
D:\b\openvino\src\2024.5.0-c50d4814c7.clean\src\frontends\paddle\src\frontend.cpp(16): fatal error C1083: Cannot open include file: 'google/protobuf/stubs/logging.h': No such file or directory

@LilyWangLL
Copy link
Contributor

And I test all features locally, there are the following errors:

[823/3719] C:\PROGRA~1\MICROS~3\2022\ENTERP~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe   /TP -DL0_LOADER_VERSION=\"1\" -DL0_VALIDATION_LAYER_SUPPORTED_VERSION=\"1\" -DLOADER_VERSION_MAJOR=1 -DLOADER_VERSION_MINOR=17 -DLOADER_VERSION_PATCH=0 -DLOADER_VERSION_SHA="\" - No git SHA found, compiled outside git folder.\"" -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\wrapper\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\inc -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\third_party\spdlog_headers /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /WX- /guard:cf /DYNAMICBASE /Qspectre /WX /W3 /MP /EHsc /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MDd /d1trimfile:F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:F:/PRreview/vcpkg/buildtrees/openvino/src/2024.5.0-c50d4814c7.clean/ /Qspectre- /showIncludes /Fothirdparty\level_zero\level-zero\source\utils\CMakeFiles\utils.dir\logging.cpp.obj /FdF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\utils\logging.cpp
FAILED: thirdparty/level_zero/level-zero/source/utils/CMakeFiles/utils.dir/logging.cpp.obj 
C:\PROGRA~1\MICROS~3\2022\ENTERP~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe   /TP -DL0_LOADER_VERSION=\"1\" -DL0_VALIDATION_LAYER_SUPPORTED_VERSION=\"1\" -DLOADER_VERSION_MAJOR=1 -DLOADER_VERSION_MINOR=17 -DLOADER_VERSION_PATCH=0 -DLOADER_VERSION_SHA="\" - No git SHA found, compiled outside git folder.\"" -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\wrapper\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\inc -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\third_party\spdlog_headers /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /WX- /guard:cf /DYNAMICBASE /Qspectre /WX /W3 /MP /EHsc /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MDd /d1trimfile:F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:F:/PRreview/vcpkg/buildtrees/openvino/src/2024.5.0-c50d4814c7.clean/ /Qspectre- /showIncludes /Fothirdparty\level_zero\level-zero\source\utils\CMakeFiles\utils.dir\logging.cpp.obj /FdF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\utils\logging.cpp
cl : Command line warning D9025 : overriding '/WX-' with '/WX'
cl : Command line warning D9025 : overriding '/MTd' with '/MDd'
cl : Command line warning D9025 : overriding '/Qspectre' with '/Qspectre-'
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(490): error C2220: the following warning is treated as an error
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(490): warning C4996: 'stdext::checked_array_iterator<T*>': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\include\iterator(1493): note: see declaration of 'stdext::checked_array_iterator'
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(493): warning C4996: 'stdext::checked_array_iterator<T *>::checked_array_iterator': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.
        with
        [
            T=fmt::v9::detail::bigint::bigit
        ]

My install command:

Installing 30/30 openvino[auto,auto-batch,core,cpu,gpu,hetero,ir,npu,onnx,paddle,pytorch,tensorflow,tensorflow-lite]:[email protected]

@LilyWangLL LilyWangLL marked this pull request as draft November 21, 2024 07:00
@culhatsker culhatsker force-pushed the openvino/2024.5.0 branch 2 times, most recently from c256a4d to 7db379c Compare December 2, 2024 12:54
@culhatsker
Copy link
Contributor Author

@LilyWangLL may I ask your help? I'm afraid there's something wrong with arm64_windows pipelines as it can't find python3 executable in a few stages. May I ask you to have a look or refer someone else who can help with that?

@culhatsker
Copy link
Contributor Author

Hello everyone, I have an issue with arm64_windows builds, but I suspect that there's something wrong with the build environment. I will remove draft label from this PR.

@culhatsker culhatsker marked this pull request as ready for review December 9, 2024 15:24
@dg0yt
Copy link
Contributor

dg0yt commented Dec 9, 2024

arm64-windows:

-- Register template_extension to be built in build-modules/template_extension
CMake Error at D:/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
Call Stack (most recent call first):
  D:/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  D:/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPython/Support.cmake:3984 (find_package_handle_standard_args)
  D:/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/share/cmake-3.30/Modules/FindPython3.cmake:596 (include)
  D:/a/_work/1/s/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  src/core/template_extension/CMakeLists.txt:11 (find_package)

@dg0yt
Copy link
Contributor

dg0yt commented Dec 9, 2024

If it needs python, the portfile needs

vcpkg_find_acquire_program(PYTHON3)

vcpkg_cmake_configure(
    ...
        "-DPYTHON_EXECUTABLE=${PYTHON3}"

@culhatsker culhatsker force-pushed the openvino/2024.5.0 branch 3 times, most recently from 321c4f9 to 752b281 Compare December 10, 2024 12:41
@culhatsker
Copy link
Contributor Author

@LilyWangLL can this be merged?

@LilyWangLL
Copy link
Contributor

And I test all features locally, there are the following errors:

[823/3719] C:\PROGRA~1\MICROS~3\2022\ENTERP~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe   /TP -DL0_LOADER_VERSION=\"1\" -DL0_VALIDATION_LAYER_SUPPORTED_VERSION=\"1\" -DLOADER_VERSION_MAJOR=1 -DLOADER_VERSION_MINOR=17 -DLOADER_VERSION_PATCH=0 -DLOADER_VERSION_SHA="\" - No git SHA found, compiled outside git folder.\"" -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\wrapper\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\inc -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\third_party\spdlog_headers /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /WX- /guard:cf /DYNAMICBASE /Qspectre /WX /W3 /MP /EHsc /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MDd /d1trimfile:F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:F:/PRreview/vcpkg/buildtrees/openvino/src/2024.5.0-c50d4814c7.clean/ /Qspectre- /showIncludes /Fothirdparty\level_zero\level-zero\source\utils\CMakeFiles\utils.dir\logging.cpp.obj /FdF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\utils\logging.cpp
FAILED: thirdparty/level_zero/level-zero/source/utils/CMakeFiles/utils.dir/logging.cpp.obj 
C:\PROGRA~1\MICROS~3\2022\ENTERP~1\VC\Tools\MSVC\1442~1.344\bin\Hostx64\x64\cl.exe   /TP -DL0_LOADER_VERSION=\"1\" -DL0_VALIDATION_LAYER_SUPPORTED_VERSION=\"1\" -DLOADER_VERSION_MAJOR=1 -DLOADER_VERSION_MINOR=17 -DLOADER_VERSION_PATCH=0 -DLOADER_VERSION_SHA="\" - No git SHA found, compiled outside git folder.\"" -DOV_BUILD_POSTFIX=\"d\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"2024.5.0-c50d4814c7.clean\" -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\wrapper\include -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\inc -IF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\third_party\spdlog_headers /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP  /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /EHsc /Gy /W3 /bigobj /MP /wd4251 /wd4275 /WX- /guard:cf /DYNAMICBASE /Qspectre /WX /W3 /MP /EHsc /D_DEBUG /MTd /Z7 /Ob0 /Od /RTC1  -std:c++14 -MDd /d1trimfile:F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\ /d1trimfile:F:/PRreview/vcpkg/buildtrees/openvino/src/2024.5.0-c50d4814c7.clean/ /Qspectre- /showIncludes /Fothirdparty\level_zero\level-zero\source\utils\CMakeFiles\utils.dir\logging.cpp.obj /FdF:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\bin\intel64\Debug\ /FS -c F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\source\utils\logging.cpp
cl : Command line warning D9025 : overriding '/WX-' with '/WX'
cl : Command line warning D9025 : overriding '/MTd' with '/MDd'
cl : Command line warning D9025 : overriding '/Qspectre' with '/Qspectre-'
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(490): error C2220: the following warning is treated as an error
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(490): warning C4996: 'stdext::checked_array_iterator<T*>': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.42.34433\include\iterator(1493): note: see declaration of 'stdext::checked_array_iterator'
F:\PRreview\vcpkg\buildtrees\openvino\src\2024.5.0-c50d4814c7.clean\thirdparty\level_zero\level-zero\third_party\spdlog_headers\spdlog\fmt\bundled\format.h(493): warning C4996: 'stdext::checked_array_iterator<T *>::checked_array_iterator': warning STL4043: stdext::checked_array_iterator, stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions and will be removed in the future. std::span (since C++20) and gsl::span can be used instead. You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS to suppress this warning.
        with
        [
            T=fmt::v9::detail::bigint::bigit
        ]

My install command:

Installing 30/30 openvino[auto,auto-batch,core,cpu,gpu,hetero,ir,npu,onnx,paddle,pytorch,tensorflow,tensorflow-lite]:[email protected]

Please fix this failure, it still exists.

@culhatsker
Copy link
Contributor Author

@LilyWangLL may I ask you to check the build again?

@LilyWangLL
Copy link
Contributor

All features passed with following triplets:

x64-windows
x64-windows-static

Usage test passed on x64-windows.

Comment on lines +100 to +109
vcpkg_from_github(
OUT_SOURCE_PATH DEP_SOURCE_PATH
REPO gabime/spdlog
REF v1.15.0
SHA512 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647
)
file(REMOVE_RECURSE "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/spdlog")
file(COPY "${DEP_SOURCE_PATH}/include/"
DESTINATION "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/")
Copy link
Contributor

Choose a reason for hiding this comment

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

Can these be replaced with dependency spdlog?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to replace it with a regular dependency, but it requires having "SYSTEM_SPDLOG=ON" variable in level_zero cmake and for some reason when I set this variable in the root project it did not reach level_zero.

Copy link
Contributor

Choose a reason for hiding this comment

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

@LilyWangLL changing dependencies of dependencies is not of current PR

let's separate product update vs work on dependencies

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather not add new vendored dependencies to this port. This should use the vcpkg spdlog port as a dependency.

Copy link
Contributor

Choose a reason for hiding this comment

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

level-zero has an option to use system spdlog via SYSTEM_SPDLOG

looks like we need to enable it.

Copy link
Contributor

@ilya-lavrenov ilya-lavrenov Dec 30, 2024

Choose a reason for hiding this comment

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

looks like it's even better to use level-zero enabled in vcpkg #42904

we can use this patch openvinotoolkit/openvino#27633 to be able to find system version of level-zero

@LilyWangLL @JavierMatosD can we merge current PR as upgrade of OpenVINO to newer version and in next PR will submit patch to vcpkg's level-zero migration?

@LilyWangLL LilyWangLL removed the requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function label Dec 18, 2024
@@ -64,26 +63,28 @@ if(ENABLE_INTEL_CPU)
SHA512 8d6dd319924135b7b22940d623305bf200b812ae64cde79000709de4fad429fbd43794301ef16e6f10ed7132777b7a73e9f30ecae7c030aea80d57d7c0ce4500
)
file(COPY "${DEP_SOURCE_PATH}/" DESTINATION "${SOURCE_PATH}/src/plugins/intel_cpu/thirdparty/mlas")
endif()

if(VCPKG_TARGET_ARCHITECTURE MATCHES "arm")
Copy link
Contributor

Choose a reason for hiding this comment

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

why was it moved outside of ENABLE_INTEL_CPU section?
ARM Compute is required only for CPU

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assumed I need to fix arm64-windows build. It would fail looking up python3 executable (required for scons to compile arm compute library). I fixed python3 lookup just to find out the code for arm cpu branch doesn't execute because of the cpu feature constraint platform: !(windows & arm). Because cpu is the only plugin existing for arm I assumed that it doesn't make sense to build openvino entirely without plugins and moved the arm cpu code out of the intel cpu branch.

Maybe I should have just disabled build for arm64-windows (or "arm & windows" how it is defined in cpu feature constraints) entirely.

Copy link
Contributor

@ilya-lavrenov ilya-lavrenov Dec 20, 2024

Choose a reason for hiding this comment

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

to build ARM compute for Windows arm6, you need clang-cl compiler and native compilation.

So, currently no way to build CPU plugin for Windows arm64

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then I will disable openvino for windows on arm at all so that it doesn't start arm64-windows build and doesn't trigger the error

Copy link
Contributor

Choose a reason for hiding this comment

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

applied patch to avoid fail if python is not available.

Comment on lines +100 to +109
vcpkg_from_github(
OUT_SOURCE_PATH DEP_SOURCE_PATH
REPO gabime/spdlog
REF v1.15.0
SHA512 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647
)
file(REMOVE_RECURSE "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/spdlog")
file(COPY "${DEP_SOURCE_PATH}/include/"
DESTINATION "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/")
Copy link
Contributor

Choose a reason for hiding this comment

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

@LilyWangLL changing dependencies of dependencies is not of current PR

let's separate product update vs work on dependencies

github-merge-queue bot pushed a commit to openvinotoolkit/openvino that referenced this pull request Dec 20, 2024
ilya-lavrenov added a commit to openvinotoolkit/openvino that referenced this pull request Dec 20, 2024
11happy pushed a commit to 11happy/openvino that referenced this pull request Dec 23, 2024
@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Dec 24, 2024
Comment on lines +100 to +109
vcpkg_from_github(
OUT_SOURCE_PATH DEP_SOURCE_PATH
REPO gabime/spdlog
REF v1.15.0
SHA512 3dd98409f4625ae4d46ef5f59a2fc22a6e151a13dba9d37433363e5d84eab7cca73b379eeb637d8f9b1f0f5a42221c0cc9a2a70414dc2b6af6a162e19fba0647
)
file(REMOVE_RECURSE "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/spdlog")
file(COPY "${DEP_SOURCE_PATH}/include/"
DESTINATION "${SOURCE_PATH}/thirdparty/level_zero/level-zero/third_party/spdlog_headers/")
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather not add new vendored dependencies to this port. This should use the vcpkg spdlog port as a dependency.

@JavierMatosD JavierMatosD marked this pull request as draft December 30, 2024 19:24
@ilya-lavrenov
Copy link
Contributor

Can be closed in favor #43053

@culhatsker culhatsker closed this Jan 15, 2025
@culhatsker culhatsker deleted the openvino/2024.5.0 branch January 15, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants