Package Details: intel-npu-compiler 2026.12rc1-1

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: 3
Popularity: 0.001526
First Submitted: 2025-01-04 23:23 (UTC)
Last Updated: 2026-04-03 17:57 (UTC)

Sources (37)

Pinned Comments

dbermond commented on 2025-01-04 23:29 (UTC) (edited on 2025-01-05 04:00 (UTC) by dbermond)

  • Important notice:

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.

Latest Comments

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?

qoppzvrbcqjqqlbn commented on 2025-07-14 08:15 (UTC)

I have been getting this error while compiling for several months now:

'.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'

Does anyone know how to resolve?

dbermond commented on 2025-01-04 23:29 (UTC) (edited on 2025-01-05 04:00 (UTC) by dbermond)

  • Important notice:

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.