[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ROCm 6.4 gpu targets



Hi Tom,

On 2025-07-16 14:16, Rix, Tom wrote:
> Perhaps this is a known issue, related to the gpu set that the stack is built for, the auto check rule will fire when /dev/kfd is detected
> Like https://salsa.debian.org/rocm-team/hipfft/-/blob/debian/unstable/debian/rules#L31
> With all of the APU's out there, like with my build machine, a gfx1103, this rule fires but without having built for the gfx1103 target, this check is meaningless. Is there a way to improve the logic to either opt in or check the running matches the building gpu? On fedora we use an opt in for testing while building.

As per that code is guarded, you can set DEB_BUILD_OPTIONS=nocheck to
opt-out. This approach is standardized by Policy § 4.9.1:

https://www.debian.org/doc/debian-policy/ch-source.html#debian-rules-and-deb-build-options

Historically, this was (the only way) how tests were run before we had
autopkgtests.

We could make the code smarter by checking for a supported arch, but
that would tacitly accept the situation of an unsupported arch. Better
to just enable support.

Best,
Christian


Reply to: