summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/flecsph/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/flecsph/package.py')
-rw-r--r--var/spack/repos/builtin/packages/flecsph/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/flecsph/package.py b/var/spack/repos/builtin/packages/flecsph/package.py
index c40af6a86d..2aee1a099d 100644
--- a/var/spack/repos/builtin/packages/flecsph/package.py
+++ b/var/spack/repos/builtin/packages/flecsph/package.py
@@ -4,6 +4,7 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+from spack.pkg.builtin.boost import Boost
class Flecsph(CMakePackage):
@@ -22,7 +23,13 @@ class Flecsph(CMakePackage):
variant('test', default=True, description='Adding tests')
depends_on('cmake@3.15:', type='build')
+
+ # TODO: replace this with an explicit list of components of Boost,
+ # for instance depends_on('boost +filesystem')
+ # See https://github.com/spack/spack/pull/22303 for reference
+ depends_on(Boost.with_default_variants)
depends_on('boost@1.70.0: cxxstd=17 +program_options')
+
depends_on('mpi')
depends_on('hdf5+hl@1.8:')
depends_on('flecsi@1.4.2 +external_cinch backend=mpi')