summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Jaust <alexander.jaust@ipvs.uni-stuttgart.de>2021-08-11 09:29:48 +0200
committerGitHub <noreply@github.com>2021-08-11 09:29:48 +0200
commite89f2c0e913d42b5e689c40f7a34be67763e31aa (patch)
tree72c0bba5037097ff66b9177f89840795be6856e9
parent0d4f69f28c6d7c194b7fdb0f7b7f99aab50dd94d (diff)
downloadspack-e89f2c0e913d42b5e689c40f7a34be67763e31aa.tar.gz
spack-e89f2c0e913d42b5e689c40f7a34be67763e31aa.tar.bz2
spack-e89f2c0e913d42b5e689c40f7a34be67763e31aa.tar.xz
spack-e89f2c0e913d42b5e689c40f7a34be67763e31aa.zip
fenics: updates to allow newer versions of Boost (#25329)
-rw-r--r--var/spack/repos/builtin/packages/fenics/package.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/fenics/package.py b/var/spack/repos/builtin/packages/fenics/package.py
index 36eeaef470..9631f0307d 100644
--- a/var/spack/repos/builtin/packages/fenics/package.py
+++ b/var/spack/repos/builtin/packages/fenics/package.py
@@ -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')
+ 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')