build: Add option to use clang-13 explicitly
This commit is contained in:
1 parent
c1ed79757c
commit
539d1cfeae
1 file changed
+2
-1
@@ -61,7 +61,8 @@ def _parse_compiler(arg: str or None):
|
||||
'''Parses compiler input (from cli) and returns a tuple of c, cxx compilers respectively'''
|
||||
known_compilers = {
|
||||
'gcc': CMakeCompilerPair('gcc', 'gcc-11', 'g++-11'),
|
||||
'clang': CMakeCompilerPair('clang', 'clang', 'clang++')
|
||||
'clang': CMakeCompilerPair('clang', 'clang', 'clang++'),
|
||||
'clang-13': CMakeCompilerPair('clang', 'clang-13', 'clang++-13'),
|
||||
}
|
||||
if arg in known_compilers:
|
||||
return known_compilers[arg]
|
||||
|
||||
Reference in new issue
Block a user