1 |
bicatali 08/02/05 18:45:00 |
2 |
|
3 |
Added: csparse-2.2.1-autotools.patch |
4 |
Log: |
5 |
Initial import, part of the suitesparse |
6 |
(Portage version: 2.1.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-libs/csparse/files/csparse-2.2.1-autotools.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/csparse/files/csparse-2.2.1-autotools.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/csparse/files/csparse-2.2.1-autotools.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: csparse-2.2.1-autotools.patch |
15 |
=================================================================== |
16 |
--- configure.ac 1970-01-01 01:00:00.000000000 +0100 |
17 |
+++ configure.ac 2008-01-30 18:34:40.659910749 +0000 |
18 |
@@ -0,0 +1,10 @@ |
19 |
+# -*- Autoconf -*- |
20 |
+AC_PREREQ(2.59) |
21 |
+AC_INIT(csparse, 2.2.1, davis@××××××××.edu) |
22 |
+AM_INIT_AUTOMAKE([foreign]) |
23 |
+AC_PROG_INSTALL |
24 |
+AC_PROG_LIBTOOL |
25 |
+AC_CHECK_LIB(m, sqrt) |
26 |
+AC_CHECK_HEADERS(UFconfig.h) |
27 |
+AC_CONFIG_FILES([Makefile Source/Makefile Demo/Makefile]) |
28 |
+AC_OUTPUT |
29 |
--- Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
30 |
+++ Makefile.am 2008-01-30 18:35:32.154594734 +0000 |
31 |
@@ -0,0 +1,4 @@ |
32 |
+SUBDIRS = Source Demo |
33 |
+EXTRA_DIST = README.txt |
34 |
+include_HEADERS = Include/cs.h |
35 |
+ |
36 |
--- Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
37 |
+++ Source/Makefile.am 2008-01-30 18:45:50.337822988 +0000 |
38 |
@@ -0,0 +1,12 @@ |
39 |
+AM_CPPFLAGS = -I$(top_builddir)/Include |
40 |
+lib_LTLIBRARIES = libcsparse.la |
41 |
+libcsparse_la_SOURCES = \ |
42 |
+ cs_add.c cs_amd.c cs_chol.c cs_cholsol.c cs_counts.c cs_cumsum.c \ |
43 |
+ cs_droptol.c cs_dropzeros.c cs_dupl.c cs_entry.c \ |
44 |
+ cs_etree.c cs_fkeep.c cs_gaxpy.c cs_happly.c cs_house.c cs_ipvec.c \ |
45 |
+ cs_lsolve.c cs_ltsolve.c cs_lu.c cs_lusol.c cs_util.c cs_multiply.c \ |
46 |
+ cs_permute.c cs_pinv.c cs_post.c cs_pvec.c cs_qr.c cs_qrsol.c \ |
47 |
+ cs_scatter.c cs_schol.c cs_sqr.c cs_symperm.c cs_tdfs.c cs_malloc.c \ |
48 |
+ cs_transpose.c cs_compress.c cs_usolve.c cs_utsolve.c cs_scc.c \ |
49 |
+ cs_maxtrans.c cs_dmperm.c cs_updown.c cs_print.c cs_norm.c cs_load.c \ |
50 |
+ cs_dfs.c cs_reach.c cs_spsolve.c cs_ereach.c cs_leaf.c cs_randperm.c |
51 |
--- Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100 |
52 |
+++ Demo/Makefile.am 2008-01-31 11:11:28.880545257 +0000 |
53 |
@@ -0,0 +1,21 @@ |
54 |
+AM_CPPFLAGS = -I$(top_srcdir)/Include |
55 |
+LDADD = $(top_builddir)/Source/libcsparse.la -lm |
56 |
+ |
57 |
+check_PROGRAMS = cs_demo1 cs_demo2 cs_demo3 |
58 |
+ |
59 |
+check-local: $(check_PROGRAMS) |
60 |
+ - ./cs_demo1 < ../Matrix/t1 |
61 |
+ - ./cs_demo2 < ../Matrix/t1 |
62 |
+ - ./cs_demo2 < ../Matrix/ash219 |
63 |
+ - ./cs_demo2 < ../Matrix/bcsstk01 |
64 |
+ - ./cs_demo2 < ../Matrix/fs_183_1 |
65 |
+ - ./cs_demo2 < ../Matrix/mbeacxc |
66 |
+ - ./cs_demo2 < ../Matrix/west0067 |
67 |
+ - ./cs_demo2 < ../Matrix/lp_afiro |
68 |
+ - ./cs_demo2 < ../Matrix/bcsstk16 |
69 |
+ - ./cs_demo3 < ../Matrix/bcsstk01 |
70 |
+ - ./cs_demo3 < ../Matrix/bcsstk16 |
71 |
+ |
72 |
+cs_demo1_SOURCE = cs_demo1.c |
73 |
+cs_demo2_SOURCES= cs_demo2.c cs_demo.c cs_demo.h |
74 |
+cs_demo3_SOURCES = cs_demo3.c cs_demo.c cs_demo.h |
75 |
|
76 |
|
77 |
|
78 |
-- |
79 |
gentoo-commits@l.g.o mailing list |