summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 7 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 640d0712c9a..ee6c361f955 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = miopen-opencl
pkgdesc = AMD's Machine Intelligence Library (OpenCL backend)
- pkgver = 4.3.0
+ pkgver = 4.5.0
pkgrel = 1
url = https://github.com/ROCmSoftwarePlatform/MIOpen
arch = x86_64
@@ -14,9 +14,7 @@ pkgbase = miopen-opencl
depends = llvm-amdgpu
provides = miopen
conflicts = miopen
- source = miopen-opencl-4.3.0.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-4.3.0.tar.gz
- source = add_limits_header.patch::https://patch-diff.githubusercontent.com/raw/ROCmSoftwarePlatform/MIOpen/pull/1084.patch
- sha256sums = 034445470cfd44480a1d9854f9fdfe92cfb8efa3f002dee508eb9585e338486d
- sha256sums = ac5491425c13f9c1a98d49ba76d8552738a54477c7d303ee9ff29e27eebb0c8b
+ source = miopen-opencl-4.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-4.5.0.tar.gz
+ sha256sums = be2f5ce962e15e62d427978422498c0ddf821b91fd40777a1ba915a2794d6fda
pkgname = miopen-opencl
diff --git a/PKGBUILD b/PKGBUILD
index c6e83cd6af8..6040a13699c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: acxz <akashpatel at yahoo dot com>
pkgname=miopen-opencl
-pkgver=4.3.0
+pkgver=4.5.0
pkgrel=1
pkgdesc="AMD's Machine Intelligence Library (OpenCL backend)"
arch=('x86_64')
@@ -12,22 +12,15 @@ depends=('ocl-icd' 'rocblas' 'llvm-amdgpu')
makedepends=('opencl-headers' 'rocm-cmake' 'cmake' 'miopengemm')
provides=('miopen')
conflicts=('miopen')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
- 'add_limits_header.patch::https://patch-diff.githubusercontent.com/raw/ROCmSoftwarePlatform/MIOpen/pull/1084.patch')
-sha256sums=('034445470cfd44480a1d9854f9fdfe92cfb8efa3f002dee508eb9585e338486d'
- 'ac5491425c13f9c1a98d49ba76d8552738a54477c7d303ee9ff29e27eebb0c8b')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
+sha256sums=('be2f5ce962e15e62d427978422498c0ddf821b91fd40777a1ba915a2794d6fda')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
-prepare() {
- cd "$_dirname"
- patch -Np1 -i "$srcdir/add_limits_header.patch"
-}
-
build() {
cd "$_dirname"
# -fcf-protection is not supported by HIP, see
- # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.3.x/docs/markdown/clang_options.md
+ # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.5.x/docs/markdown/clang_options.md
# -fPIC fixes linking errors with boost.
export CXX=/opt/rocm/llvm/bin/clang++
export CXXFLAGS="${CXXFLAGS} -fcf-protection=none -fPIC"