Last active
August 31, 2023 18:01
-
-
Save jclds139/0bb46c233b352a4f9886c5fa4d7e8d72 to your computer and use it in GitHub Desktop.
aocl-utils PKGBUILD, not `-bin` version
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
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