diff options
author | Denis Davydov <davydden@gmail.com> | 2017-09-12 08:40:28 +0200 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-09-12 08:40:28 +0200 |
commit | 5c24370512ec6a0bc586f07acada6e7cb47f4015 (patch) | |
tree | 822df709bd278058d045c21e2a855ee607085a98 /var | |
parent | b413f37b3e1eecdf8b1557f48568bd8165414c7b (diff) | |
download | spack-5c24370512ec6a0bc586f07acada6e7cb47f4015.tar.gz spack-5c24370512ec6a0bc586f07acada6e7cb47f4015.tar.bz2 spack-5c24370512ec6a0bc586f07acada6e7cb47f4015.tar.xz spack-5c24370512ec6a0bc586f07acada6e7cb47f4015.zip |
openblas: add ilp64 option (#5289)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/openblas/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py index 74fbfc4531..d8b52a43cd 100644 --- a/var/spack/repos/builtin/packages/openblas/package.py +++ b/var/spack/repos/builtin/packages/openblas/package.py @@ -47,6 +47,7 @@ class Openblas(MakefilePackage): default=True, description='Build shared libraries as well as static libs.' ) + variant('ilp64', default=False, description='64 bit integers') variant('openmp', default=False, description="Enable OpenMP support.") variant('pic', default=True, description='Build position independent code') @@ -129,6 +130,10 @@ class Openblas(MakefilePackage): if '+openmp' in self.spec: make_defs += ['USE_OPENMP=1'] + # 64bit ints + if '+ilp64' in self.spec: + make_defs += ['INTERFACE64=1'] + return make_defs @property |