diff options
author | Joe Heaton <joeheaton@users.noreply.github.com> | 2021-06-04 19:47:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 18:47:32 +0000 |
commit | 13978d68ea9dec94b5faf986326292d41231c477 (patch) | |
tree | 91f394246c63705dc6a69cd17a837b8e98a08247 /lib | |
parent | 54b9fe219bdc80692d4dcdf9fc1c4083c5fa88e5 (diff) | |
download | spack-13978d68ea9dec94b5faf986326292d41231c477.tar.gz spack-13978d68ea9dec94b5faf986326292d41231c477.tar.bz2 spack-13978d68ea9dec94b5faf986326292d41231c477.tar.xz spack-13978d68ea9dec94b5faf986326292d41231c477.zip |
enable std c++14 (#24127)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compilers/cce.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/cce.py b/lib/spack/spack/compilers/cce.py index 64bf62543d..66d8519f25 100644 --- a/lib/spack/spack/compilers/cce.py +++ b/lib/spack/spack/compilers/cce.py @@ -66,6 +66,12 @@ class Cce(Compiler): return "-h std=c++11" @property + def cxx14_flag(self): + if self.is_clang_based: + return '-std=c++14' + return "-h std=c++14" + + @property def c99_flag(self): if self.is_clang_based: return '-std=c99' |