MCPcopy Create free account
hub / github.com/ClangBuiltLinux/tc-build / __init__

Method __init__

tc_build/tools.py:54–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52
53class HostTools(Tools):
54 def __init__(self) -> None:
55 super().__init__()
56
57 self.cc = self.find_host_cc()
58 self.cc_is_clang = 'clang' in self.cc.name
59
60 self.ar = self.find_host_ar()
61 self.cxx = self.find_host_cxx()
62 self.ld = self.find_host_ld()
63 self.ranlib = self.find_host_ranlib()
64
65 def find_host_ar(self) -> Path:
66 # GNU ar is the default, no need for llvm-ar if using GCC

Callers

nothing calls this directly

Calls 6

find_host_ccMethod · 0.95
find_host_arMethod · 0.95
find_host_cxxMethod · 0.95
find_host_ldMethod · 0.95
find_host_ranlibMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected