summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-03-15 19:11:50 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-03-15 19:11:50 +0000
commit39f3ca2aedc96a30f2d4886583bdfc77a8334caa (patch)
tree9b024469df7fa3066be5a7b249eb5bc5bc3cb88b /sci-libs/amd
parentCorrect dependency brackets, so amd64 does not pull in OpenMotif; stick amd64... (diff)
downloadgentoo-2-39f3ca2aedc96a30f2d4886583bdfc77a8334caa.tar.gz
gentoo-2-39f3ca2aedc96a30f2d4886583bdfc77a8334caa.tar.bz2
gentoo-2-39f3ca2aedc96a30f2d4886583bdfc77a8334caa.zip
added patch for test
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/amd')
-rw-r--r--sci-libs/amd/ChangeLog6
-rw-r--r--sci-libs/amd/amd-2.2.0.ebuild3
-rw-r--r--sci-libs/amd/files/amd-2.2.0-tests.patch48
3 files changed, 55 insertions, 2 deletions
diff --git a/sci-libs/amd/ChangeLog b/sci-libs/amd/ChangeLog
index 69b5409fffee..28cab5e5833f 100644
--- a/sci-libs/amd/ChangeLog
+++ b/sci-libs/amd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/amd
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/ChangeLog,v 1.4 2008/03/03 18:55:33 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/ChangeLog,v 1.5 2008/03/15 19:11:50 bicatali Exp $
+
+ 15 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/amd-2.2.0-tests.patch, amd-2.2.0.ebuild:
+ Added patch for tests
03 Mar 2008; Daniel Drake <dsd@gentoo.org> amd-2.0.4.ebuild,
amd-2.2.0.ebuild:
diff --git a/sci-libs/amd/amd-2.2.0.ebuild b/sci-libs/amd/amd-2.2.0.ebuild
index f1a285bbf3db..cd110c7fe570 100644
--- a/sci-libs/amd/amd-2.2.0.ebuild
+++ b/sci-libs/amd/amd-2.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/amd-2.2.0.ebuild,v 1.3 2008/03/03 18:55:33 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/amd/amd-2.2.0.ebuild,v 1.4 2008/03/15 19:11:50 bicatali Exp $
inherit autotools eutils fortran
@@ -23,6 +23,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-autotools.patch
+ epatch "${FILESDIR}"/${P}-tests.patch
eautoreconf
}
diff --git a/sci-libs/amd/files/amd-2.2.0-tests.patch b/sci-libs/amd/files/amd-2.2.0-tests.patch
new file mode 100644
index 000000000000..36455bdec8bc
--- /dev/null
+++ b/sci-libs/amd/files/amd-2.2.0-tests.patch
@@ -0,0 +1,48 @@
+--- Demo/amd_f77cross.out.orig 2008-03-15 15:36:15.767078743 +0000
++++ Demo/amd_f77cross.out 2008-03-15 15:35:35.496783869 +0000
+@@ -1,21 +1,5 @@
+-Input matrix: 5-by- 5 with 14 entries
+-
+-Column: 1 number of entries: 2 with row indices in AI ( 1 ... 2)
+- row indices: 1 2
+-
+-Column: 2 number of entries: 4 with row indices in AI ( 3 ... 6)
+- row indices: 1 2 3 5
+-
+-Column: 3 number of entries: 4 with row indices in AI ( 7 ... 10)
+- row indices: 2 3 4 5
+-
+-Column: 4 number of entries: 2 with row indices in AI ( 11 ... 12)
+- row indices: 3 4
+-
+-Column: 5 number of entries: 2 with row indices in AI ( 13 ... 14)
+- row indices: 2 5
+
+-amd: approximate minimum degree ordering, results:
++AMD version 2.2.0, May 31, 2007, results:
+ status: OK
+ n, dimension of A: 5
+ nz, number of nonzeros in A: 14
+@@ -44,6 +28,22 @@
+ LU flop count for real A (with no pivoting): 19
+ LU flop count for complex A (with no pivoting): 101
+
++Input matrix: 5-by- 5 with 14 entries
++
++Column: 1 number of entries: 2 with row indices in AI ( 1 ... 2)
++ row indices: 1 2
++
++Column: 2 number of entries: 4 with row indices in AI ( 3 ... 6)
++ row indices: 1 2 3 5
++
++Column: 3 number of entries: 4 with row indices in AI ( 7 ... 10)
++ row indices: 2 3 4 5
++
++Column: 4 number of entries: 2 with row indices in AI ( 11 ... 12)
++ row indices: 3 4
++
++Column: 5 number of entries: 2 with row indices in AI ( 13 ... 14)
++ row indices: 2 5
+ PERM ( 1) = 1
+ PERM ( 2) = 4
+ PERM ( 3) = 3