summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKai Torben Ohlhus <k.ohlhus@gmail.com>2020-02-27 15:19:24 +0900
committerGitHub <noreply@github.com>2020-02-27 07:19:24 +0100
commitb37d7b8ed7012109efb9af60de5f9f77932baac9 (patch)
tree23a960d30d66102911a3055f84142149133284a9 /var
parent9c194b22dc8a9e09be9edfe93822103a7baea297 (diff)
downloadspack-b37d7b8ed7012109efb9af60de5f9f77932baac9.tar.gz
spack-b37d7b8ed7012109efb9af60de5f9f77932baac9.tar.bz2
spack-b37d7b8ed7012109efb9af60de5f9f77932baac9.tar.xz
spack-b37d7b8ed7012109efb9af60de5f9f77932baac9.zip
arpack-ng: ILP64 support (#15103)
Details about ILP64 support: `INTERFACE64=1` are described on the [ARPACK-NG GitHub website](https://github.com/opencollab/arpack-ng).
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/arpack-ng/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/arpack-ng/package.py b/var/spack/repos/builtin/packages/arpack-ng/package.py
index 468a8947c2..35a263541f 100644
--- a/var/spack/repos/builtin/packages/arpack-ng/package.py
+++ b/var/spack/repos/builtin/packages/arpack-ng/package.py
@@ -108,7 +108,11 @@ class ArpackNg(Package):
if '+mpi' in spec:
options.append('-DMPI=ON')
- # TODO: -DINTERFACE64=ON
+ # If 64-bit BLAS is used:
+ if (spec.satisfies('^openblas+ilp64') or
+ spec.satisfies('^intel-mkl+ilp64') or
+ spec.satisfies('^intel-parallel-studio+mkl+ilp64')):
+ options.append('-DINTERFACE64=1')
if '+shared' in spec:
options.append('-DBUILD_SHARED_LIBS=ON')