diff options
Diffstat (limited to 'lib/spack/spack/compilers/oneapi.py')
-rw-r--r-- | lib/spack/spack/compilers/oneapi.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/oneapi.py b/lib/spack/spack/compilers/oneapi.py index fbc4d1cc81..61657e96ca 100644 --- a/lib/spack/spack/compilers/oneapi.py +++ b/lib/spack/spack/compilers/oneapi.py @@ -82,6 +82,14 @@ class Oneapi(Compiler): return "-std=c++14" @property + def cxx17_flag(self): + return "-std=c++17" + + @property + def cxx20_flag(self): + return "-std=c++20" + + @property def c99_flag(self): return "-std=c99" |