pkgbase = rocm-llvm
	pkgver = 6.2.4
	pkgrel = 1
	url = https://rocm.docs.amd.com/en/latest/reference/rocmcc.html
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = riscv64
	makedepends = git
	makedepends = cmake
	makedepends = python
	makedepends = ninja
	makedepends = rocm-core
	makedepends = rocm-cmake
	makedepends = perl
	makedepends = gcc-libs
	makedepends = zlib
	makedepends = zstd
	makedepends = libffi
	makedepends = libedit
	makedepends = ncurses
	makedepends = libxml2
	makedepends = patchelf
	options = !debug
	options = staticlibs
	options = !lto
	source = rocm-llvm::git+https://github.com/ROCm/llvm-project#tag=rocm-6.2.4
	source = llvm-ppc64-elfv2.patch
	source = clang-ppc64-dynamic-linker-path.patch
	source = clang-ppc64-elfv2.patch
	sha256sums = 09cb1afda4d2585b35e12142d4a4a4cab42be6ade7f41be59fd13df86d77ae10
	sha256sums = 8c4e8db0b80b1a86f8cff9aa678b70458503bc8926ecc41e0df953ea14ab3559
	sha256sums = 654b9eafcd20125319b3c319ab6674a940ddef400821c80813c16011ef8b6086
	sha256sums = 8483b3bfaa31bee7a074bc83a1c7b7fec4cc6579836edb2802348b1340df3e41

pkgname = rocm-llvm
	pkgdesc = Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
	license = Apache-2.0 WITH LLVM-exception
	depends = rocm-core
	depends = perl
	depends = gcc-libs
	depends = zlib
	depends = zstd
	depends = libffi
	depends = libedit
	depends = ncurses
	depends = libxml2

pkgname = rocm-device-libs
	pkgdesc = AMD specific device-side language runtime libraries
	license = NCSA
	depends = rocm-core

pkgname = comgr
	pkgdesc = AMDGPU GPU Code Object Manager
	license = NCSA
	depends = glibc
	depends = gcc-libs
	depends = zstd
	depends = zlib
	depends = ncurses
	depends = rocm-core
	depends = rocm-llvm
	depends = rocm-device-libs
