Skip to content

Commit

Permalink
upgpatch: magma 2.8.0-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeonacid committed Feb 2, 2025
1 parent 5a2c37b commit 71e4631
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions magma/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git PKGBUILD PKGBUILD
index d83692c..680ec49 100644
index b5c89f3..c0fbfe0 100644
--- PKGBUILD
+++ PKGBUILD
@@ -6,7 +6,7 @@
Expand All @@ -9,29 +9,31 @@ index d83692c..680ec49 100644
-pkgname=(magma-cuda magma-hip)
+pkgname=(magma-hip)
pkgver=2.8.0
pkgrel=2
pkgrel=3
_pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
@@ -15,7 +15,6 @@ url="https://icl.utk.edu/magma/"
@@ -15,7 +15,6 @@
license=('BSD-3-Clause')
depends=('blas' 'lapack')
makedepends=('git' 'cmake' 'ninja' 'python' 'gcc-fortran'
- 'cuda'
'rocm-core' 'hip-runtime-amd' 'hipblas' 'hipsparse')
optdepends=('python: for examples and tests'
'gcc-fortran: Fortran interface')
@@ -40,11 +39,6 @@ prepare() {
cp -r "${_pkgname}" "${_pkgname}-${pkgver}-cuda"
@@ -50,13 +49,8 @@

cd "${srcdir}"

- cp -r "${_pkgname}" "${_pkgname}-${pkgver}-cuda"
cp -r "${_pkgname}" "${_pkgname}-${pkgver}-hip"

- cd "${_pkgname}-${pkgver}-cuda"
- echo -e "BACKEND = cuda\nFORT = true\nGPU_TARGET=$(_valid_sm)" > make.inc
- make generate
- patch -Np1 -i "${srcdir}/add_cuda_archs.patch"
-
cd "${srcdir}"

cd "${_pkgname}-${pkgver}-hip"
@@ -54,18 +48,6 @@ prepare() {
@@ -65,18 +59,6 @@
}

build() {
Expand Down

0 comments on commit 71e4631

Please sign in to comment.