rust: switch to system llvm4.0

This commit is contained in:
Enno Boland 2018-03-23 17:43:29 +01:00
parent e0f17766c5
commit a3991e750c
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 4 additions and 1 deletions

View File

@ -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
"