diff options
author | Torsten Keßler | 2022-12-14 17:04:31 +0100 |
---|---|---|
committer | Torsten Keßler | 2022-12-14 17:08:45 +0100 |
commit | f518e46826b9c39548a542930ef0d3b7cca2e95b (patch) | |
tree | ff3d46839c831ac7383fcf50dbf261a0c4c1cc7c | |
parent | efa728fcdd2c0bc4223f71dfafae25a686dc52a4 (diff) | |
download | aur-f518e46826b9c39548a542930ef0d3b7cca2e95b.tar.gz |
upgpkg: rocm-clang-ocl 5.4.0-1
* Call unit tests in check().
* Set build type to None.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 10 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = rocm-clang-ocl pkgdesc = OpenCL compilation with clang compiler - pkgver = 5.3.0 + pkgver = 5.4.0 pkgrel = 1 url = https://github.com/RadeonOpenCompute/clang-ocl arch = x86_64 @@ -8,7 +8,7 @@ pkgbase = rocm-clang-ocl makedepends = rocm-cmake depends = rocm-llvm depends = rocm-opencl-runtime - source = rocm-clang-ocl-5.3.0.tar.gz::https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-5.3.0.tar.gz - sha256sums = 66b80ba050848ad921496bd894e740e66afad0ba1923b385f01f2eeae97999ad + source = rocm-clang-ocl-5.4.0.tar.gz::https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-5.4.0.tar.gz + sha256sums = 602f8fb1f36587543cc0ee95fd1938f8eeb03de79119101e128150332cc8d89c pkgname = rocm-clang-ocl @@ -2,7 +2,7 @@ # Contributor: acxz <akashpatel2008 at yahoo dot com> # Contributor: Lucas Magalhães <whoisroot@national.shitposting.agency> pkgname=rocm-clang-ocl -pkgver=5.3.0 +pkgver=5.4.0 pkgrel=1 pkgdesc="OpenCL compilation with clang compiler" arch=('x86_64') @@ -11,7 +11,7 @@ license=('MIT') depends=('rocm-llvm' 'rocm-opencl-runtime') makedepends=('rocm-cmake') source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz") -sha256sums=('66b80ba050848ad921496bd894e740e66afad0ba1923b385f01f2eeae97999ad') +sha256sums=('602f8fb1f36587543cc0ee95fd1938f8eeb03de79119101e128150332cc8d89c') _dirname="$(basename "$url")-$(basename ${source[0]} .tar.gz)" build() { @@ -19,12 +19,17 @@ build() { -Wno-dev \ -B build \ -S "$_dirname" \ + -DCMAKE_BUILD_TYPE=None \ -DCLANG_BIN=/opt/rocm/llvm/bin \ -DBITCODE_DIR=/opt/rocm/amdgcn/bitcode \ -DCMAKE_INSTALL_PREFIX=/opt/rocm cmake --build build } +check() { + cmake --build build --target check +} + package() { DESTDIR="$pkgdir" cmake --install build |