llvm-builder: do not build clang by default (#168)

We only need LLD for cross compilation. This significantly reduces the LLVM build times in a cross compilation scenario. Update the README as a drive-by.
This commit is contained in:
Cyrill Leutwiler
2025-01-17 16:03:04 +01:00
committed by GitHub
parent 06f43083c3
commit cec283986f
8 changed files with 38 additions and 36 deletions
@@ -36,13 +36,7 @@ pub enum Subcommand {
targets: Vec<String>,
/// LLVM projects to build LLVM with.
#[arg(
long,
default_values_t = vec![
revive_llvm_builder::llvm_project::LLVMProject::CLANG,
revive_llvm_builder::llvm_project::LLVMProject::LLD
]
)]
#[arg(long)]
llvm_projects: Vec<revive_llvm_builder::llvm_project::LLVMProject>,
/// Whether to build LLVM with run-time type information (RTTI) enabled.