summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorEisuke Kawashima <e-kwsm@users.noreply.github.com>2023-02-22 10:54:58 +0900
committerDylan Baker <dylan@pnwbakers.com>2025-10-29 11:26:50 -0700
commit6c88d9992192379511c4777c526786cbacf06167 (patch)
treee67850665e1a898f97dc0df909d0e7c7be00b8d9 /mesonbuild/compilers/cpp.py
parent5d959695beee5d676f92954f68105357de29cae7 (diff)
downloadmeson-6c88d9992192379511c4777c526786cbacf06167.tar.gz
compilers/nvidia_hpc: support C/C++ -std
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index fa032ec79..8533373a8 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -158,7 +158,7 @@ class CPPCompiler(CLikeCompiler, Compiler):
}
# Currently, remapping is only supported for Clang, Elbrus and GCC
- assert self.id in frozenset(['clang', 'lcc', 'gcc', 'emscripten', 'armltdclang', 'intel-llvm'])
+ assert self.id in frozenset(['clang', 'lcc', 'gcc', 'emscripten', 'armltdclang', 'intel-llvm', 'nvidia_hpc'])
if cpp_std not in CPP_FALLBACKS:
# 'c++03' and 'c++98' don't have fallback types