fenics: updates to allow newer versions of Boost (#25329)

This commit is contained in:
Alexander Jaust 2021-08-11 09:29:48 +02:00 committed by GitHub
parent 0d4f69f28c
commit e89f2c0e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,11 +96,8 @@ class Fenics(CMakePackage):
depends_on('pkgconfig', type='build')
depends_on('zlib', when='+zlib')
for ver in dolfin_versions:
if Version(ver) == Version('2019.1.0'):
depends_on('boost+filesystem+program_options+system+iostreams+timer+regex+chrono')
else:
depends_on('boost+filesystem+program_options+system+iostreams+timer+regex+chrono@1.68.0')
depends_on('boost+filesystem+program_options+system+iostreams+timer+regex+chrono@1.68.0', when='@:2018.99')
depends_on('mpi', when='+mpi')
depends_on('hdf5+hl+fortran', when='+hdf5+petsc')