pkgbase = hsa-rocr
	pkgdesc = HSA Runtime API and runtime for ROCm
	pkgver = 6.2.4
	pkgrel = 1
	url = https://github.com/ROCm/ROCR-Runtime
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = riscv64
	license = NCSA
	makedepends = cmake
	makedepends = rocm-llvm
	makedepends = xxd
	depends = rocm-core
	depends = glibc
	depends = gcc-libs
	depends = libelf
	depends = libdrm
	depends = hsakmt-roct
	depends = rocm-device-libs
	options = !debug
	options = !lto
	source = hsa-rocr-6.2.4.tar.gz::https://github.com/ROCm/ROCR-Runtime/archive/rocm-6.2.4.tar.gz
	source = https://raw.githubusercontent.com/loongarch-moe/rocm-loongarch/refs/heads/rocm-6.2.x/stage2/3.rocm-rocr-runtime/rocr-unsupport.patch
	sha256sums = b7aa0055855398d1228c39a6f4feb7d7be921af4f43d82855faf0b531394bb9b
	sha256sums = 523d7f93daca6e7272578ff0fced94a79421fef0ccd7f202425881543d4bcb56

pkgname = hsa-rocr
