diff options
-rw-r--r-- | lib/spack/spack/compilers/cce.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/cce.py b/lib/spack/spack/compilers/cce.py index eee78f5455..2bc00ec7f5 100644 --- a/lib/spack/spack/compilers/cce.py +++ b/lib/spack/spack/compilers/cce.py @@ -90,6 +90,11 @@ class Cce(Compiler): return "-h std=c++14" @property + def cxx17_flag(self): + if self.is_clang_based: + return "-std=c++17" + + @property def c99_flag(self): if self.is_clang_based: return "-std=c99" |