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

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?