petsc: add 64bit variant (#2655)
* petsc: add 64bit variant * hypre: add int64 variant * superlu-dist: add int64 variant * petsc: add int64 variant * metis: rename idx64 to int64 to make it consistent with other packages * mumps: rename idx64 to int64 to make it consistent with other packages * dealii: rename 64bit to int64 to make it consistent with other packages
This commit is contained in:

committed by
Todd Gamblin

parent
e2697e4a37
commit
8365dbd959
@@ -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 @@ def cmake_args(self):
|
||||
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user