Commit 72a2a1b3 authored by Nicholas Breen's avatar Nicholas Breen

Bring back 'chrpath -d' workaround for RUNPATH for openmpi, triggers error with lintian >= 2.5.50

parent 329b3923
......@@ -4,8 +4,10 @@ gromacs (2016.2-1) experimental; urgency=medium
* Remove dh_shlibdeps workaround introduced in 2016~rc1-3, which is fixed
via the MPI implementations now.
* Remove old .NOTPARALLEL restriction when building.
* Use chrpath to remove RUNPATH on OpenMPI binaries -- see
<https://github.com/open-mpi/ompi/issues/521>.
-- Nicholas Breen <nbreen@debian.org> Wed, 08 Feb 2017 11:33:18 -0800
-- Nicholas Breen <nbreen@debian.org> Wed, 08 Feb 2017 17:58:11 -0800
gromacs (2016.1-2) unstable; urgency=medium
......
......@@ -3,7 +3,8 @@ Section: science
Priority: extra
Maintainer: Debichem Team <debichem-devel@lists.alioth.debian.org>
Uploaders: Nicholas Breen <nbreen@debian.org>
Build-Depends: cmake,
Build-Depends: chrpath,
cmake,
debhelper (>= 10),
libblas-dev,
libboost-dev,
......
......@@ -254,6 +254,9 @@ install-openmpi: build-openmpi
dh_installdirs -pgromacs-openmpi
$(MAKE) -C build/openmpi install DESTDIR=$(CURDIR)/debian/gromacs-openmpi
$(MAKE) -C build/openmpi-dp install DESTDIR=$(CURDIR)/debian/gromacs-openmpi
# Force-disable RUNPATH - see <https://github.com/open-mpi/ompi/issues/521>
# and lintian tag binary-or-shlib-defines-rpath in versions >= 2.5.50
chrpath -d $(CURDIR)/debian/gromacs-openmpi/usr/bin/* $(CURDIR)/debian/gromacs-openmpi/usr/lib/*
chmod 644 $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion*
mv $(CURDIR)/debian/gromacs-openmpi/usr/bin/gmx-completion* $(CURDIR)/debian/gromacs-openmpi/usr/share/gromacs/shell-specific/
dh_installman -pgromacs-openmpi debian/man/mdrun_mpi.openmpi.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment