Created
August 20, 2019 09:52
Revisions
-
rigred created this gist
Aug 20, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # Original build: fermyon <antifermion@protonmail.com> # Maintainer: Jakub Okoński <jakub@okonski.org> # Maintainer: Rigo Reddig <rigo.reddig@gmail.com> 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 }