oneAPI supports cxx17_flag and cxx20_flag (#31274)

This commit is contained in:
Wouter Deconinck 2022-06-28 03:33:19 -05:00 committed by GitHub
parent 15f736e104
commit 8f7f96ae2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,14 @@ def cxx11_flag(self):
def cxx14_flag(self):
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"