| 414 | |
| 415 | |
| 416 | class X8664KernelBuilder(KernelBuilder): |
| 417 | def __init__(self) -> None: |
| 418 | super().__init__('x86_64') |
| 419 | |
| 420 | def build(self) -> None: |
| 421 | if not tc_build.utils.path_is_set(self.lsm.location): |
| 422 | msg = 'build() called without configured LinuxSourceManager?' |
| 423 | raise RuntimeError(msg) |
| 424 | |
| 425 | if self.get_toolchain_version() < (15, 0, 0) and self.lsm.get_version() >= (6, 15, 0): |
| 426 | # https://git.kernel.org/linus/7861640aac52bbbb3dc2cd40fb93dfb3b3d0f43c |
| 427 | tc_build.utils.print_warning( |
| 428 | 'x86_64 does not build with LLVM < 15.0.0 and Linux >= 6.15.0, skipping build...' |
| 429 | ) |
| 430 | return |
| 431 | |
| 432 | super().build() |
| 433 | |
| 434 | |
| 435 | class LLVMKernelBuilder(Builder): |
nothing calls this directly
no outgoing calls
no test coverage detected