summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoguchi-k <55966120+noguchi-k@users.noreply.github.com>2020-05-23 00:28:57 +0900
committerGitHub <noreply@github.com>2020-05-22 10:28:57 -0500
commitd51635e6bd6d24ec7927efc706a21aebfcdd0e33 (patch)
treea0b969b28efbcf40873b9e88b50e4e0a22f3a6c4
parent1d936a8cc6eec96fbdac327397d63482750a79d2 (diff)
downloadspack-d51635e6bd6d24ec7927efc706a21aebfcdd0e33.tar.gz
spack-d51635e6bd6d24ec7927efc706a21aebfcdd0e33.tar.bz2
spack-d51635e6bd6d24ec7927efc706a21aebfcdd0e33.tar.xz
spack-d51635e6bd6d24ec7927efc706a21aebfcdd0e33.zip
ffr: add flag to use fixed format in which the length of one line of the source code is 255 when building with Fujitsu compiler. (#16737)
* ffr: add flag to use fixed format in which the length of one line of the source code is 255 when building with Fujitsu compiler. * ffr: changed to elif.
-rw-r--r--var/spack/repos/builtin/packages/ffr/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ffr/package.py b/var/spack/repos/builtin/packages/ffr/package.py
index 8cd10fe538..bd3c8258d1 100644
--- a/var/spack/repos/builtin/packages/ffr/package.py
+++ b/var/spack/repos/builtin/packages/ffr/package.py
@@ -39,6 +39,8 @@ class Ffr(MakefilePackage):
fflags = flags[:]
if spec.satisfies('%gcc'):
fflags.append('-ffixed-line-length-none')
+ elif spec.satisfies('%fj'):
+ fflags.append('-Fwide')
d = find('.', 'src_main', recursive=True)
root_dir = os.path.dirname(d[0])
make = join_path(root_dir, 'src_pre', 'src', 'Makefile')