[scotch] 01/04: ensure path to built libs is available for build checks

Drew Parsons dparsons at moszumanska.debian.org
Sun Nov 26 15:12:33 UTC 2017


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

dparsons pushed a commit to tag debian/6.0.4.dfsg1-6
in repository scotch.

commit 3c0f5e50c871194755d722d68a5c8e63fbc41c2b
Author: Drew Parsons <dparsons at debian.org>
Date:   Sun Nov 26 22:39:42 2017 +0800

    ensure path to built libs is available for build checks
    
    set LD_LIBRARY_PATH to dir containing built libs
---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 74e2955..89e196c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+scotch (6.0.4.dfsg1-6) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * debian/rules: provide path to built libs (LD_LIBRARY_PATH) when
+    running build-time checks.
+
+ -- Drew Parsons <dparsons at debian.org>  Sun, 26 Nov 2017 22:37:46 +0800
+
 scotch (6.0.4.dfsg1-5) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 114c643..7f48107 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,7 +77,7 @@ build-arch-stamp: patch-stamp
 	   (cd src && $(MAKE) scotch ptscotch prefix=$(CURDIR)/$$v); \
 	   (cd src && $(MAKE) esmumps ptesmumps prefix=$(CURDIR)/$$v); \
 	   echo "check for $$v (information only: won't halt on error)"; \
-	   (cd src && $(MAKE) check prefix=$(CURDIR)/$$v) || /bin/true; \
+	   (cd src && LD_LIBRARY_PATH=$(CURDIR)/src/check/../../lib:$(LD_LIBRARY_PATH) $(MAKE) check prefix=$(CURDIR)/$$v) || /bin/true; \
 	   echo "install for $$v"; \
 	   (cd src && $(MAKE) install prefix=$(CURDIR)/$$v); \
 	   mv $$v/bin/gbase $$v/bin/scotch_gbase; \

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



More information about the debian-science-commits mailing list