Skip to content

Instantly share code, notes, and snippets.

@rigred
Created August 20, 2019 09:52
Show Gist options
  • Save rigred/caa4347db8eca13d6f1aded8ccf92e46 to your computer and use it in GitHub Desktop.
Save rigred/caa4347db8eca13d6f1aded8ccf92e46 to your computer and use it in GitHub Desktop.
PKGBUILD rocm-cmake (release)
# Original build: fermyon <[email protected]>
# Maintainer: Jakub Okoński <[email protected]>
# Maintainer: Rigo Reddig <[email protected]>
pkgname=rocm-cmake
pkgver=2.7.0
pkgrel=1
pkgdesc="cmake modules for common build tasks needed for the ROCM software stack"
arch=(x86_64)
url="https://github.com/RadeonOpenCompute/rocm-cmake"
license=(MIT)
makedepends=(git cmake)
source=("$pkgname-$pkgver.tar.gz::https://github.com/RadeonOpenCompute/rocm-cmake/archive/roc-$pkgver.tar.gz")
md5sums=('25f5e6bc0d190dd120653b873eded8d1')
build() {
cd "$srcdir/$pkgname-roc-$pkgver"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/opt/rocm" ..
}
package() {
cd "$srcdir/$pkgname-roc-$pkgver/build"
cmake --build . --target install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment