Date: Monday, November 14, 2022 @ 04:40:30
  Author: svenstaro
Revision: 1347460

archrelease: copy trunk to community-x86_64

Added:
  magma/repos/community-x86_64/PKGBUILD
    (from rev 1347459, magma/trunk/PKGBUILD)
  magma/repos/community-x86_64/add_cuda_archs.patch
    (from rev 1347459, magma/trunk/add_cuda_archs.patch)
Deleted:
  magma/repos/community-x86_64/PKGBUILD
  magma/repos/community-x86_64/add_cuda_archs.patch

----------------------+
 PKGBUILD             |  112 ++++++++++++++++++++++++-------------------------
 add_cuda_archs.patch |   90 +++++++++++++++++++--------------------
 2 files changed, 101 insertions(+), 101 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-14 04:40:20 UTC (rev 1347459)
+++ PKGBUILD    2022-11-14 04:40:30 UTC (rev 1347460)
@@ -1,56 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: bartus <arch-user-repoᘓbartus.33mail.com>
-# Contributor: pingplug <[email protected]>
-# Contributor: cornholio <[email protected]>
-
-pkgname=magma
-pkgver=2.6.2
-pkgrel=3
-pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
-arch=('x86_64')
-url="https://icl.utk.edu/magma/";
-license=('custom')
-depends=('blas' 'lapack' 'cuda')
-makedepends=('gcc11-fortran' 'cmake' 'ninja')
-optdepends=('python: for examples and tests'
-            'gcc11-fortran: Fortran interface')
-source=("${pkgname}-${pkgver}.tar.gz::https://icl.utk.edu/projectsfiles/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz";
-        'add_cuda_archs.patch')
-sha256sums=('75b554dab00903e2d10b972c913e50e7f88cbc62f3ae432b5a086c7e4eda0a71'
-            '1ed3706a65a124ecef71012273687307aac70bfc80bc99a978002dfb0ee000cc')
-options=(!lto)
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-
-  patch -Np1 -i "${srcdir}/add_cuda_archs.patch"
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-
-  CC=/usr/bin/gcc-11 \
-  CXX=/usr/bin/g++-11 \
-  FC=/usr/bin/gfortran-11 \
-  cmake \
-    -Bbuild \
-    -GNinja \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_SHARED_LIBS=ON \
-    -DGPU_TARGET="sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 sm_80 sm_86 
sm_87 sm_89 sm_90"
-  ninja -C build
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  DESTDIR="${pkgdir}" ninja -Cbuild install
-
-  install -d "${pkgdir}"/usr/share/magma/example
-  cp -r "${srcdir}"/magma-${pkgver}/example/* 
"${pkgdir}"/usr/share/magma/example/
-  install -d "${pkgdir}"/usr/share/magma/testing
-  cp -r "${srcdir}"/magma-${pkgver}/testing/* 
"${pkgdir}"/usr/share/magma/testing/
-  install -Dm644 "${srcdir}"/magma-${pkgver}/COPYRIGHT 
"${pkgdir}"/usr/share/licenses/magma/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: magma/repos/community-x86_64/PKGBUILD (from rev 1347459, 
magma/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-14 04:40:30 UTC (rev 1347460)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: bartus <arch-user-repoᘓbartus.33mail.com>
+# Contributor: pingplug <[email protected]>
+# Contributor: cornholio <[email protected]>
+
+pkgname=magma
+pkgver=2.7.0
+pkgrel=1
+pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
+arch=('x86_64')
+url="https://icl.utk.edu/magma/";
+license=('custom')
+depends=('blas' 'lapack' 'cuda')
+makedepends=('gcc11-fortran' 'cmake' 'ninja')
+optdepends=('python: for examples and tests'
+            'gcc11-fortran: Fortran interface')
+source=("${pkgname}-${pkgver}.tar.gz::https://icl.utk.edu/projectsfiles/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz";
+        'add_cuda_archs.patch')
+sha256sums=('fda1cbc4607e77cacd8feb1c0f633c5826ba200a018f647f1c5436975b39fd18'
+            '1ed3706a65a124ecef71012273687307aac70bfc80bc99a978002dfb0ee000cc')
+options=(!lto)
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  patch -Np1 -i "${srcdir}/add_cuda_archs.patch"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  CC=/usr/bin/gcc-11 \
+  CXX=/usr/bin/g++-11 \
+  FC=/usr/bin/gfortran-11 \
+  cmake \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DGPU_TARGET="sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 sm_80 sm_86 
sm_87 sm_89 sm_90"
+  ninja -C build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  DESTDIR="${pkgdir}" ninja -Cbuild install
+
+  install -d "${pkgdir}"/usr/share/magma/example
+  cp -r "${srcdir}"/magma-${pkgver}/example/* 
"${pkgdir}"/usr/share/magma/example/
+  install -d "${pkgdir}"/usr/share/magma/testing
+  cp -r "${srcdir}"/magma-${pkgver}/testing/* 
"${pkgdir}"/usr/share/magma/testing/
+  install -Dm644 "${srcdir}"/magma-${pkgver}/COPYRIGHT 
"${pkgdir}"/usr/share/licenses/magma/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: add_cuda_archs.patch
===================================================================
--- add_cuda_archs.patch        2022-11-14 04:40:20 UTC (rev 1347459)
+++ add_cuda_archs.patch        2022-11-14 04:40:30 UTC (rev 1347460)
@@ -1,45 +0,0 @@
---- magma-2.6.2lol/CMakeLists.txt      2022-10-06 07:08:50.732278629 +0200
-+++ magma-2.6.2/CMakeLists.txt 2022-10-06 07:10:36.348650499 +0200
-@@ -294,6 +294,42 @@
-         message( STATUS "    compile for CUDA arch 8.0 (Ampere)" )
-     endif()
- 
-+    if (GPU_TARGET MATCHES sm_86)
-+        if (NOT MIN_ARCH)
-+            set( MIN_ARCH 860 )
-+        endif()
-+        set( NV_SM ${NV_SM} -gencode arch=compute_86,code=sm_86 )
-+        set( NV_COMP        -gencode arch=compute_86,code=compute_86 )
-+        message( STATUS "    compile for CUDA arch 8.6" )
-+    endif()
-+
-+    if (GPU_TARGET MATCHES sm_87)
-+        if (NOT MIN_ARCH)
-+            set( MIN_ARCH 870 )
-+        endif()
-+        set( NV_SM ${NV_SM} -gencode arch=compute_87,code=sm_87 )
-+        set( NV_COMP        -gencode arch=compute_87,code=compute_87 )
-+        message( STATUS "    compile for CUDA arch 8.7" )
-+    endif()
-+
-+    if (GPU_TARGET MATCHES sm_89)
-+        if (NOT MIN_ARCH)
-+            set( MIN_ARCH 890 )
-+        endif()
-+        set( NV_SM ${NV_SM} -gencode arch=compute_89,code=sm_89 )
-+        set( NV_COMP        -gencode arch=compute_89,code=compute_89 )
-+        message( STATUS "    compile for CUDA arch 8.9" )
-+    endif()
-+
-+    if (GPU_TARGET MATCHES sm_90)
-+        if (NOT MIN_ARCH)
-+            set( MIN_ARCH 900 )
-+        endif()
-+        set( NV_SM ${NV_SM} -gencode arch=compute_90,code=sm_90 )
-+        set( NV_COMP        -gencode arch=compute_90,code=compute_90 )
-+        message( STATUS "    compile for CUDA arch 9.0" )
-+    endif()
-+
-     if (NOT MIN_ARCH)
-         message( FATAL_ERROR "GPU_TARGET must contain one or more of Fermi, 
Kepler, Maxwell, Pascal, Volta, Turing, Ampere, or valid sm_[0-9][0-9]" )
-     endif()

Copied: magma/repos/community-x86_64/add_cuda_archs.patch (from rev 1347459, 
magma/trunk/add_cuda_archs.patch)
===================================================================
--- add_cuda_archs.patch                                (rev 0)
+++ add_cuda_archs.patch        2022-11-14 04:40:30 UTC (rev 1347460)
@@ -0,0 +1,45 @@
+--- magma-2.6.2lol/CMakeLists.txt      2022-10-06 07:08:50.732278629 +0200
++++ magma-2.6.2/CMakeLists.txt 2022-10-06 07:10:36.348650499 +0200
+@@ -294,6 +294,42 @@
+         message( STATUS "    compile for CUDA arch 8.0 (Ampere)" )
+     endif()
+ 
++    if (GPU_TARGET MATCHES sm_86)
++        if (NOT MIN_ARCH)
++            set( MIN_ARCH 860 )
++        endif()
++        set( NV_SM ${NV_SM} -gencode arch=compute_86,code=sm_86 )
++        set( NV_COMP        -gencode arch=compute_86,code=compute_86 )
++        message( STATUS "    compile for CUDA arch 8.6" )
++    endif()
++
++    if (GPU_TARGET MATCHES sm_87)
++        if (NOT MIN_ARCH)
++            set( MIN_ARCH 870 )
++        endif()
++        set( NV_SM ${NV_SM} -gencode arch=compute_87,code=sm_87 )
++        set( NV_COMP        -gencode arch=compute_87,code=compute_87 )
++        message( STATUS "    compile for CUDA arch 8.7" )
++    endif()
++
++    if (GPU_TARGET MATCHES sm_89)
++        if (NOT MIN_ARCH)
++            set( MIN_ARCH 890 )
++        endif()
++        set( NV_SM ${NV_SM} -gencode arch=compute_89,code=sm_89 )
++        set( NV_COMP        -gencode arch=compute_89,code=compute_89 )
++        message( STATUS "    compile for CUDA arch 8.9" )
++    endif()
++
++    if (GPU_TARGET MATCHES sm_90)
++        if (NOT MIN_ARCH)
++            set( MIN_ARCH 900 )
++        endif()
++        set( NV_SM ${NV_SM} -gencode arch=compute_90,code=sm_90 )
++        set( NV_COMP        -gencode arch=compute_90,code=compute_90 )
++        message( STATUS "    compile for CUDA arch 9.0" )
++    endif()
++
+     if (NOT MIN_ARCH)
+         message( FATAL_ERROR "GPU_TARGET must contain one or more of Fermi, 
Kepler, Maxwell, Pascal, Volta, Turing, Ampere, or valid sm_[0-9][0-9]" )
+     endif()

Reply via email to