From 9f85f72d750a9697b0f9e65b4133652c7cdda7ad Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Wed, 22 Feb 2023 10:54:58 +0900 Subject: [PATCH] compilers/nvidia_hpc: support C/C++ -std --- mesonbuild/compilers/cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index fa032ec7968f..8533373a8dc5 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -158,7 +158,7 @@ def _find_best_cpp_std(self, cpp_std: str) -> str: } # 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