Skip to content

Commit

Permalink
[SCons] Warn if untested SUNDIALS is used
Browse files Browse the repository at this point in the history
We expect that minor version number release will not introduce breaking
changes, but the user should be warned that their version of SUNDIALS is
untested.
  • Loading branch information
bryanwweber authored and speth committed Apr 3, 2020
1 parent 1e878c1 commit 3a9f637
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1112,6 +1112,9 @@ if env['system_sundials'] == 'y':
if sundials_ver < LooseVersion('2.4') or sundials_ver >= LooseVersion('6.0'):
print("""ERROR: Sundials version %r is not supported.""" % env['sundials_version'])
sys.exit(1)
elif sundials_ver > LooseVersion('5.1'):
print("WARNING: Sundials version %r has not been tested." % env['sundials_version'])

print("""INFO: Using system installation of Sundials version %s.""" % sundials_version)

#Determine whether or not Sundials was built with BLAS/LAPACK
Expand Down

0 comments on commit 3a9f637

Please sign in to comment.