Skip to content

Instantly share code, notes, and snippets.

@jclds139
Last active August 31, 2023 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jclds139/0bb46c233b352a4f9886c5fa4d7e8d72 to your computer and use it in GitHub Desktop.
Save jclds139/0bb46c233b352a4f9886c5fa4d7e8d72 to your computer and use it in GitHub Desktop.
aocl-utils PKGBUILD, not `-bin` version
pkgname=aocl-utils
pkgver=4.1
pkgrel=2
pkgdesc="AOCL-Utils provides a uniform interface to all the AOCL libraries to access the CPU features for AMD CPUs."
arch=('x86_64')
url="https://github.com/amd/aocl-utils"
license=('BSD')
depends=()
makedepends=('cmake')
source=("${pkgname}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('a2f271f5eef07da366dae421af3c89286ebb6239047a31a46451758d4a06bc85')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None
cd build
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR=${pkgdir} install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment