diff options
author | Adeeb Arif Kor <mabm4@cam.ac.uk> | 2021-12-17 16:55:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 17:55:30 +0100 |
commit | c940e9fc7e77a21fe0e215bc5926b674427a2eec (patch) | |
tree | 0389c57dcedad5c3b3c594c69fa5d1428b6a666e /var | |
parent | c3a929fdfc7ae12a0b99eca57bbcf9cbbd0b8db0 (diff) | |
download | spack-c940e9fc7e77a21fe0e215bc5926b674427a2eec.tar.gz spack-c940e9fc7e77a21fe0e215bc5926b674427a2eec.tar.bz2 spack-c940e9fc7e77a21fe0e215bc5926b674427a2eec.tar.xz spack-c940e9fc7e77a21fe0e215bc5926b674427a2eec.zip |
dolfinx: add ADIOS2 variant (#27540)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fenics-dolfinx/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py index 21e9cd9c16..78f1fee879 100644 --- a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py +++ b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py @@ -22,6 +22,7 @@ class FenicsDolfinx(CMakePackage): variant("kahip", default=False, description="kahip support") variant("parmetis", default=False, description="parmetis support") variant("slepc", default=False, description="slepc support") + variant("adios2", default=False, description="adios2 support") depends_on("cmake@3.18:", type="build") depends_on("pkgconfig", type="build") @@ -36,6 +37,7 @@ class FenicsDolfinx(CMakePackage): depends_on("kahip", when="+kahip") depends_on("parmetis", when="+parmetis") depends_on("slepc", when="+slepc") + depends_on("adios2", when="+adios2") depends_on("py-fenics-ffcx", type=("build", "run")) depends_on("py-fenics-ffcx@main", type=("build", "run"), when="@main") @@ -62,6 +64,8 @@ class FenicsDolfinx(CMakePackage): 'ON' if "+parmetis" in self.spec else 'OFF'), "-DDOLFINX_ENABLE_SLEPC=%s" % ( 'ON' if "+slepc" in self.spec else 'OFF'), + "-DDOLFINX_ENABLE_ADIOS2=%s" % ( + 'ON' if "+adios2" in self.spec else 'OFF'), "-DPython3_ROOT_DIR=%s" % self.spec['python'].home, "-DPython3_FIND_STRATEGY=LOCATION", ] |