Commit 299b3d17 authored by Nicholas Breen's avatar Nicholas Breen

Set GMX_EXTERNAL_ZLIB=ON to prevent it from opportunistically linking statically.

parent c383378e
......@@ -12,11 +12,10 @@ gromacs (2018~beta3-1) experimental; urgency=medium
* Update Standards-Version to 4.1.2.
* Remove obsolete zero byte file lintian overrides.
* SONAME bump: rename libgromacs2 to libgromacs3.
* Set all builds, including the MPI variants, to build strictly as shared-
library variants; this prevents it from statically embedding other
libraries (particularly zlib).
* Set GMX_EXTERNAL_ZLIB=ON to prevent it from opportunistically linking
statically.
-- Nicholas Breen <nbreen@debian.org> Sat, 23 Dec 2017 19:45:40 -0800
-- Nicholas Breen <nbreen@debian.org> Sun, 24 Dec 2017 10:35:12 -0800
gromacs (2016.4-1) unstable; urgency=medium
......
......@@ -33,7 +33,7 @@ COMMON_CONFIG_PARAMS = \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DBUILD_SHARED_LIBS=ON
-DGMX_EXTERNAL_ZLIB=ON
# For compatibility reasons, disable SIMD CPU optimizations EXCEPT
# for SSE2 on x86/amd64, VSX on ppc64el, and NEON on armhf/arm64.
......@@ -97,8 +97,8 @@ endif
configure: configure-stamp
configure-stamp:
dh_testdir
(mkdir -p build/basic; cd build/basic; cmake $(COMMON_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON)
(mkdir -p build/basic-dp; cd build/basic-dp; cmake $(COMMON_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON -DGMX_DOUBLE=ON)
(mkdir -p build/basic; cd build/basic; cmake $(COMMON_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON -DBUILD_SHARED_LIBS=ON)
(mkdir -p build/basic-dp; cd build/basic-dp; cmake $(COMMON_CONFIG_PARAMS) -DGMX_MPI=OFF -DGMX_X11=ON -DBUILD_SHARED_LIBS=ON -DGMX_DOUBLE=ON)
(mkdir -p build/mpich; cd build/mpich; CC=/usr/bin/mpicc.mpich CXX=/usr/bin/mpicxx.mpich cmake \
$(COMMON_CONFIG_PARAMS) $(MPICH_CONFIG_PARAMS) $(GPU_CONFIG_PARAMS) -DGMX_BINARY_SUFFIX="_mpi.mpich" -DGMX_LIBS_SUFFIX="_mpi.mpich")
(mkdir -p build/mpich-dp; cd build/mpich-dp; CC=/usr/bin/mpicc.mpich CXX=/usr/bin/mpicxx.mpich cmake \
......
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