Date: Sunday, May 6, 2018 @ 10:44:48
  Author: arojas
Revision: 319012

archrelease: copy trunk to community-x86_64

Added:
  linbox/repos/community-x86_64/PKGBUILD
    (from rev 319011, linbox/trunk/PKGBUILD)
  linbox/repos/community-x86_64/linbox-gcc8.patch
    (from rev 319011, linbox/trunk/linbox-gcc8.patch)

-------------------+
 PKGBUILD          |   37 +++++++++++++++++++++++++++++++++++++
 linbox-gcc8.patch |   12 ++++++++++++
 2 files changed, 49 insertions(+)

Copied: linbox/repos/community-x86_64/PKGBUILD (from rev 319011, 
linbox/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-05-06 10:44:48 UTC (rev 319012)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas < [email protected] >
+
+pkgname=linbox
+pkgver=1.5.2
+pkgrel=5
+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-x86_64/linbox-gcc8.patch (from rev 319011, 
linbox/trunk/linbox-gcc8.patch)
===================================================================
--- linbox-gcc8.patch                           (rev 0)
+++ linbox-gcc8.patch   2018-05-06 10:44:48 UTC (rev 319012)
@@ -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 {
+ 

Reply via email to