rust: switch to system llvm4.0
This commit is contained in:
parent
e0f17766c5
commit
a3991e750c
|
@ -14,7 +14,7 @@ build_style=configure
|
|||
make_build_args="dist VERBOSE=1"
|
||||
only_for_archs="i686 x86_64 x86_64-musl"
|
||||
hostmakedepends="cmake curl pkg-config python"
|
||||
makedepends="libffi-devel ncurses-devel zlib-devel"
|
||||
makedepends="libffi-devel llvm4.0 ncurses-devel zlib-devel"
|
||||
short_desc="Safe, concurrent, practical systems language"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
homepage="http://www.rust-lang.org/"
|
||||
|
@ -59,6 +59,8 @@ i686)
|
|||
esac
|
||||
|
||||
post_extract() {
|
||||
rm -rf src/llvm
|
||||
|
||||
mkdir -p stage0
|
||||
cp -flr ../rustc-*/rustc/* stage0
|
||||
cp -flr ../rust-std-*/rust-std-*/* stage0
|
||||
|
@ -118,6 +120,7 @@ do_configure() {
|
|||
--disable-docs
|
||||
--disable-codegen-tests
|
||||
--enable-ccache
|
||||
--llvm-root=/usr
|
||||
--enable-local-rust
|
||||
--local-rust-root=$wrksrc/stage0
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue