summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorserbanmaerean <serban@us.ibm.com>2017-01-31 14:51:05 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-31 14:51:05 -0500
commit8275b4471556c3b55bbac75cea748c0496007eb4 (patch)
treefa2696745f27a81643c8d62a7afe9bca8ae832df /lib
parent4f297f4336bc09688aee9d876c566f3aaa34e623 (diff)
downloadspack-8275b4471556c3b55bbac75cea748c0496007eb4.tar.gz
spack-8275b4471556c3b55bbac75cea748c0496007eb4.tar.bz2
spack-8275b4471556c3b55bbac75cea748c0496007eb4.tar.xz
spack-8275b4471556c3b55bbac75cea748c0496007eb4.zip
Change default fflags for XL compiler to only "-qzerosize" (#2966)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/xl.py8
-rw-r--r--lib/spack/spack/compilers/xl_r.py8
2 files changed, 2 insertions, 14 deletions
diff --git a/lib/spack/spack/compilers/xl.py b/lib/spack/spack/compilers/xl.py
index 77a5ed7acd..686807ae33 100644
--- a/lib/spack/spack/compilers/xl.py
+++ b/lib/spack/spack/compilers/xl.py
@@ -67,13 +67,7 @@ class Xl(Compiler):
# compilers and allows the use of zero size objects.
# For Fortran 90 and beyond, it is set by default and has not impact.
# Its use has no negative side effects.
- # The -qstrict flag allows the Fortran 90+ compilers to parse the
- # source files using fixed form rule. As a result, if -qfixed is in
- # effect, free form files (that are not also fixed form files) will
- # fail to compile regardless of the compiler invocation command.
- # Use the -qfree flag in the packages' configuration file to undo the
- # -qfixed flag, as the last one wins.
- return "-qzerosize -qfixed"
+ return "-qzerosize"
@classmethod
def default_version(cls, comp):
diff --git a/lib/spack/spack/compilers/xl_r.py b/lib/spack/spack/compilers/xl_r.py
index ca76f219ce..d08e700f42 100644
--- a/lib/spack/spack/compilers/xl_r.py
+++ b/lib/spack/spack/compilers/xl_r.py
@@ -68,13 +68,7 @@ class XlR(Compiler):
# compilers and allows the use of zero size objects.
# For Fortran 90 and beyond, it is set by default and has not impact.
# Its use has no negative side effects.
- # The -qstrict flag allows the Fortran 90+ compilers to parse the
- # source files using fixed form rule. As a result, if -qfixed is in
- # effect, free form files (that are not also fixed form files) will
- # fail to compile regardless of the compiler invocation command.
- # Use the -qfree flag in the packages' configuration file to undo the
- # -qfixed flag, as the last one wins.
- return "-qzerosize -qfixed"
+ return "-qzerosize"
@classmethod
def default_version(self, comp):