[arch-commits] Commit in linbox/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Fri Aug 17 20:02:11 UTC 2018
Date: Friday, August 17, 2018 @ 20:02:10
Author: arojas
Revision: 372558
archrelease: copy trunk to community-staging-x86_64
Added:
linbox/repos/community-staging-x86_64/
linbox/repos/community-staging-x86_64/PKGBUILD
(from rev 372557, linbox/trunk/PKGBUILD)
linbox/repos/community-staging-x86_64/linbox-gcc8.patch
(from rev 372557, linbox/trunk/linbox-gcc8.patch)
-------------------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
linbox-gcc8.patch | 12 ++++++++++++
2 files changed, 49 insertions(+)
Copied: linbox/repos/community-staging-x86_64/PKGBUILD (from rev 372557, linbox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-17 20:02:10 UTC (rev 372558)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas < nqn76sw at gmail.com >
+
+pkgname=linbox
+pkgver=1.5.2
+pkgrel=10
+pkgdesc="A template library for exact, high-performance linear algebra computation with dense, sparse, and structured matrices over the integers and over finite fields"
+arch=(x86_64)
+url="http://linalg.org/"
+license=(LGPL)
+depends=(m4rie flint fplll iml fflas-ffpack tinyxml2)
+source=("https://github.com/linbox-team/linbox/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" linbox-gcc8.patch)
+sha256sums=('7b69ab617b15ca6684b29d08531ed8899cd4d07ec75799e5d624c4c0a60dc6b2'
+ 'f0977ba881fae0c6a1d21e61367dbd7c2cc582362bab753398a731c80714bc66')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../linbox-gcc8.patch # Fix build with GCC 8
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-sage --with-fplll=/usr \
+ --disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42 --disable-avx --disable-avx2 --disable-fma
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+# make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: linbox/repos/community-staging-x86_64/linbox-gcc8.patch (from rev 372557, linbox/trunk/linbox-gcc8.patch)
===================================================================
--- community-staging-x86_64/linbox-gcc8.patch (rev 0)
+++ community-staging-x86_64/linbox-gcc8.patch 2018-08-17 20:02:10 UTC (rev 372558)
@@ -0,0 +1,12 @@
+--- linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h.orig 2018-05-06 10:35:33.852181382 +0000
++++ linbox-1.5.2/linbox/matrix/densematrix/blas-transposed-matrix.h 2018-05-06 10:35:59.598847558 +0000
+@@ -67,9 +67,6 @@
+ /*! TransposedBlasMatrix.
+ * NO DOC
+ */
+-#if !defined(__INTEL_COMPILER) && !defined(__CUDACC__) & !defined(__clang__)
+- template <>
+-#endif
+ template< class Matrix >
+ class TransposedBlasMatrix< TransposedBlasMatrix< Matrix > > : public Matrix {
+
More information about the arch-commits
mailing list