summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/globalarrays/package.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/globalarrays/package.py b/var/spack/repos/builtin/packages/globalarrays/package.py
index 19af1b6301..2ddf8c8b62 100644
--- a/var/spack/repos/builtin/packages/globalarrays/package.py
+++ b/var/spack/repos/builtin/packages/globalarrays/package.py
@@ -26,15 +26,18 @@ from spack import *
class Globalarrays(CMakePackage):
- """The Global Arrays (GA) toolkit provides a shared memory style programming
- environment in the context of distributed array data structures.
+ """The Global Arrays (GA) toolkit provides a shared memory style
+ programming environment in the context of distributed array data
+ structures.
"""
homepage = "http://hpc.pnl.gov/globalarrays/"
- url = "https://github.com/GlobalArrays/ga"
+ url = "https://github.com/GlobalArrays/ga"
version('master', git='https://github.com/GlobalArrays/ga', branch='master')
+ variant('i8', default=False, description='Build with 8 byte integers')
+
depends_on('blas')
depends_on('lapack')
depends_on('mpi')
@@ -57,4 +60,7 @@ class Globalarrays(CMakePackage):
'-DCMAKE_Fortran_FLAGS=-qzerosize'
])
+ if "+i8" in self.spec:
+ options.extend(['-DENABLE_I8=ON'])
+
return options