rust: enable use of prebuilt llvm toolchain
llvm-bpf is not ready for generic usage, so use prebuilt llvm toolchain provided by the rust project to speedup build (~1hour faster). Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
bc4d9429de
commit
09d482c3b2
1 changed files with 1 additions and 3 deletions
|
@ -66,13 +66,11 @@ HOST_CONFIGURE_ARGS = \
|
||||||
--datadir=$(CARGO_HOME)/share \
|
--datadir=$(CARGO_HOME)/share \
|
||||||
--mandir=$(CARGO_HOME)/man \
|
--mandir=$(CARGO_HOME)/man \
|
||||||
--dist-compression-formats=xz \
|
--dist-compression-formats=xz \
|
||||||
--enable-llvm-link-shared \
|
|
||||||
--enable-llvm-plugins \
|
|
||||||
--enable-missing-tools \
|
--enable-missing-tools \
|
||||||
--enable-ninja \
|
|
||||||
--disable-sanitizers \
|
--disable-sanitizers \
|
||||||
--release-channel=stable \
|
--release-channel=stable \
|
||||||
--enable-cargo-native-static \
|
--enable-cargo-native-static \
|
||||||
|
--set=llvm.download-ci-llvm=true \
|
||||||
$(TARGET_CONFIGURE_ARGS)
|
$(TARGET_CONFIGURE_ARGS)
|
||||||
|
|
||||||
define Host/Uninstall
|
define Host/Uninstall
|
||||||
|
|
Loading…
Reference in a new issue