diff --git a/mesonbuild/compilers/clike.py b/mesonbuild/compilers/clike.py index f62aa2a0e..3d29b7586 100644 --- a/mesonbuild/compilers/clike.py +++ b/mesonbuild/compilers/clike.py @@ -776,7 +776,7 @@ class CLikeCompiler: return True, cached # MSVC does not have compiler __builtin_-s. - if self.get_id() == 'msvc': + if self.get_id() in {'msvc', 'intel-cl'}: return False, False # Detect function as a built-in diff --git a/run_project_tests.py b/run_project_tests.py index b9077c96f..02ceb0494 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -120,7 +120,7 @@ def get_relative_files_list_from_dir(fromdir): def platform_fix_name(fname, compiler, env): # canonicalize compiler - if compiler == 'clang-cl': + if compiler in {'clang-cl', 'intel-cl'}: canonical_compiler = 'msvc' else: canonical_compiler = compiler