warricksothr / RustBuild

Scripts and patches to auto build Rustc and Cargo on ARM
MIT License
104 stars 8 forks source link

Use latest LLVM without rebuilding every time #15

Closed MagaTailor closed 8 years ago

MagaTailor commented 8 years ago

It's been possible to use the system LLVM for quite a while but it's probably better to use the bundled, updated source. Here's what I've been doing lately:

Once llvm gets updated, do a full llvm build, preserve the llvm directory. On every subsequent Rust build it's possible to:

I'm curious how well this method compares to ccache, as similar to using --llvm-root, you get to stage0 immediately.

MagaTailor commented 8 years ago

https://github.com/rust-lang/rust/pull/32839