summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKai Torben Ohlhus <k.ohlhus@gmail.com>2020-02-19 14:49:27 +0900
committerGitHub <noreply@github.com>2020-02-18 23:49:27 -0600
commit26ad754f42f03107da50dbc2e65e5a91826b4a92 (patch)
tree9bba4f07943637203de386f803653f5a7af15de7 /var
parent4c215d1fedea02101bcadeef3678d6d3c536929b (diff)
downloadspack-26ad754f42f03107da50dbc2e65e5a91826b4a92.tar.gz
spack-26ad754f42f03107da50dbc2e65e5a91826b4a92.tar.bz2
spack-26ad754f42f03107da50dbc2e65e5a91826b4a92.tar.xz
spack-26ad754f42f03107da50dbc2e65e5a91826b4a92.zip
octave: enable 64-bit BLAS builds. (#15035)
* octave: enable 64-bit BLAS builds. Perform necessary actions [as described in the manual](https://octave.org/doc/v5.2.0/Compiling-Octave-with-64_002dbit-Indexing.html). * Update package.py
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/octave/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octave/package.py b/var/spack/repos/builtin/packages/octave/package.py
index 29ea7ea898..26a21e7891 100644
--- a/var/spack/repos/builtin/packages/octave/package.py
+++ b/var/spack/repos/builtin/packages/octave/package.py
@@ -269,6 +269,12 @@ class Octave(AutotoolsPackage, GNUMirrorPackage):
else:
config_args.append("--without-z")
+ # 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')):
+ config_args.append('F77_INTEGER_8_FLAG=-fdefault-integer-8')
+
return config_args
# ========================================================================