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

Method build

tc_build/kernel.py:253–261  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

251 super().__init__('loongarch')
252
253 def build(self) -> None:
254 # https://git.kernel.org/linus/4d35d6e56447a5d09ccd1c1b3a6d3783b2947670
255 if self.get_toolchain_version() < (min_version := (18, 0, 0)):
256 tc_build.utils.print_warning(
257 f"LoongArch does not build with LLVM < {'.'.join(map(str, min_version))}, skipping build..."
258 )
259 return
260
261 super().build()
262
263
264class MIPSKernelBuilder(KernelBuilder):

Callers

nothing calls this directly

Calls 2

get_toolchain_versionMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected