Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/torch/_inductor/
H A 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 …]
H A 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():
/aosp_15_r20/external/ComputeLibrary/
H A 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':
H A DSConscript329 cpp_compiler = os.environ.get('CXX', default_cpp_compiler)
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/src/
H A Dmain.rs442 let (toolchain, cpp_compiler) = if args.generate_only { in main()
453 if !build_c(&notices, &intrinsics, cpp_compiler.as_deref(), a32) { in main()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/src/
H A Dmain.rs442 let (toolchain, cpp_compiler) = if args.generate_only { in main()
453 if !build_c(&notices, &intrinsics, cpp_compiler.as_deref(), a32) { in main()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/src/
H A Dmain.rs442 let (toolchain, cpp_compiler) = if args.generate_only { in main()
453 if !build_c(&notices, &intrinsics, cpp_compiler.as_deref(), a32) { in main()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/src/
H A Dmain.rs442 let (toolchain, cpp_compiler) = if args.generate_only { in main()
453 if !build_c(&notices, &intrinsics, cpp_compiler.as_deref(), a32) { in main()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/stdarch/crates/intrinsic-test/src/
H A Dmain.rs442 let (toolchain, cpp_compiler) = if args.generate_only { in main()
453 if !build_c(&notices, &intrinsics, cpp_compiler.as_deref(), a32) { in main()