diff options
author | Kai Torben Ohlhus <k.ohlhus@gmail.com> | 2020-02-27 15:19:24 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 07:19:24 +0100 |
commit | b37d7b8ed7012109efb9af60de5f9f77932baac9 (patch) | |
tree | 23a960d30d66102911a3055f84142149133284a9 /var | |
parent | 9c194b22dc8a9e09be9edfe93822103a7baea297 (diff) | |
download | spack-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.py | 6 |
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') |