Bump lmfit support to version 7
commitf3410c301f5af50714823f6f00ddf43e4c94ada2
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 11 Jun 2018 06:30:19 +0000 (11 08:30 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 13 Jun 2018 07:16:42 +0000 (13 09:16 +0200)
tree76a1e1bf20d65469e8b38a6837602b0cd522f404
parent5e33e0385f38df2af5ab7e4594dd1b5ccc201e7d
Bump lmfit support to version 7

The breaking API change means that distributions will not be able to
build GROMACS reliably with support for lmfit of arbitrary versions.
Nor does lmfit provide any support for querying the version.

Updated the FindLmfit and other cmake code to make better use of
modern cmake idioms for managing build targets. lmfit support is now
handled by a tri-state GMX_USE_LMFIT cmake variable, which defaults to
using the bundled version. When building without lmfit support, tools
that call such fitting will now issue a fatal error.

Reorganized aspects of gmx_lmcurve to better encapsulate the
dependency, now that we have to support the absence of lmfit.

Updated install guide and COPYING file.

Refs #2533

Change-Id: I6b14e08be216f803326b0ad9215b8d89bb0962c1
16 files changed:
COPYING
cmake/FindLmfit.cmake
cmake/gmxManageLmfit.cmake
docs/CMakeLists.txt
docs/conf-vars.py.cmakein
docs/install-guide/index.rst
src/config.h.cmakein
src/external/lmfit/README
src/external/lmfit/lmmin.cpp
src/external/lmfit/lmmin.h
src/external/lmfit/lmstruct.h
src/gromacs/CMakeLists.txt
src/gromacs/correlationfunctions/expfit.cpp
src/gromacs/correlationfunctions/gmx_lmcurve.cpp
src/gromacs/correlationfunctions/gmx_lmcurve.h
src/gromacs/correlationfunctions/tests/expfit.cpp