Globalarrays: Adding ENABLE_I8 variant (#5249)
This commit is contained in:
parent
1d6fff1f2d
commit
48599837d8
@ -26,8 +26,9 @@
|
|||||||
|
|
||||||
|
|
||||||
class Globalarrays(CMakePackage):
|
class Globalarrays(CMakePackage):
|
||||||
"""The Global Arrays (GA) toolkit provides a shared memory style programming
|
"""The Global Arrays (GA) toolkit provides a shared memory style
|
||||||
environment in the context of distributed array data structures.
|
programming environment in the context of distributed array data
|
||||||
|
structures.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "http://hpc.pnl.gov/globalarrays/"
|
homepage = "http://hpc.pnl.gov/globalarrays/"
|
||||||
@ -35,6 +36,8 @@ class Globalarrays(CMakePackage):
|
|||||||
|
|
||||||
version('master', git='https://github.com/GlobalArrays/ga', branch='master')
|
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('blas')
|
||||||
depends_on('lapack')
|
depends_on('lapack')
|
||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
@ -57,4 +60,7 @@ def cmake_args(self):
|
|||||||
'-DCMAKE_Fortran_FLAGS=-qzerosize'
|
'-DCMAKE_Fortran_FLAGS=-qzerosize'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
if "+i8" in self.spec:
|
||||||
|
options.extend(['-DENABLE_I8=ON'])
|
||||||
|
|
||||||
return options
|
return options
|
||||||
|
Loading…
Reference in New Issue
Block a user