Lines Matching refs:compiler
249 def find_toolchain(compiler, tools_dir): argument
250 if compiler == "msvc":
252 if compiler == "clang-cl":
254 if compiler == "gcc":
256 if compiler == "clang":
258 if compiler == "any":
272 file = os.path.basename(compiler)
275 return ("msvc", compiler)
277 return ("clang-cl", compiler)
279 return ("clang", compiler)
281 return ("gcc", compiler)
283 return ("generic", compiler)
284 return ("unknown", compiler)
294 self.compiler = args.compiler
369 compiler_parent_dir = os.path.dirname(self.compiler)
373 self.compiler = os.path.join(host_dir, self.msvc_arch_str, "cl.exe")
377 self.compiler
393 compiler_dir = os.path.dirname(self.compiler)
584 compiler_dir = os.path.dirname(self.compiler)
662 args.append(self.compiler)
757 args.append(self.compiler)
794 args.append(self.compiler)
929 (toolchain_type, toolchain_path) = find_toolchain(args.compiler, args.tools_dir)
931 print("Unable to find toolchain {0}".format(args.compiler))
937 print(" Compiler: " + args.compiler)
951 args.compiler = toolchain_path
952 if not os.path.exists(args.compiler) and not args.dry:
953 raise ValueError("The toolchain {} does not exist.".format(args.compiler))