Package Details: openvino 2024.6.0-3

Git Clone URL: https://aur.archlinux.org/openvino.git (read-only, click to copy)
Package Base: openvino
Description: A toolkit for optimizing and deploying deep learning models
Upstream URL: https://docs.openvino.ai/
Licenses: Apache-2.0, LicenseRef-custom
Conflicts: intel-openvino
Provides: intel-openvino
Replaces: intel-openvino
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.29
First Submitted: 2020-12-23 22:29 (UTC)
Last Updated: 2025-01-09 03:06 (UTC)

Sources (26)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

dbermond commented on 2025-01-31 20:18 (UTC)

@Nixola it's a good practice to update your system before building AUR packages, so you will have the latest software installed from the official repositories. Anyway, good to know it worked for you.

Nixola commented on 2025-01-31 20:14 (UTC)

It was so much further up my terminal had cut those lines; also, it turns out it expected a newer version of libprotobuf than I had installed, so updating my system fixed it. From earlier comments I think that should theoretically not matter, unless something's changed in the meantime?

dbermond commented on 2025-01-31 18:42 (UTC)

@Nixola You should look deeper in the upward direction of the build log. There should be a descriptive error message somewhere near a string similar to 'waiting for unfinished jobs'.

Nixola commented on 2025-01-31 12:38 (UTC) (edited on 2025-01-31 12:41 (UTC) by Nixola)

Hi, I'm trying to install this but the build fails every time at the same spot, without any meaningful error messages. I'm attaching the last few lines of the terminal output.

[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_base.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_opt.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/swiglu/swiglu_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/tile/tile_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/tile/tile_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/unique/unique_kernel_ref.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/kernels/unique/unique_kernel_selector.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/primitive_db.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/tensor_type.cpp.o
[ 76%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/weight_bias_kernel_base.cpp.o
[ 77%] Building CXX object src/plugins/intel_gpu/src/kernel_selector/CMakeFiles/openvino_intel_gpu_kernels.dir/weight_bias_params.cpp.o
[ 77%] Linking CXX static library /home/nix/.cache/paru/clone/openvino/src/openvino/bin/intel64/Release/libopenvino_intel_gpu_kernels.a
[ 77%] Built target openvino_intel_gpu_kernels
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'openvino-2024.6.0-3': 
error: packages failed to build: openvino-2024.6.0-3

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.