Commit 610021fa authored by Nicholas Breen's avatar Nicholas Breen

replace CMAKE_SKIP_RPATH with more chrpath usage

parent 558ddba2
gromacs (2019~beta1-1) experimental; urgency=medium
gromacs (2019~beta2-1) experimental; urgency=medium
* New upstream beta release, upload to experimental.
- patches/reproducible-builds.patch and sphinx-version-detect.patch
removed, equivalent functionality integrated upstream.
- Other patches rebased.
* Rename libgromacs3 to libgromacs4 for SONAME increment.
* CMAKE_SKIP_RPATH causes build failures at the moment, so replace it with
chrpath after the build.
-- Nicholas Breen <nbreen@debian.org> Sun, 28 Oct 2018 10:01:40 -0700
-- Nicholas Breen <nbreen@debian.org> Wed, 07 Nov 2018 21:10:41 -0800
gromacs (2018.3-1) unstable; urgency=medium
......
......@@ -32,7 +32,6 @@ COMMON_CONFIG_PARAMS = \
-DCMAKE_RULE_MESSAGES=OFF \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DGMX_EXTERNAL_ZLIB=ON
# For compatibility reasons, disable SIMD CPU optimizations EXCEPT
......@@ -261,6 +260,8 @@ install-basic: build-arch
# gmx(1) -> gmx_d(1)
dh_link -pgromacs
dh_lintian -pgromacs
# temporary as of 2019-beta2 and removal of CMAKE_SKIP_RPATH
chrpath -d $(CURDIR)/debian/gromacs/usr/bin/gmx*
install-mpich: build-mpich
dh_testdir
......@@ -271,6 +272,8 @@ install-mpich: build-mpich
$(MAKE) -C build/mpich-dp install DESTDIR=$(CURDIR)/debian/gromacs-mpich
chmod 644 $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion*
mv $(CURDIR)/debian/gromacs-mpich/usr/bin/gmx-completion* $(CURDIR)/debian/gromacs-mpich/usr/share/gromacs/shell-specific/
# temporary as of 2019-beta2
chrpath -d $(CURDIR)/debian/gromacs-mpich/usr/bin/mdrun_mpi*
dh_installman -pgromacs-mpich debian/man/mdrun_mpi.mpich.1
dh_link -pgromacs-mpich usr/share/man/man1/mdrun_mpi.mpich.1.gz usr/share/man/man1/mdrun_mpi_d.mpich.1.gz
dh_lintian -pgromacs-mpich
......
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