[getdp] 49/60: hack to add libgfortran when compiling with sparskit support

Matteo F. Vescovi mfv at moszumanska.debian.org
Thu Feb 11 10:12:37 UTC 2016


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

mfv pushed a commit to branch master
in repository getdp.

commit 4783f5582c0aceb2318ac56604ad84976f3ba71d
Author: Christophe Trophime <christophe.trophime at grenoble.cnrs.fr>
Date:   Wed Aug 20 15:51:11 2014 +0000

    hack to add libgfortran when compiling with sparskit support
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 095a41d..dbe4bdf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,11 +36,12 @@ else
 	-DENABLE_MPI:BOOL=OFF
 endif
 
-#extra_flags_sparskit ="$(extra_flags) -lgfortran"
+extra_flags_sparskit ="$(extra_flags) -lgfortran"
 
 override_dh_auto_configure:
 	dh_auto_configure --buildsystem=cmake --builddirectory=$(BUILDDIR)/petsc --parallel -- $(extra_flags)
-	dh_auto_configure --buildsystem=cmake --builddirectory=$(BUILDDIR)/sparskit --parallel -- $(extra_flags) -DENABLE_PETSC=0 -DENABLE_SPARSKIT=1 
+	dh_auto_configure --buildsystem=cmake --builddirectory=$(BUILDDIR)/sparskit --parallel -- $(extra_flags_sparskit) -DENABLE_PETSC=0 -DENABLE_SPARSKIT=1 
+
 
 override_dh_auto_build:	
 	echo "installing getdp"

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



More information about the debian-science-commits mailing list