[caffe-contrib] 10/14: rules: update LD_LIBRARY_PATH

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Jan 23 00:54:48 UTC 2017


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

cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.

commit 558061e0b37000991fe8ed22bc54740c82c240cb
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sun Jan 22 02:26:29 2017 +0000

    rules: update LD_LIBRARY_PATH
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9d74eca..afc2c8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ caffe-contrib (1.0.0~rc4-1) UNRELEASED; urgency=medium
   * Get rid of symbols control file to avoid endless FTBFS bugs caused
     by symbol changes.
   * Don't miss the pytest target on the dh_auto_test phase.
+  * Rules: update LD_LIBRARY_PATH for dh_auto_test.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sun, 22 Jan 2017 01:53:16 +0000
 
diff --git a/debian/rules b/debian/rules
index bbede0a..cfc8dba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,7 +80,7 @@ override_dh_auto_test:
 	# the i386/amd64 build machine may have no CUDA-capable
 	# video card. Hence heading with a dash.
 	-dh_auto_test --builddirectory=$(BUILDDIR) \
-		-- runtest pytest LD_LIBRARY_PATH=$(BUILDDIR)/lib/ 
+		-- runtest pytest LD_LIBRARY_PATH=$(shell pwd)/$(BUILDDIR)/lib/ 
 
 override_dh_python3:
 	dh_python3 --requires=python/requirements.txt

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



More information about the debian-science-commits mailing list