Home
last modified time | relevance | path

Searched refs:cpp_compiler (Results 1 – 6 of 6) sorted by relevance

/external/pytorch/torch/_inductor/
Dcpp_builder.py159 def _is_apple_clang(cpp_compiler: str) -> bool:
160 version_string = subprocess.check_output([cpp_compiler, "--version"]).decode("utf8")
164 def _is_clang(cpp_compiler: str) -> bool:
167 return _is_apple_clang(cpp_compiler)
170 if re.search(r"((clang$)|(clang\+\+$))", cpp_compiler):
174 return bool(re.search(r"(clang-cl)", cpp_compiler))
175 return bool(re.search(r"(clang|clang\+\+)", cpp_compiler))
178 def _is_gcc(cpp_compiler: str) -> bool:
179 if sys.platform == "darwin" and _is_apple_clang(cpp_compiler):
181 return bool(re.search(r"(gcc|g\+\+)", cpp_compiler))
[all …]
Dcodecache.py1134 def cpp_compiler() -> str: function
1200 return bool(re.search(r"(gcc|g\+\+)", cpp_compiler()))
1205 cxx = cpp_compiler()
1214 return bool(re.search(r"(clang|clang\+\+)", cpp_compiler()))
1245 compiler_info = get_compiler_version_info(cpp_compiler())
1536 if platform.system() == "Darwin" and "clang" in cpp_compiler():
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/
Dmeson.build13 cpp_compiler = meson.get_compiler('cpp') variable
15 cpp_compiler.get_supported_arguments('-Wno-dollar-in-identifier-extension'),
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/
Dmeson.build13 cpp_compiler = meson.get_compiler('cpp') variable
15 cpp_compiler.get_supported_arguments('-Wno-dollar-in-identifier-extension'),
/external/ComputeLibrary/
DSConstruct242 cpp_compiler = os.environ.get('CXX', default_cpp_compiler)
245 if env['os'] == 'android' and ( 'clang++' not in cpp_compiler or 'clang' not in c_compiler ):
248 if 'clang++' in cpp_compiler:
250 elif 'armclang' in cpp_compiler:
255 if cpp_compiler == 'g++':
390 env['CXX'] = env['compiler_cache']+ " " + compiler_prefix + cpp_compiler
416 if 'armclang' in cpp_compiler:
418 elif 'clang++' not in cpp_compiler:
436 if 'clang++' in cpp_compiler and env['os'] == 'android':
DSConscript329 cpp_compiler = os.environ.get('CXX', default_cpp_compiler)