diff options
author | 2019-09-19 10:42:52 +0300 | |
---|---|---|
committer | 2019-09-19 10:42:52 +0300 | |
commit | 3e3671ea7d65a2d0e9480c618804866dace895f4 (patch) | |
tree | e0ea2f248c16650cb0af778f4082a35275dcc005 /dev-lang | |
parent | Merge pull request #441 from stefson/rust-bin-999 (diff) | |
download | rust-3e3671ea7d65a2d0e9480c618804866dace895f4.tar.gz rust-3e3671ea7d65a2d0e9480c618804866dace895f4.tar.bz2 rust-3e3671ea7d65a2d0e9480c618804866dace895f4.zip |
dev-lang/rust-9999: Allows to build with system LLVM-8.
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-9999.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild index f192c28..15f831c 100644 --- a/dev-lang/rust/rust-9999.ebuild +++ b/dev-lang/rust/rust-9999.ebuild @@ -42,8 +42,8 @@ IUSE="clippy cpu_flags_x86_sse2 debug doc libressl rls rustfmt system-llvm wasm # 3. Specify LLVM_MAX_SLOT, e.g. 8. LLVM_DEPEND=" || ( - sys-devel/llvm:9[llvm_targets_WebAssembly?] - wasm? ( =sys-devel/lld-9* ) + sys-devel/llvm:8[llvm_targets_WebAssembly?] + wasm? ( >=sys-devel/lld-8 ) ) <sys-devel/llvm-10:= " @@ -79,6 +79,7 @@ RDEPEND="${COMMON_DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) + ?? ( system-llvm sanitize ) " #PATCHES=() @@ -109,7 +110,7 @@ pkg_setup() { pre_build_checks python-any-r1_pkg_setup if use system-llvm; then - EGIT_SUBMODULES=( "*" "-src/llvm" ) + EGIT_SUBMODULES=( "*" "-src/llvm-project" ) llvm_pkg_setup fi } |