summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlysses Rangel Ribeiro2019-06-26 01:14:15 -0300
committerUlysses Rangel Ribeiro2019-06-26 01:14:15 -0300
commit8e5709271a6740790887b8c9686517a026a748bd (patch)
treed567e11995608dec964bfab56b74485e665d010b
parentc54608dadfbf884f30bd05cf1ccaddc95ba95300 (diff)
downloadaur-8e5709271a6740790887b8c9686517a026a748bd.tar.gz
Update to ROCm 2.5.0
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD27
2 files changed, 34 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eeea2579424..29d523a90e0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,35 +1,38 @@
pkgbase = rocm-opencl-runtime
pkgdesc = ROCm OpenCLâ„¢ Compatible Runtime
- pkgver = 2.4.0
+ pkgver = 2.5.0
pkgrel = 1
url = https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime
arch = x86_64
license = MIT
+ makedepends = mesa
makedepends = cmake
makedepends = ninja
makedepends = gcc
makedepends = ocaml-findlib
makedepends = python2-z3
makedepends = gtest
- depends = rocr-runtime>=2.4.0
+ makedepends = git
+ depends = rocr-runtime>=2.5.0
+ depends = opencl-icd-loader
provides = rocm-opencl-runtime
provides = opencl-driver
conflicts = rocm-opencl-git
- source = rocm-opencl-runtime-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-2.4.0.tar.gz
- source = rocm-opencl-driver-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/archive/roc-2.4.0.tar.gz
- source = llvm-roc-ocl-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/llvm/archive/roc-ocl-2.4.0.tar.gz
- source = clang-roc-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/clang/archive/roc-2.4.0.tar.gz
- source = lld-roc-ocl-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/lld/archive/roc-ocl-2.4.0.tar.gz
- source = rocm-device-libs-2.4.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/roc-2.4.0.tar.gz
- source = OpenCL-ICD-Loader-66ecca5dce2c4425a48bdb0cf0de606e4da43ab5.zip::https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/66ecca5dce2c4425a48bdb0cf0de606e4da43ab5.zip
+ source = rocm-opencl-runtime-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-2.5.0.tar.gz
+ source = rocm-opencl-driver-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver/archive/roc-2.5.0.tar.gz
+ source = llvm-roc-ocl-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/llvm/archive/roc-ocl-2.5.0.tar.gz
+ source = clang-roc-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/clang/archive/roc-2.5.0.tar.gz
+ source = lld-roc-ocl-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/lld/archive/roc-ocl-2.5.0.tar.gz
+ source = rocm-device-libs-2.5.0.tar.gz::https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/roc-2.5.0.tar.gz
+ source = OpenCL-ICD-Loader-7433f2acbf5bbc400f26494ff1dc895da6265bef.zip::https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/7433f2acbf5bbc400f26494ff1dc895da6265bef.zip
source = fix_rocm_opencl_build_order.patch
- sha256sums = 5dac0c7661de9914a70720b4082a293d6d22192ada836cc957310dbdeda32bc5
- sha256sums = f55fb74338a0dd19d9af40cb225b5f212326178d854c5b0ed85193f2edceb4bc
- sha256sums = 4e8876444f15b18129dbcca286d3e8b1599f32d5ab4637fc481b6376a394817e
- sha256sums = a9a9f51394573a33bd6713bfeb51720928d51172888d08f6d52fa3fa64d200f4
- sha256sums = 2c40b3aab20d7b31305354711700c595e42d45ff5afada5c7ceb5f8931fbbcb2
- sha256sums = 5e7a45a2b72ccda01da27f3615e88f18ababa79f26b80602b894995c319ce42c
- sha256sums = 788d27432ebcf9154b9585a1de52e707494486454991936ea837b6c1419fca43
+ sha256sums = 7e7a7e761892dec27cf3f922cdd376a4b018f93832ecf8df75304695a03aa51a
+ sha256sums = b590b217dbaf40bac89dff3e56f3dfb0c1a2205117e50e9cc007d01cf3b8e0f4
+ sha256sums = fbb005d13c01020878dbc5546b57cce10bcdbd9b605d3c5a27955819e6c57507
+ sha256sums = 1611d533b670f2bd58ac1dce6cfb2a019ef6abdf119d657042e2a46c35dffe7e
+ sha256sums = a910c565d249965be4eb0f5a00698b77181573271e3ec3f277c73297af9ed160
+ sha256sums = d44b7161f9c3332c36c831119678d99fa9193056bcb79b2f85e1d8a22bece027
+ sha256sums = b21a114e624231d1dfd95038def122b35d0ecbf9bc1c704b8c5aec88c5bf4842
sha256sums = 0f735299810e9e22cd57f5b96a7628a0f399d445a1f3bacefd8b890e84ca372f
pkgname = rocm-opencl-runtime
diff --git a/PKGBUILD b/PKGBUILD
index bc60623f4eb..d3db3ad4058 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Ulysses R Ribeiro <ulyssesrr@gmail.com>
-_opencl_icd_loader_commit="66ecca5dce2c4425a48bdb0cf0de606e4da43ab5"
+_opencl_icd_loader_commit="7433f2acbf5bbc400f26494ff1dc895da6265bef"
pkgname=rocm-opencl-runtime
-pkgver=2.4.0
+pkgver=2.5.0
pkgrel=1
pkgdesc="ROCm OpenCLâ„¢ Compatible Runtime"
arch=('x86_64')
url="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime"
license=('MIT')
groups=()
-depends=("rocr-runtime>=${pkgver}")
-makedepends=(cmake ninja gcc ocaml-findlib python2-z3 gtest)
+depends=("rocr-runtime>=${pkgver}" "opencl-icd-loader")
+makedepends=(mesa cmake ninja gcc ocaml-findlib python2-z3 gtest git)
provides=("${pkgname}" "opencl-driver")
conflicts=("rocm-opencl-git")
replaces=()
@@ -28,13 +28,13 @@ source=(
)
sha256sums=(
- "5dac0c7661de9914a70720b4082a293d6d22192ada836cc957310dbdeda32bc5"
- "f55fb74338a0dd19d9af40cb225b5f212326178d854c5b0ed85193f2edceb4bc"
- "4e8876444f15b18129dbcca286d3e8b1599f32d5ab4637fc481b6376a394817e"
- "a9a9f51394573a33bd6713bfeb51720928d51172888d08f6d52fa3fa64d200f4"
- "2c40b3aab20d7b31305354711700c595e42d45ff5afada5c7ceb5f8931fbbcb2"
- "5e7a45a2b72ccda01da27f3615e88f18ababa79f26b80602b894995c319ce42c"
- "788d27432ebcf9154b9585a1de52e707494486454991936ea837b6c1419fca43"
+ "7e7a7e761892dec27cf3f922cdd376a4b018f93832ecf8df75304695a03aa51a"
+ "b590b217dbaf40bac89dff3e56f3dfb0c1a2205117e50e9cc007d01cf3b8e0f4"
+ "fbb005d13c01020878dbc5546b57cce10bcdbd9b605d3c5a27955819e6c57507"
+ "1611d533b670f2bd58ac1dce6cfb2a019ef6abdf119d657042e2a46c35dffe7e"
+ "a910c565d249965be4eb0f5a00698b77181573271e3ec3f277c73297af9ed160"
+ "d44b7161f9c3332c36c831119678d99fa9193056bcb79b2f85e1d8a22bece027"
+ "b21a114e624231d1dfd95038def122b35d0ecbf9bc1c704b8c5aec88c5bf4842"
"0f735299810e9e22cd57f5b96a7628a0f399d445a1f3bacefd8b890e84ca372f"
)
@@ -115,5 +115,8 @@ package() {
mkdir -p "$pkgdir/etc/ld.so.conf.d/"
echo "/opt/rocm/opencl/lib" > "$pkgdir/etc/ld.so.conf.d/rocm-opencl.conf"
- ln -s $srcdir/"/opt/rocm/opencl/lib/libOpenCL.so.1.2" "$pkgdir/opt/rocm/opencl/lib/libOpenCL.so" # not created automatically by ldconfig
+
+ # Discard AMD's OpenCL ICD Loader
+ # https://wiki.archlinux.org/index.php/GPGPU#OpenCL_ICD_loader_(libOpenCL.so)
+ rm -f $pkgdir/opt/rocm/opencl/lib/x86_64/libOpenCL.so*
}