Package Details: xrt-npu-git r8007.42e5fb6f57-2

Git Clone URL: https://aur.archlinux.org/xrt-npu-git.git (read-only, click to copy)
Package Base: xrt-npu-git
Description: Xilinx runtime configured for AMD NPUs
Upstream URL: https://xilinx.github.io/XRT/master/html
Keywords: amd npu um5606 xdna
Licenses: Apache
Conflicts: xrt
Provides: xrt
Submitter: That1Calculator
Maintainer: That1Calculator
Last Packager: That1Calculator
Votes: 0
Popularity: 0.000000
First Submitted: 2024-12-10 04:04 (UTC)
Last Updated: 2024-12-10 06:15 (UTC)

Latest Comments

Zesty3166 commented on 2026-04-27 21:37 (UTC)

Hi all,

I am trying to build r8007.42e5fb6f57-2 and I keep running into the error of missing module. Does anyone know what I might be doing wrong? Error below,

In file included from /home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/plugin/aie_trace/aie_trace_offload_manager.h:20,
                 from /home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/plugin/aie_trace/aie_trace_plugin.h:23,
                 from /home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/plugin/aie_trace/aie_trace_cb.cpp:20:
/home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/device/aie_trace/client/aie_trace_offload_client.h:31:12: fatal error: xaiengine.h: No such file or directory
   31 |   #include <xaiengine.h>
      |            ^~~~~~~~~~~~~
Here's different error for the same module,

In file included from /home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/plugin/aie_profile/aie_profile_plugin.cpp:27:
/home/andrewg/.cache/yay/xrt-npu-git/src/xrt/src/runtime_src/xdp/profile/plugin/aie_profile/client/aie_profile.h:16:10: fatal error: xaiengine.h: No such file or directory
   16 | #include <xaiengine.h>
      |          ^~~~~~~~~~~~~

Astolofo commented on 2025-10-16 17:44 (UTC) (edited on 2025-10-16 17:54 (UTC) by Astolofo)

I got it to install, follow the steps provided by nyan_go.

In addition I uncomment line 121 mv $pkgdir/lib $pkgdir/usr

Edit: It seems like the line 130, can be commented out or removed, those two services seems to be for fpga(?)

nyan_go commented on 2025-10-13 21:27 (UTC) (edited on 2025-10-13 21:31 (UTC) by nyan_go)

I can't install the package, I get several errors trying to build it. Not sure how to properly format command line snippets, hope this is at least partially readable...

First I get

mv: cannot stat '/home/ognyan/.cache/yay/xrt-npu-git/pkg/xrt-npu-git/opt/xilinx/xrt/etc/*service': No such file or directory

Looking at the package directory, the xrt part of the path doesn't exist, I do have /home/ognyan/.cache/yay/xrt-npu-git/pkg/xrt-npu-git/opt/xilinx/etc/. This looks similar to the file path mismatch mentioned on line#146 of the PKGBUILD, about /opt/xilinx/xrt/share/fw.

I removed xrt from the path on line#130 and went past packaging xrt-npu-git, when I got this:

==> Starting package_xrt-xocl-dkms-npu-git()...

mv: target 'usr/src/xrt-xocl-r8526.602d34ba72': No such file or directory

usr/src/ contains two directories: xrt-2.20.0 and xrt-aws-2.20.0. Line#164 removes xrt-aws-2.20.0, but it is commented out. I uncommented it, package gets build, but I hit this, which I don't know how to resolve:

error: failed to commit transaction (conflicting files)

xrt-npu-git: /lib exists in filesystem (owned by filesystem)

That1Calculator commented on 2025-03-12 22:08 (UTC)

@Glucy2 linux-headers is needed as a dependency whether it's used or not, because it relies on runtime and build-time libraries from there

Glucy2 commented on 2025-03-01 13:50 (UTC)

The linux-headers should not be a dependency as user might not use the default kernel. It should be an optional dependency.

KarthikJay commented on 2024-12-12 22:42 (UTC)

Shouldn't the linux-headers not be a dependency? Or shouldn't https://aur.archlinux.org/packages/linux-mainline-um5606-headers?O=40 be marked as providing it?