[jblas] 01/02: Set LD_LIBRARY_PATH before running unit tests.
Tony Mancill
tmancill at moszumanska.debian.org
Sun Jan 12 04:57:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository jblas.
commit f3980f7b25a033c172cf9d8af1df3c7710f27912
Author: tony mancill <tmancill at debian.org>
Date: Sat Jan 11 20:54:52 2014 -0800
Set LD_LIBRARY_PATH before running unit tests.
address FTBFS on architectures other than i386 and amd64
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 48610c3..beca66d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,11 @@ debian/stamp-jblas-build:
make
touch $@
+debian/stamp-ant-check:
+ # the tests need to be able to find the JNI libs
+ export LD_LIBRARY_PATH=$(CURDIR)/src/main/resources/lib/dynamic/Linux/$(DEB_BUILD_ARCH) && $(DEB_ANT_INVOKE) $(DEB_ANT_CHECK_TARGET)
+ touch $@
+
install/jblas::
install -m755 -d debian/jblas/usr/lib/jni
install -m644 $(shell find ./src/main/resources/lib/dynamic -name '*.so') debian/jblas/usr/lib/jni
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jblas.git
More information about the pkg-java-commits
mailing list