@dbermond thank you, it works!
Search Criteria
Package Details: intel-npu-compiler 2026.12.1rc1-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/intel-npu-compiler.git (read-only, click to copy) |
|---|---|
| Package Base: | intel-npu-compiler |
| Description: | Intel Neural Processing Unit (NPU) compiler |
| Upstream URL: | https://github.com/openvinotoolkit/npu_compiler/ |
| Licenses: | Apache-2.0 |
| Submitter: | dbermond |
| Maintainer: | dbermond |
| Last Packager: | dbermond |
| Votes: | 5 |
| Popularity: | 1.60 |
| First Submitted: | 2025-01-04 23:23 (UTC) |
| Last Updated: | 2026-04-27 21:26 (UTC) |
Dependencies (12)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- libgcc (libgcc-snapshotAUR)
- libstdc++ (libstdc++-snapshotAUR)
- onetbb
- pugixml (pugixml-gitAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- git-lfs (git-lfs-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- python (make)
Required by (4)
- intel-npu-driver (optional)
- intel-npu-driver-git (optional)
- openvino-intel-npu-plugin
- openvino-intel-npu-plugin-git
Sources (36)
- 010-intel-npu-compiler-llvm-disable-atomic-check.patch
- 010-openvino-disable-werror.patch
- 020-openvino-gtest-gcc15-fix.patch
- 030-intel-npu-compiler-fix-install.patch
- 040-intel-npu-compiler-npu-plugin-elf-fix-install.patch
- git+https://github.com/ARM-software/ComputeLibrary.git
- git+https://github.com/ARM-software/kleidiai.git
- git+https://github.com/gflags/gflags.git
- git+https://github.com/google/flatbuffers.git
- git+https://github.com/google/gtest-parallel.git
- git+https://github.com/herumi/xbyak.git
- git+https://github.com/herumi/xbyak_riscv.git
- git+https://github.com/intel-staging/npu-compiler-llvm.git
- git+https://github.com/intel/ittapi.git
- git+https://github.com/intel/level-zero-npu-extensions.git
- git+https://github.com/intel/npu-nn-cost-model.git
- git+https://github.com/jbeder/yaml-cpp.git
- git+https://github.com/KhronosGroup/OpenCL-CLHPP.git
- git+https://github.com/KhronosGroup/OpenCL-Headers.git
- git+https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
- git+https://github.com/libxsmm/libxsmm.git
- git+https://github.com/madler/zlib.git
- git+https://github.com/nithinn/ncc.git
- git+https://github.com/nlohmann/json.git
- git+https://github.com/oneapi-src/level-zero.git
- git+https://github.com/oneapi-src/oneDNN.git
- git+https://github.com/onnx/onnx.git
- git+https://github.com/openvinotoolkit/mlas.git
- git+https://github.com/openvinotoolkit/npu_compiler.git#tag=npu_ud_2026_12_1_rc1
- git+https://github.com/openvinotoolkit/npu_plugin_elf.git
- git+https://github.com/openvinotoolkit/openvino.git#commit=b7f9dbfa7944a1c576b87a4061c298636ae9f2a7
- git+https://github.com/openvinotoolkit/telemetry.git
- git+https://github.com/protocolbuffers/protobuf.git
- git+https://github.com/pybind/pybind11.git
- googletest-openvinotoolkit
- oneDNN-openvinotoolkit
StratosL commented on 2026-04-29 10:15 (UTC)
dbermond commented on 2026-04-27 21:29 (UTC)
@StratosL implemented. This cmake option is also used in the openvino package, which is the base source used for building, so it makes a good addition. Also added the clang format cmake option.
StratosL commented on 2026-04-26 20:19 (UTC)
Hi there, I bumped into the bug mentioned below, as explained here: https://pastebin.com/rUkGtWQA
Could you please take a look at the proposed patch? https://pastebin.com/AxJvf8Jd
Thanks, Stratos
qoppzvrbcqjqqlbn commented on 2026-04-10 06:31 (UTC)
I also have the NCC styling error preventing compilation:
/home/lukken/.cache/yay/intel-npu-compiler/src/openvino/src/common/util/include//openvino/util/variant_visitor.hpp:14:1: "<deduction guide for VariantVisitor>(Ts...)" does not match "^(operator.+|[\w]+|SoPtr.+|Impl<.*>)$" associated with FunctionTemplate
dbermond commented on 2026-04-09 23:48 (UTC)
The package is building fine for me. I cannot reproduce any build issues.
tocer commented on 2026-04-09 11:58 (UTC)
Quick fix for deduction guide build error:
The package currently fails to build due to ncc naming style checker not supporting C++17 deduction guides.
Temporary fix: Add -DENABLE_NCC_STYLE:BOOL='false' to the cmake flags in build() function. This disables the development-only style checker and allows the build to complete successfully.
philanecros commented on 2026-03-19 10:52 (UTC)
Got the following error building the package
[0/2] Re-checking globbed directories...
[334/7754] [ncc naming style] src/common/util/include/openvino/util/variant_visitor.hpp
FAILED: [code=1] ncc_naming_style/src/common/util/include/openvino/util/variant_visitor.hpp.ncc_style /home/asdf/.cache/yay/intel-npu-compiler/src/build/ncc_naming_style/src/common/util/include/openvino/util/variant_visitor.hpp.ncc_style
cd /home/asdf/.cache/yay/intel-npu-compiler/src/build/src/common/util && /usr/bin/cmake -D Python3_EXECUTABLE=/usr/bin/python3.14 -D NCC_PY_SCRIPT=/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/cmake/developer_package/ncc_naming_style/ncc/ncc.py -D INPUT_FILE=/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/src/common/util/include//openvino/util/variant_visitor.hpp -D OUTPUT_FILE=/home/asdf/.cache/yay/intel-npu-compiler/src/build/ncc_naming_style/src/common/util/include/openvino/util/variant_visitor.hpp.ncc_style -D DEFINITIONS= -D CLANG_LIB_PATH=/usr/lib/libclang.so -D STYLE_FILE=/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/cmake/developer_package/ncc_naming_style/openvino.style -D ADDITIONAL_INCLUDE_DIRECTORIES=/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/src/common/util/include/ -D EXPECTED_FAIL=FALSE -P /home/asdf/.cache/yay/intel-npu-compiler/src/openvino/cmake/developer_package/ncc_naming_style/ncc_run.cmake
Total number of errors = 1
/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/src/common/util/include//openvino/util/variant_visitor.hpp:14:1: "<deduction guide for VariantVisitor>(Ts...)" does not match "^(operator.+|[\w]+|SoPtr.+|Impl<.*>)$" associated with FunctionTemplate
CMake Error at /home/asdf/.cache/yay/intel-npu-compiler/src/openvino/cmake/developer_package/ncc_naming_style/ncc_run.cmake:44 (message):
[ncc naming style] Naming style check failed for
/home/asdf/.cache/yay/intel-npu-compiler/src/openvino/src/common/util/include//openvino/util/variant_visitor.hpp
[357/7754] Building CXX object build-modules/npu_compiler/thirdparty/llvm-project/llvm/tools/mlir/tools/mlir-tblgen/CMakeFiles/mlir-tblgen.dir/OpDefinitionsGen.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: intel-npu-compiler-exit status 4
-> Failed to install the following packages. Manual intervention is required:
intel-npu-compiler - exit status 4
atleeit commented on 2025-11-09 05:34 (UTC) (edited on 2025-11-09 06:15 (UTC) by atleeit)
Until the dev fixes it with a explicit regex capable but i've tried so many and they all failed so I used the magic wildcard, edit "src/openvino/cmake/developer_package/ncc_naming_style/openvino.style" FunctionTemplate: '^.*$' << this will accept anything. It will build successfully after that change, it does require abit of system resources, but I modified the PKGBUILD with --parallel 8, even though I have 22 cores, still takes 1+hr to build.
Error: "<deduction guide for VariantVisitor>(Ts...)" does not match "^(operator.+|[\w]+|SoPtr.+|Impl<.*>)$" associated with FunctionTemplate'
I think "<deduction guide for VariantVisitor>" is coming from further up the build chain, maybe a script, or config file included, that isn't escaped properly.
tocer commented on 2025-10-08 05:07 (UTC)
==> Starting build()... -- The C compiler identification is GNU 15.2.1 -- The CXX compiler identification is GNU 15.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test OPENVINO_STDLIB_GNU -- Performing Test OPENVINO_STDLIB_GNU - Success -- Performing Test OPENVINO_GLIBC_MUSL -- Performing Test OPENVINO_GLIBC_MUSL - Failed CMake Error at cmake/developer_package/version.cmake:103 (message): OpenVINO_VERSION_MAJOR parsed from CI_BUILD_NUMBER () and from openvino/core/version.hpp (2025) are different Call Stack (most recent call first): cmake/developer_package/version.cmake:113 (ov_compare_version_with_headers) cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:32 (ov_parse_ci_build_number) cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:48 (ov_set_ci_build_number) CMakeLists.txt:44 (find_package)
-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> error making: intel-npu-compiler-exit status 4 -> Failed to install the following packages. Manual intervention is required: intel-npu-compiler - exit status 4
Does anyone know how to resolve?
Pinned Comments
dbermond commented on 2025-01-04 23:29 (UTC) (edited on 2025-01-05 04:00 (UTC) by dbermond)
Upstream recommends a minimum of 32GB of RAM for building.
If you get the error "c++: fatal error: Killed signal terminated program cc1plus", upstream recommends to decrease the number of building threads. You will need to manually modify the PKGBUILD for this, and add a '--parallel <n>' option at the end of the cmake build command.