diff --git a/lib/spack/spack/compilers/cce.py b/lib/spack/spack/compilers/cce.py index eee78f54559..2bc00ec7f56 100644 --- a/lib/spack/spack/compilers/cce.py +++ b/lib/spack/spack/compilers/cce.py @@ -89,6 +89,11 @@ def cxx14_flag(self): return "-std=c++14" 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: