summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9e2357b23d7..c6e83cd6af8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: acxz <akashpatel at yahoo dot com>
pkgname=miopen-opencl
-pkgver=4.2.0
+pkgver=4.3.0
pkgrel=1
pkgdesc="AMD's Machine Intelligence Library (OpenCL backend)"
arch=('x86_64')
@@ -13,21 +13,21 @@ makedepends=('opencl-headers' 'rocm-cmake' 'cmake' 'miopengemm')
provides=('miopen')
conflicts=('miopen')
source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz"
- 'boost-1.72-download.patch')
-sha256sums=('8ab02e784c8b3471159794766ed6303c333b33c69dc5186c0930e56504373b7c'
- '25fd11b55180801f609f454d0d14c8dd8a3ca65217bcebad7eb8edfbaec67c5d')
+ 'add_limits_header.patch::https://patch-diff.githubusercontent.com/raw/ROCmSoftwarePlatform/MIOpen/pull/1084.patch')
+sha256sums=('034445470cfd44480a1d9854f9fdfe92cfb8efa3f002dee508eb9585e338486d'
+ 'ac5491425c13f9c1a98d49ba76d8552738a54477c7d303ee9ff29e27eebb0c8b')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
prepare() {
cd "$_dirname"
- patch -Np1 -i "$srcdir/boost-1.72-download.patch"
+ 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.2.x/docs/markdown/clang_options.md
+ # https://github.com/ROCm-Developer-Tools/HIP/blob/rocm-4.3.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"