diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/hypre/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/hypre/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py index 82a6b06b1f..ed0f665462 100644 --- a/var/spack/repos/builtin/packages/hypre/package.py +++ b/var/spack/repos/builtin/packages/hypre/package.py @@ -46,6 +46,8 @@ class Hypre(Package): # SuperluDist have conflicting headers with those in Hypre variant('internal-superlu', default=True, description="Use internal Superlu routines") + variant('int64', default=False, + description="Use 64bit integers") depends_on("mpi") depends_on("blas") @@ -68,6 +70,9 @@ class Hypre(Package): '--with-blas-lib-dirs=%s' % ' '.join(blas.directories) ] + if '+int64' in self.spec: + configure_args.append('--enable-bigint') + if '+shared' in self.spec: configure_args.append("--enable-shared") |