diff options
author | ketsubouchi <kenta.tsubouchi@hac-inc.co.jp> | 2020-12-18 01:40:01 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 17:40:01 +0100 |
commit | 467767466763b734ef8b770834b4d84e0ba02c28 (patch) | |
tree | 55836bd7cc6e8a8bbcdf761084ac806d3c8ae473 /var | |
parent | b7d9e269ef55179ca04a543d150c09ff56048f4a (diff) | |
download | spack-467767466763b734ef8b770834b4d84e0ba02c28.tar.gz spack-467767466763b734ef8b770834b4d84e0ba02c28.tar.bz2 spack-467767466763b734ef8b770834b4d84e0ba02c28.tar.xz spack-467767466763b734ef8b770834b4d84e0ba02c28.zip |
suite-sparse: add flags for Fujitsu compilers (#20393)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py index 0c75d8394f..b7e7c55317 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -119,8 +119,8 @@ class SuiteSparse(Package): # SuiteSparse defaults to using '-fno-common -fexceptions' in # CFLAGS, but not all compilers use the same flags for these # optimizations - if any([x in spec - for x in ('%apple-clang', '%clang', '%gcc', '%intel')]): + if any([x in spec for x in + ('%apple-clang', '%clang', '%gcc', '%intel', '%fj')]): make_args += ['CFLAGS+=-fno-common -fexceptions'] elif '%pgi' in spec: make_args += ['CFLAGS+=--exceptions'] |