#!/bin/mkpkg # description: ROCm system info and device enumeration tools # url: https://github.com/ROCm/rocm-systems/tree/develop/projects/rocminfo name=rocm-rocminfo _name=therock version=10.0 release=1 depends=(rocm-rocr-runtime python3) makedeps=(cmake ninja) source=(https://github.com/ROCm/rocm-systems/releases/download/$_name-$version/rocminfo.tar.gz) renames=($name-$version.tar.gz) sha256sums=( "c06c4582145b8453f44cdfe9ba1aa48b3d22f9ad73ea5c07ccfb458a70c63586" ) build() { cmake -S rocminfo -B build -G Ninja -Wno-dev \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_PREFIX_PATH=/usr ninja -C build DESTDIR=$PKG ninja -C build install } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh