summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d9732924cc1..176f50cd2ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = comgr
pkgdesc = Radeon Open Compute - compiler support
pkgver = 3.5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/RadeonOpenCompute/ROCm-CompilerSupport
arch = x86_64
license = custom:NCSAOSL
makedepends = cmake
makedepends = rocm-cmake
- makedepends = rocm-device-libs
- makedepends = llvm-amdgpu
- depends = z3
depends = zlib
+ depends = llvm-amdgpu
+ depends = rocm-device-libs
source = comgr-3.5.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-3.5.0.tar.gz
sha256sums = 25c963b46a82d76d55b2302e0e18aac8175362656a465549999ad13d07b689b9
diff --git a/PKGBUILD b/PKGBUILD
index 528b33dfa5f..f7b59649c7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,26 @@
pkgname=comgr
pkgdesc='Radeon Open Compute - compiler support'
pkgver=3.5.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://github.com/RadeonOpenCompute/ROCm-CompilerSupport'
license=('custom:NCSAOSL')
-depends=(z3 zlib)
-makedepends=(cmake rocm-cmake rocm-device-libs llvm-amdgpu)
+depends=(zlib llvm-amdgpu rocm-device-libs)
+makedepends=(cmake rocm-cmake)
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
sha256sums=('25c963b46a82d76d55b2302e0e18aac8175362656a465549999ad13d07b689b9')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
build() {
- cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm \
+ cmake -B build -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/opt/rocm \
-DCMAKE_PREFIX_PATH="/opt/rocm/llvm;/opt/rocm" \
"$_dirname/lib/comgr"
- make
+ make -C build
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" make -C build install
install -Dm644 "$_dirname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}