summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Keßler2021-08-07 16:07:51 +0200
committerTorsten Keßler2021-08-07 16:07:51 +0200
commit1ec97b8593b7a6de0dc85f966569cb32d043294b (patch)
treebec8acb7fc82a09965d15a87caf6c61d540f1c83
parenta8ba86b18e061d4a396fbcc7793760a01df93316 (diff)
downloadaur-1ec97b8593b7a6de0dc85f966569cb32d043294b.tar.gz
upgpkg: miopen-opencl 4.3.0-1
upstream release
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
-rw-r--r--boost-1.72-download.patch11
3 files changed, 11 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89bbdf7448c..640d0712c9a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = miopen-opencl
pkgdesc = AMD's Machine Intelligence Library (OpenCL backend)
- pkgver = 4.2.0
+ pkgver = 4.3.0
pkgrel = 1
url = https://github.com/ROCmSoftwarePlatform/MIOpen
arch = x86_64
@@ -14,9 +14,9 @@ pkgbase = miopen-opencl
depends = llvm-amdgpu
provides = miopen
conflicts = miopen
- source = miopen-opencl-4.2.0.tar.gz::https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-4.2.0.tar.gz
- source = boost-1.72-download.patch
- sha256sums = 8ab02e784c8b3471159794766ed6303c333b33c69dc5186c0930e56504373b7c
- sha256sums = 25fd11b55180801f609f454d0d14c8dd8a3ca65217bcebad7eb8edfbaec67c5d
+ 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
pkgname = miopen-opencl
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"
diff --git a/boost-1.72-download.patch b/boost-1.72-download.patch
deleted file mode 100644
index f87232c2843..00000000000
--- a/boost-1.72-download.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-*** MIOpen-rocm-4.1.0/min-requirements.txt.bak 2021-05-03 11:09:05.668764719 +0200
---- MIOpen-rocm-4.1.0/min-requirements.txt 2021-05-03 11:09:20.831239142 +0200
-***************
-*** 1,3 ****
- sqlite3,https://sqlite.org/2017/sqlite-autoconf-3170000.tar.gz -H sha256:a4e485ad3a16e054765baf6371826b5000beed07e626510896069c0bf013874c -X autotools -DCMAKE_POSITION_INDEPENDENT_CODE=On
-! boost@1.72 -DCMAKE_POSITION_INDEPENDENT_CODE=On --build
- half,https://github.com/pfultz2/half/archive/1.12.0.tar.gz -X header -H sha256:0a08660b68abb176ebc2a0cdf8de46e3182a7f46c66443bb80dbfaaec98cf969 --build
---- 1,3 ----
- sqlite3,https://sqlite.org/2017/sqlite-autoconf-3170000.tar.gz -H sha256:a4e485ad3a16e054765baf6371826b5000beed07e626510896069c0bf013874c -X autotools -DCMAKE_POSITION_INDEPENDENT_CODE=On
-! boost,https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2 -H sha256:59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722 -X boost -DBOOST_WITHOUT_CONTEXT=1 -DBOOST_WITHOUT_COROUTINE=1 -DBOOST_WITHOUT_PYTHON=1
- half,https://github.com/pfultz2/half/archive/1.12.0.tar.gz -X header -H sha256:0a08660b68abb176ebc2a0cdf8de46e3182a7f46c66443bb80dbfaaec98cf969 --build