[arch-commits] Commit in magma/repos (3 files)

Lukas Fleischer lfleischer at archlinux.org
Thu Dec 12 03:10:19 UTC 2019


    Date: Thursday, December 12, 2019 @ 03:10:18
  Author: lfleischer
Revision: 537142

db-move: moved magma from [community-staging] to [community-testing] (x86_64)

Added:
  magma/repos/community-testing-x86_64/
  magma/repos/community-testing-x86_64/PKGBUILD
    (from rev 537141, magma/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  magma/repos/community-staging-x86_64/

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: magma/repos/community-testing-x86_64/PKGBUILD (from rev 537141, magma/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-12-12 03:10:18 UTC (rev 537142)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: bartus <arch-user-repoᘓbartus.33mail.com>
+# Contributor: pingplug <pingplug at foxmail.com>
+# Contributor: cornholio <vigo.the.unholy.carpathian at gmail.com>
+
+pkgname=magma
+pkgver=2.5.2
+pkgrel=3
+pkgdesc="Matrix Algebra on GPU and Multicore Architectures"
+arch=('x86_64')
+url="https://icl.cs.utk.edu/magma/"
+license=('custom')
+depends=('blas' 'lapack' 'cuda')
+makedepends=('gcc-fortran' 'cmake')
+optdepends=('python2: for examples and tests')
+source=("http://icl.cs.utk.edu/projectsfiles/${pkgname}/downloads/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('065feb85558f9dd6f4cc4db36ac633a3f787827fc832d0b578a049a43a195620')
+
+build() {
+  cd "${srcdir}/magma-${pkgver}"
+
+  mkdir -p build
+  cd build
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DGPU_TARGET="sm_30 sm_32 sm_35 sm_37 sm_50 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75"
+  make
+}
+
+package() {
+  cd "${srcdir}"/magma-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+
+  mkdir -p ${pkgdir}/usr/share/magma/example
+  cp -r ${srcdir}/magma-${pkgver}/example/* ${pkgdir}/usr/share/magma/example/
+  mkdir -p ${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:



More information about the arch-commits mailing list