[SCons] Update required Boost version to 1.70

This commit is contained in:
Ray Speth 2023-08-07 21:13:05 -04:00 committed by Ingmar Schoegl
parent 25851e76d2
commit 6eb40e20f7

View File

@ -1373,9 +1373,10 @@ if not env['BOOST_LIB_VERSION']:
" 'boost_inc_dir' to point to the boost headers.")
else:
logger.info(f"Found Boost version {env['BOOST_LIB_VERSION']}")
if parse_version(env['BOOST_LIB_VERSION']) < parse_version("1.61"):
# dll support is available in Boost 1.61 or newer
config_error("Cantera requires Boost version 1.61 or newer.")
if parse_version(env['BOOST_LIB_VERSION']) < parse_version("1.70"):
# Boost.DLL with std::filesystem (making it header-only) is available in Boost 1.70
# or newer
config_error("Cantera requires Boost version 1.70 or newer.")
# check BLAS/LAPACK installations
if env["system_blas_lapack"] == "n":