rocm-arch

A collection of Arch Linux PKGBUILDS for the ROCm platform

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
# Maintainer: Torsten Keßler <t dot kessler at posteo dot de>

pkgname=rocm-core
pkgver=4.5.0
pkgrel=1
pkgdesc='AMD ROCm core package'
arch=('x86_64')
url='https://rocmdocs.amd.com/en/latest/'
license=()
depends=()
source=()
sha256sums=()

package() {
  install -Dm644 /dev/stdin "$pkgdir/opt/rocm/include/rocm/rocm_version.h" <<-EOF
#define ROCM_VERSION_MAJOR   4
#define ROCM_VERSION_MINOR   5
/* #undef ROCM_VERSION_PATCH */
EOF
}