From: Matthias Maier Date: Thu, 28 Jan 2021 22:01:36 +0000 (-0600) Subject: CMake: Update Sundials version check X-Git-Tag: v9.3.0-rc1~535^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d87719081e259d00aa8137a2f17d1c3322e0d7;p=dealii.git CMake: Update Sundials version check --- diff --git a/cmake/configure/configure_sundials.cmake b/cmake/configure/configure_sundials.cmake index 62522094ce..4a9b8b0470 100644 --- a/cmake/configure/configure_sundials.cmake +++ b/cmake/configure/configure_sundials.cmake @@ -23,6 +23,23 @@ MACRO(FEATURE_SUNDIALS_FIND_EXTERNAL var) IF(SUNDIALS_FOUND) SET(${var} TRUE) ENDIF() + + # + # We require at least sundials 3.0.0 + # + IF(SUNDIALS_VERSION VERSION_LESS 3.0.0) + + MESSAGE(STATUS "Could not find a sufficient Sundials installation: " + "deal.II requires at least version 3.0.0, but version ${SUNDIALS_VERSION} was found." + ) + SET(SUNDIALS_ADDITIONAL_ERROR_STRING + ${SUNDIALS_ADDITIONAL_ERROR_STRING} + "The SUNDIALS installation (found at \"${SUNDIALS_DIR}\")\n" + "with version ${SUNDIALS_VERSION} is too old.\n" + "deal.II requires at least version 3.0.0.\n\n" + ) + SET(${var} FALSE) + ENDIF() ENDMACRO() MACRO(FEATURE_SUNDIALS_CONFIGURE_EXTERNAL) diff --git a/doc/news/changes/incompatibilities/20210128Maier b/doc/news/changes/incompatibilities/20210128Maier new file mode 100644 index 0000000000..e9040e6925 --- /dev/null +++ b/doc/news/changes/incompatibilities/20210128Maier @@ -0,0 +1,3 @@ +Updated: deal.II dropped support for Sundials older than version 3.0.0. +
+(Matthias Maier, Luca Heltai, 2021/01/25)