IIRC there used to be a line in
config.toml for using system LLVM instead of building from source, but I can't find it now (it's been a while since last time I built rustc). Am I misremembering, or is this feature gone now? I was using this for faster builds when building from scratch.
Hmm, it's still building LLVM for some reason. Do I need to set any other fields?
@osa1 what does your
config.toml look like?
Ah, sorry, I modified
config.toml. It's working now, thanks.
OK so not really rustc related, but if anyone know where can I find a pre-built FileCheck executable that'd be helpful. I'm looking at 7.0 and 10.0 tarballs, none of them includes this.
@osa1 what distro? I was looking at Ubuntu the other day and it has everything, just split into a dozen packages
Ubuntu 18.04. I'm currently using the 7.0 tarball from the LLVM web site.
Ubuntu has packages tho
we use them on CI
/me knows because he fought them yesterday
apt-get install llvm-7-tools
@osa1 but also I'd suggest using LLVM 9 nowadays anyway
which would mean
(for some reason they flipped the dependency edge https://github.com/rust-lang/rust/pull/70989#issuecomment-612218508)
I guess I'm assuming you have bionic-updates
OK after installing llvm-9-dev and pointing to correct llvm-config in config.toml it's building now.
because base bionic stops at LLVM 6: https://packages.ubuntu.com/search?suite=bionic&arch=any&mode=filename&searchon=contents&keywords=FileCheck