diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/dealii/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/dealii/package.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py index 8c31b90f51..66267b2d9a 100644 --- a/var/spack/repos/builtin/packages/dealii/package.py +++ b/var/spack/repos/builtin/packages/dealii/package.py @@ -66,7 +66,7 @@ class Dealii(CMakePackage): description='Compile with Trilinos (only with MPI)') variant('python', default=True, description='Compile with Python bindings') - variant('64bit', default=False, + variant('int64', default=False, description='Compile with 64 bit indices support') # required dependencies, light version @@ -108,11 +108,11 @@ class Dealii(CMakePackage): depends_on("netcdf-cxx", when='+netcdf+mpi') depends_on("oce", when='+oce') depends_on("p4est", when='+p4est+mpi') - depends_on("petsc+mpi", when='@8.4.2:+petsc+mpi~64bit') + depends_on("petsc+mpi", when='@8.4.2:+petsc+mpi~int64') depends_on('python', when='@8.5.0:+python') - depends_on("slepc", when='@8.4.2:+slepc+petsc+mpi~64bit') - depends_on("petsc@:3.6.4+mpi", when='@:8.4.1+petsc+mpi~64bit') - depends_on("slepc@:3.6.3", when='@:8.4.1+slepc+petsc+mpi~64bit') + depends_on("slepc", when='@8.4.2:+slepc+petsc+mpi~int64') + depends_on("petsc@:3.6.4+mpi", when='@:8.4.1+petsc+mpi~int64') + depends_on("slepc@:3.6.3", when='@:8.4.1+slepc+petsc+mpi~int64') depends_on("trilinos", when='+trilinos+mpi') def build_type(self): @@ -244,7 +244,7 @@ class Dealii(CMakePackage): # 64 bit indices options.extend([ - '-DDEAL_II_WITH_64BIT_INDICES=%s' % ('+64bit' in spec) + '-DDEAL_II_WITH_64BIT_INDICES=%s' % ('+int64' in spec) ]) return options |