Update TNG build system
commitef40a754c64c6807f56610a40ca4e0eab68342f5
authorMagnus Lundborg <lundborg.magnus@gmail.com>
Mon, 23 Jun 2014 10:07:23 +0000 (23 12:07 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 28 Jun 2014 14:55:08 +0000 (28 16:55 +0200)
tree7fcd687d2f2852fe2430bf9d889ec38a86faa945
parentd408b61756f0ecaab12809088f6a15c466f9cae4
Update TNG build system

GROMACS can now find and use a copy of TNG installed on the system.
The default is still to compile the version shipped with GROMACS.
That compilation is now handled using the BuildTNG.cmake script, so
there is no duplication between the GROMACS and TNG CMake code that
builds TNG, and the result is fully portable with all supported
environments and CMake versions.

Moved TNG handling into src/gromacs/CMakeLists.txt where it is
actually used.

Bumped the version of the TNG library to 1.6. Corresponds to commit
ba9aea42b01 in the TNG repository.

Renamed md5 things with GROMACS prefixes, so that there is no internal
name clash with the md5 things in TNG, and no client of libgromacs can
get unexpected behaviour.

Updated GMX_USE_TNG=off to work, and silenced unused-parameter
warnings associated with that setting.

Refs #1453 (partial fix)
Fixes #1520

Change-Id: I7ac9b578e45b8e75c67c9df9440eed968a3a9371
35 files changed:
CMakeLists.txt
src/external/tng_io/BuildTNG.cmake [new file with mode: 0644]
src/external/tng_io/CMakeLists.txt
src/external/tng_io/Doxyfile.in
src/external/tng_io/include/tng/md5.h [moved from src/external/tng_io/include/md5.h with 100% similarity]
src/external/tng_io/include/tng/tng_io.h [moved from src/external/tng_io/include/tng_io.h with 98% similarity]
src/external/tng_io/include/tng/tng_io.hpp [moved from src/external/tng_io/include/tng_io.hpp with 100% similarity]
src/external/tng_io/include/tng/tng_io_fwd.h [moved from src/external/tng_io/include/tng_io_fwd.h with 100% similarity]
src/external/tng_io/include/tng/version.h.in [new file with mode: 0644]
src/external/tng_io/include/version.h.in [deleted file]
src/external/tng_io/src/CMakeLists.txt
src/external/tng_io/src/compression/CMakeLists.txt [deleted file]
src/external/tng_io/src/lib/CMakeLists.txt [deleted file]
src/external/tng_io/src/lib/md5.c
src/external/tng_io/src/lib/tng_io-config.cmake.in [new file with mode: 0644]
src/external/tng_io/src/lib/tng_io-configVersion.cmake.in [new file with mode: 0644]
src/external/tng_io/src/lib/tng_io.c
src/external/tng_io/src/tests/compression/CMakeLists.txt
src/external/tng_io/src/tests/compression/testsuite.c
src/external/tng_io/src/tests/md_openmp.c
src/external/tng_io/src/tests/md_openmp_util.c
src/external/tng_io/src/tests/tng_io_read_pos.c
src/external/tng_io/src/tests/tng_io_read_pos_util.c
src/external/tng_io/src/tests/tng_io_testing.c
src/external/tng_io/src/tests/tng_parallel_read.c
src/gromacs/CMakeLists.txt
src/gromacs/fileio/CMakeLists.txt
src/gromacs/fileio/gmxfio.c
src/gromacs/fileio/md5.c
src/gromacs/fileio/md5.h
src/gromacs/fileio/tngio.cpp
src/gromacs/fileio/tngio.h
src/gromacs/fileio/tngio_for_tools.cpp
src/gromacs/fileio/tngio_for_tools.h
tests/CppCheck.cmake