[caffe] 01/01: rules: fix LD_LIBRARY_PATH

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Jan 21 10:07:05 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.

commit a77a6c5dc946a24732b14b8fa3b12e642a1ed199
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sat Jan 21 08:24:05 2017 +0000

    rules: fix 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 1c6e330..57235c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ caffe (1.0.0~rc4-1) UNRELEASED; urgency=medium
   * Get rid of symbols control files to avoid endless FTBFS bugs caused
     by symbols change of C++ shared library.
   * Add the missing pytest target in override_dh_auto_test-arch.
+  * Update LD_LIBRARY_PATH for dh_auto_test.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sat, 21 Jan 2017 02:20:23 +0000
 
diff --git a/debian/rules b/debian/rules
index c6c6fd8..acf67d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -90,7 +90,7 @@ override_dh_auto_build-arch:
 # for those test ELFs linked with libcaffe.so.X
 override_dh_auto_test-arch:
 	dh_auto_test --builddirectory=$(BUILDDIR) \
-		-- runtest pytest LD_LIBRARY_PATH=$(BUILDDIR)/lib/ 
+		-- runtest pytest LD_LIBRARY_PATH=$(shell pwd)/$(BUILDDIR)/lib/ 
 override_dh_auto_test-indep:
 
 override_dh_python3:

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



More information about the debian-science-commits mailing list