[superlu-dist] 04/05: set LD_LIBRARY_PATH to test against the libsuperlu_dist.so just built

Drew Parsons dparsons at moszumanska.debian.org
Fri Nov 17 07:42:40 UTC 2017


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

dparsons pushed a commit to tag debian/5.2.2+dfsg1-3
in repository superlu-dist.

commit 1a383ccfb3a911f0c8eaf59bace89ff4751c38da
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Nov 17 15:32:14 2017 +0800

    set LD_LIBRARY_PATH to test against the libsuperlu_dist.so just built
    
    otherwise it might use an old version sitting in /usr/lib/<arch>.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 38db87a..6fe2828 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@ override_dh_auto_configure:
 	  || /bin/true
 
 
+# set LD_LIBRARY_PATH to test against the libsuperlu_dist.so just built
 override_dh_auto_test:
-	dh_auto_test || /bin/true
-
+	export LD_LIBRARY_PATH=$(CURDIR)/obj-$(DEB_HOST_MULTIARCH)/SRC:$${LD_LIBRARY_PATH}; \
+	LD_LIBRARY_PATH=$${LD_LIBRARY_PATH} dh_auto_test || /bin/true

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



More information about the debian-science-commits mailing list