[suitesparse-metis] 17/28: Build patch for CCOLAMD

Wolfgang Fütterer wlfuetter-guest at moszumanska.debian.org
Mon Sep 7 10:18:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

wlfuetter-guest pushed a commit to branch master
in repository suitesparse-metis.

commit cb4dd24e7cd5aa554d9c3f60d7156680947d9890
Author: Wolfgang Fuetterer <debian at wlf-online.de>
Date:   Tue Nov 25 20:27:00 2014 +0100

    Build patch for CCOLAMD
---
 debian/patches/0012-CCOLAMD-Lib-Makefile.patch | 43 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 44 insertions(+)

diff --git a/debian/patches/0012-CCOLAMD-Lib-Makefile.patch b/debian/patches/0012-CCOLAMD-Lib-Makefile.patch
new file mode 100644
index 0000000..343600e
--- /dev/null
+++ b/debian/patches/0012-CCOLAMD-Lib-Makefile.patch
@@ -0,0 +1,43 @@
+From: Wolfgang Fuetterer <debian at wlf-online.de>
+Date: Tue, 25 Nov 2014 20:26:26 +0100
+Subject: CCOLAMD Lib Makefile
+
+---
+ CCOLAMD/Lib/Makefile | 12 +++++++++++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/CCOLAMD/Lib/Makefile b/CCOLAMD/Lib/Makefile
+index 8a471d5..b5a2280 100644
+--- a/CCOLAMD/Lib/Makefile
++++ b/CCOLAMD/Lib/Makefile
+@@ -2,7 +2,7 @@
+ # CCOLAMD Makefile
+ #-------------------------------------------------------------------------------
+ 
+-default: libccolamd.a
++default: libccolamd.a libccolamd.so.4.4.1
+ 
+ include ../../SuiteSparse_config/SuiteSparse_config.mk
+ 
+@@ -19,6 +19,13 @@ libccolamd.a:  $(SRC) $(INC)
+ 	$(ARCHIVE)  libccolamd.a ccolamd.o ccolamd_l.o
+ 	- $(RANLIB) libccolamd.a 
+ 
++libccolamd.so.4.4.1:  $(SRC) $(INC)
++	$(CC) -fPIC $(CFLAGS) $(I) -c ../Source/ccolamd_global.c -o ccolamd_global.oo
++	$(CC) -fPIC $(CFLAGS) $(I) -c ../Source/ccolamd.c -o ccolamd.oo
++	$(CC) -fPIC $(CFLAGS) $(I) -c ../Source/ccolamd.c -DDLONG -o ccolamd_l.oo
++	$(CC) -shared *.oo -lm -Wl,-soname -Wl,$@ -o $@
++	ln -s $@ libccolamd.so
++
+ ccode: libccolamd.a
+ 
+ library: libccolamd.a
+@@ -30,3 +37,6 @@ purge: distclean
+ 
+ distclean: clean
+ 	- $(RM) libccolamd.a
++	- $(RM) *.oo
++	- $(RM) *.a
++	- $(RM) *.so*
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index db39f9b..55e3b94 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0009-UMFPACK-Lib-Makefile.patch
 0010-CHOLMOD-Lib-Makefile.patch
 0011-CHOLMOD-Demo-Makefile.patch
+0012-CCOLAMD-Lib-Makefile.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/suitesparse-metis.git



More information about the debian-science-commits mailing list