summaryrefslogtreecommitdiff
path: root/devel/rocm-cmake/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /devel/rocm-cmake/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'devel/rocm-cmake/MAKEPKG')
-rw-r--r--devel/rocm-cmake/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/rocm-cmake/MAKEPKG b/devel/rocm-cmake/MAKEPKG
new file mode 100644
index 0000000..ed3166b
--- /dev/null
+++ b/devel/rocm-cmake/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: CMake modules for building ROCm libraries (ROCmCMakeBuildTools)
+# url: https://github.com/ROCm/rocm-cmake
+
+name=rocm-cmake
+_name=therock
+version=10.0
+release=1
+depends=(cmake)
+makedeps=(ninja)
+source=(https://github.com/ROCm/rocm-cmake/archive/refs/tags/$_name-$version.tar.gz)
+renames=($name-$version.tar.gz)
+
+sha256sums=(
+ "f832a52ead9788c9cc6d40e2fb84818c3e8e82b06079f26623a719cd891efd61"
+)
+
+build() {
+ cmake -S rocm-cmake-$_name-$version -B build -G Ninja -Wno-dev \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=OFF
+
+ ninja -C build
+ DESTDIR=$PKG ninja -C build install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh