Created
August 20, 2019 09:52
-
-
Save rigred/caa4347db8eca13d6f1aded8ccf92e46 to your computer and use it in GitHub Desktop.
PKGBUILD rocm-cmake (release)
This file contains 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 characters
# 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