diff options
author | John | 2022-09-17 05:14:47 -0700 |
---|---|---|
committer | GitHub | 2022-09-17 14:14:47 +0200 |
commit | 5ff45504793a791d5191eaf6dde4c89c2e7e4734 (patch) | |
tree | 75b9bc62a9d854808ebd609e2842d83f61559e1f | |
parent | 9681194ba04c76ec00ba7a2d0e2afdaf97ece72c (diff) | |
download | aur-5ff45504793a791d5191eaf6dde4c89c2e7e4734.tar.gz |
No more need to patch for gfx803 (#853)
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 | ||||
-rw-r--r-- | enable-gfx800.patch | 16 |
3 files changed, 4 insertions, 31 deletions
@@ -1,7 +1,7 @@ pkgbase = rocm-opencl-runtime pkgdesc = Radeon Open Compute - OpenCL runtime pkgver = 5.2.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime arch = x86_64 license = MIT @@ -16,9 +16,7 @@ pkgbase = rocm-opencl-runtime conflicts = opencl-amdgpu-pro-pal source = rocm-opencl-runtime-5.2.3.tar.gz::https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-5.2.3.tar.gz source = rocm-opencl-runtime-rocclr-5.2.3.tar.gz::https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-5.2.3.tar.gz - source = enable-gfx800.patch sha256sums = 932ea3cd268410010c0830d977a30ef9c14b8c37617d3572a062b5d4595e2b94 sha256sums = 0493c414d4db1af8e1eb30a651d9512044644244488ebb13478c2138a7612998 - sha256sums = b186dd4a604d6e8a2c94ba6569638aaa8066558d764aa0d9cf76f998724ed90a pkgname = rocm-opencl-runtime @@ -4,7 +4,7 @@ pkgname=rocm-opencl-runtime pkgver=5.2.3 -pkgrel=1 +pkgrel=2 pkgdesc='Radeon Open Compute - OpenCL runtime' arch=('x86_64') url='https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime' @@ -15,21 +15,12 @@ provides=('opencl-driver') conflicts=('opencl-amdgpu-pro-pal') _rocclr='https://github.com/ROCm-Developer-Tools/ROCclr' source=("$pkgname-$pkgver.tar.gz::$url/archive/rocm-$pkgver.tar.gz" - "$pkgname-rocclr-$pkgver.tar.gz::$_rocclr/archive/rocm-$pkgver.tar.gz" - "enable-gfx800.patch") + "$pkgname-rocclr-$pkgver.tar.gz::$_rocclr/archive/rocm-$pkgver.tar.gz") sha256sums=('932ea3cd268410010c0830d977a30ef9c14b8c37617d3572a062b5d4595e2b94' - '0493c414d4db1af8e1eb30a651d9512044644244488ebb13478c2138a7612998' - 'b186dd4a604d6e8a2c94ba6569638aaa8066558d764aa0d9cf76f998724ed90a') + '0493c414d4db1af8e1eb30a651d9512044644244488ebb13478c2138a7612998') _dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)" _rocclr_dir="$(basename "$_rocclr")-$(basename "${source[1]}" .tar.gz)" -prepare() { - #From xuhuisheng - #at https://github.com/RadeonOpenCompute/ROCm/issues/1659#issuecomment-1041026624 - cd "$_rocclr_dir" - patch -p1 -i "$srcdir/enable-gfx800.patch" -} - build() { cmake -Wno-dev -B build-rocclr \ -S "$_rocclr_dir" \ diff --git a/enable-gfx800.patch b/enable-gfx800.patch deleted file mode 100644 index 29482340295e..000000000000 --- a/enable-gfx800.patch +++ /dev/null @@ -1,16 +0,0 @@ -#From xuhuisheng -#at https://github.com/RadeonOpenCompute/ROCm/issues/1659#issuecomment-1041026624 - -diff --git a/utils/flags.hpp b/utils/flags.hpp -index 8f0228cc..2eaa47c5 100644 ---- a/utils/flags.hpp -+++ b/utils/flags.hpp -@@ -245,7 +245,7 @@ release(bool, ROC_SYSTEM_SCOPE_SIGNAL, true, \ - "Enable system scope for signals (uses interrupts).") \ - release(bool, ROC_SKIP_COPY_SYNC, false, \ - "Skips copy syncs if runtime can predict the same engine.") \ --release(bool, ROC_ENABLE_PRE_VEGA, false, \ -+release(bool, ROC_ENABLE_PRE_VEGA, true, \ - "Enable support of pre-vega ASICs in ROCm path") \ - release(bool, HIP_FORCE_QUEUE_PROFILING, false, \ - "Force command queue profiling by default") \ |