Dropping nvidia from TRITON_CODEGEN_BACKENDS does not build the NVGPU/NVWS
dialect TableGen output under third_party/nvidia, but Triton core hard-
depends on it (TritonGPUTransforms via Passes.h, TritonInstrumentToLLVM),
so the wheel build failed with
fatal error: 'nvidia/include/Dialect/NVGPU/IR/Dialect.h.inc' file not found
fatal error: 'nvidia/include/Dialect/NVWS/IR/Dialect.h.inc' file not found
Keep the nvidia C++ libraries in the cmake build (they only need the
in-tree LLVM NVPTX target, no CUDA SDK, and stay offline) while still
packaging only the AMD Python backend, so neither ptxas nor the
proprietary libdevice.10.bc lands in the RPM.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>