allBuilt($binDir)) { return CheckResult::ok($binDir); } return CheckResult::fail('llvm-tools are not built', 'build-llvm-tools'); } #[FixItem('build-llvm-tools')] public function fixLlvmTools(): bool { $installer = new PackageInstaller(interactive: false); $installer->addInstallPackage('llvm-tools'); $installer->run(true); new llvm_tools()->buildForHost(); return new llvm_tools()->allBuilt(PKG_ROOT_PATH . '/llvm-tools/bin'); } }