summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Ke├čler2020-06-04 13:45:45 +0200
committerGitHub2020-06-04 07:45:45 -0400
commit3081ee1a82cba5c7ab21c777f61ecf47a89324bb (patch)
treec4e94b28f8e32fd8f8699ee2b5ef76a42d26c246
parente595b6589418213ff17564d100575bd3cbad5f48 (diff)
downloadaur-3081ee1a82cba5c7ab21c777f61ecf47a89324bb.tar.gz
[llvm-amdgpu] Update to 3.5.0 (#184)
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5a511c684a..50653111711 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = llvm-amdgpu
pkgdesc = Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
- pkgver = 3.3.0
- pkgrel = 2
+ pkgver = 3.5.0
+ pkgrel = 1
url = https://github.com/RadeonOpenCompute/llvm-project
arch = x86_64
license = custom:Apache 2.0 with LLVM Exception
makedepends = cmake
makedepends = python
depends = z3
- source = https://github.com/RadeonOpenCompute/llvm-project/archive/rocm-ocl-3.3.0.tar.gz
- sha256sums = a2bef7042e8e2f2cd8548cb246b88322e1c77188839983dcac8312d56f544dc8
+ source = llvm-amdgpu-3.5.0.tar.gz::https://github.com/RadeonOpenCompute/llvm-project/archive/rocm-3.5.0.tar.gz
+ sha256sums = 4878fa85473b24d88edcc89938441edc85d2e8a785e567b7bd7ce274ecc2fd9c
pkgname = llvm-amdgpu
diff --git a/PKGBUILD b/PKGBUILD
index 4e4ff687ae5..1dd45cc61fd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
pkgname=llvm-amdgpu
pkgdesc='Radeon Open Compute - LLVM toolchain (llvm, clang, lld)'
-pkgver=3.3.0
-pkgrel=2
+pkgver=3.5.0
+pkgrel=1
arch=('x86_64')
url='https://github.com/RadeonOpenCompute/llvm-project'
license=('custom:Apache 2.0 with LLVM Exception')
depends=(z3)
makedepends=(cmake python)
-source=("$url/archive/rocm-ocl-$pkgver.tar.gz")
-sha256sums=('a2bef7042e8e2f2cd8548cb246b88322e1c77188839983dcac8312d56f544dc8')
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
+sha256sums=('4878fa85473b24d88edcc89938441edc85d2e8a785e567b7bd7ce274ecc2fd9c')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
build() {
@@ -24,8 +24,7 @@ build() {
THREADS="$NPROC"
fi
- cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX='/opt/rocm/llvm' \
+ cmake -DCMAKE_INSTALL_PREFIX='/opt/rocm/llvm' \
-DLLVM_HOST_TRIPLE=$CHOST \
-DLLVM_BUILD_UTILS=ON \
-DLLVM_ENABLE_BINDINGS=OFF \