From ad7a02d0e9653a04b98d882b0a6d6de3198720da Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sat, 15 Oct 2016 20:35:01 -0400 Subject: [PATCH] Add support for Sundials 2.7.0 --- SConstruct | 2 +- doc/sphinx/compiling.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 9f15c6166..39724ed8e 100644 --- a/SConstruct +++ b/SConstruct @@ -893,7 +893,7 @@ if env['system_sundials'] == 'y': # Ignore the minor version, e.g. 2.4.x -> 2.4 env['sundials_version'] = '.'.join(sundials_version.split('.')[:2]) - if env['sundials_version'] not in ('2.4','2.5','2.6'): + if env['sundials_version'] not in ('2.4','2.5','2.6','2.7'): print """ERROR: Sundials version %r is not supported.""" % env['sundials_version'] sys.exit(1) print """INFO: Using system installation of Sundials version %s.""" % sundials_version diff --git a/doc/sphinx/compiling.rst b/doc/sphinx/compiling.rst index 75c002bff..9eaac7136 100644 --- a/doc/sphinx/compiling.rst +++ b/doc/sphinx/compiling.rst @@ -495,14 +495,14 @@ Optional Programs * Optional. If Sundials is not installed, it will be automatically downloaded and the necessary portions will be compiled and installed with Cantera. * https://computation.llnl.gov/casc/sundials/download/download.html - * Known to work with versions 2.4, 2.5 and 2.6. + * Known to work with versions 2.4, 2.5, 2.6, and 2.7. * To use Sundials with Cantera on a Linux/Unix system, it must be compiled with the ``-fPIC`` flag. You can specify this flag when configuring Sundials (2.4 or 2.5):: configure --with-cflags=-fPIC - or Sundials 2.6:: + or Sundials 2.6 or 2.7:: cmake -DCMAKE_C_FLAGS=-fPIC