mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
rust: switch to system llvm4.0
This commit is contained in:
parent
e0f17766c5
commit
a3991e750c
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,7 @@ build_style=configure
|
||||||
make_build_args="dist VERBOSE=1"
|
make_build_args="dist VERBOSE=1"
|
||||||
only_for_archs="i686 x86_64 x86_64-musl"
|
only_for_archs="i686 x86_64 x86_64-musl"
|
||||||
hostmakedepends="cmake curl pkg-config python"
|
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"
|
short_desc="Safe, concurrent, practical systems language"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
homepage="http://www.rust-lang.org/"
|
homepage="http://www.rust-lang.org/"
|
||||||
|
@ -59,6 +59,8 @@ i686)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
rm -rf src/llvm
|
||||||
|
|
||||||
mkdir -p stage0
|
mkdir -p stage0
|
||||||
cp -flr ../rustc-*/rustc/* stage0
|
cp -flr ../rustc-*/rustc/* stage0
|
||||||
cp -flr ../rust-std-*/rust-std-*/* stage0
|
cp -flr ../rust-std-*/rust-std-*/* stage0
|
||||||
|
@ -118,6 +120,7 @@ do_configure() {
|
||||||
--disable-docs
|
--disable-docs
|
||||||
--disable-codegen-tests
|
--disable-codegen-tests
|
||||||
--enable-ccache
|
--enable-ccache
|
||||||
|
--llvm-root=/usr
|
||||||
--enable-local-rust
|
--enable-local-rust
|
||||||
--local-rust-root=$wrksrc/stage0
|
--local-rust-root=$wrksrc/stage0
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue