[scalapack] 05/05: remove RUNPATH from test executables

Drew Parsons dparsons at moszumanska.debian.org
Fri Aug 4 15:51:07 UTC 2017


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

dparsons pushed a commit to branch experimental
in repository scalapack.

commit 883f1f9f3ca9138e582725a07d13dfcc3591aa32
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Aug 4 21:44:23 2017 +0800

    remove RUNPATH from test executables
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index a10bfa5..82a7b10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -47,8 +47,13 @@ override_dh_auto_install:
 	  echo "Installing scalapack-$$flavor" ; \
 	  dh_auto_install -O--parallel --builddirectory=build-$$flavor ; \
 	done
+
+override_dh_install:
 	dh_install
 	dh_missing --list-missing
+	# test executables contain RUNPATH. Remove it.
+	chrpath -d debian/scalapack-mpi-test/usr/lib/$(DEB_HOST_MULTIARCH)/scalapack/*-tests/x*
+	chrpath -d debian/scalapack-mpi-test/usr/lib/$(DEB_HOST_MULTIARCH)/scalapack/*-tests/blacs/x*
 
 # add --max-parallel=1 to force test in sequential mode
 # MPICH testsuite disabled as some tests fail -- why???

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



More information about the debian-science-commits mailing list