Package Details: python-openvino 2024.6.0-3

Git Clone URL: https://aur.archlinux.org/openvino.git (read-only, click to copy)
Package Base: openvino
Description: Python bindings for OpenVINO
Upstream URL: https://docs.openvino.ai/
Licenses: Apache-2.0, LicenseRef-custom
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.47
First Submitted: 2020-12-23 22:29 (UTC)
Last Updated: 2025-01-09 03:06 (UTC)

Required by (0)

Sources (26)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

dbermond commented on 2025-01-03 20:20 (UTC)

@leandrosansilva the build jobs/parallelism is a user setting and should be configured in your 'makepkg.conf'.

leandrosansilva commented on 2025-01-03 17:24 (UTC)

It took my old NUC hours to build openvino, and then I noticed it was using a single core. You can considerably speed up the build by building stuff in parallel (use nproc from cureutils).

Here a simple git diff output with the change:

diff --git a/PKGBUILD b/PKGBUILD
index 4bb171b..a049364 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -175,7 +175,7 @@ build() {
         -DOpenCL_HPP_INCLUDE_DIR:PATH="${srcdir}/openvino/thirdparty/ocl/clhpp_headers/include" \
         -DOpenCL_INCLUDE_DIR:PATH="${srcdir}/openvino/thirdparty/ocl/cl_headers" \
         -Wno-dev
-    cmake --build build
+    cmake --build build -j$(nproc)
 }

 package() {

dbermond commented on 2024-12-10 20:40 (UTC)

@PatoPan this should not happen, as we are building protobuf from git submodules instead of using system protobuf (the lines in your log saying "Found Protobuf: /usr/lib/libprotobuf.so" and similar ones about system protobuf should not appear). Make sure that you have an up-to-date clone of this git repository.

PatoPan commented on 2024-12-10 18:14 (UTC) (edited on 2024-12-10 18:16 (UTC) by PatoPan)

I get the following error

-- CMAKE_CXX_FLAGS: -Wsuggest-override -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions          -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/prime/.cache/paru/clone/openvino/src=/usr/src/debug/openvino -flto=auto -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override
-- Found Protobuf: /usr/lib/libprotobuf.so (found version "5.28.3")
-- TBB (2022.0.0) is found at /usr/lib/cmake/TBB
-- Static tbbbind_2_5 package usage is disabled, since oneTBB (ver. 2022.0.0) provides dynamic TBBBind 2.5+
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR) (found version
  "5.28.3")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindProtobuf.cmake:772 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  /usr/lib/cmake/ONNX/ONNXConfig.cmake:11 (find_package)
  src/frontends/onnx/onnx_common/CMakeLists.txt:41 (find_package)

dbermond commented on 2024-09-23 15:58 (UTC)

@puddings233 Reproduced. The npu plugin requires avx and it seems there is no way to configure it to use generic x86_64 instructions. I had to disable it. Package updated and building fine now. Thanks for reporting.

puddings233 commented on 2024-09-23 07:35 (UTC) (edited on 2024-09-23 11:16 (UTC) by puddings233)

Build failed in clean chroot using pkgctl build
Full log at: https://fars.ee/nEK3

dbermond commented on 2024-09-22 19:28 (UTC)

@carlosnewmusic I cannot reproduce your issue. I have just checked, and the package is building fine with makepkg, and also in a clean chroot. The high amount of messages saying "Updating files" (or something like that, your log it's not in english) alongside with a percentage makes me think that you are not using makepkg, as makepkg does not produce it. Are you on Arch Linux? What is the command that you are using to build?

carlosnewmusic commented on 2024-09-22 10:37 (UTC)

build error https://pastebin.com/yhECnMD2

dbermond commented on 2024-08-27 17:03 (UTC)

@gbin you can build the package in an clean chroot for an isolated build environment.