summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-18 02:11:37 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-18 02:14:04 -0700
commite8c57984feff807b2020f6f17f69190b9b80b332 (patch)
tree0aef3ed65ff0c824a6f8243a739954a1c32273b4
parentdev-lang/rust: add miri patch to 1.53.0 (diff)
downloadgentoo-e8c57984feff807b2020f6f17f69190b9b80b332.tar.gz
gentoo-e8c57984feff807b2020f6f17f69190b9b80b332.tar.bz2
gentoo-e8c57984feff807b2020f6f17f69190b9b80b332.zip
dev-lang/rust: omit dist target in src_compile
it generates tarballs for all components and take considerable time and disk space. Disabling this should reduce disk space requrements. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--dev-lang/rust/rust-1.53.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-lang/rust/rust-1.53.0.ebuild b/dev-lang/rust/rust-1.53.0.ebuild
index c48d00bb2a64..cb50814975f0 100644
--- a/dev-lang/rust/rust-1.53.0.ebuild
+++ b/dev-lang/rust/rust-1.53.0.ebuild
@@ -294,6 +294,7 @@ src_configure() {
rust_target="$(rust_abi)"
cat <<- _EOF_ > "${S}"/config.toml
+ changelog-seen = 2
[llvm]
download-ci-llvm = false
optimize = $(toml_usex !debug)
@@ -499,7 +500,8 @@ src_compile() {
(
IFS=$'\n'
env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
- "${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
+ "${EPYTHON}" ./x.py build --stage 2 \
+ -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
)
}
@@ -563,7 +565,8 @@ src_install() {
(
IFS=$'\n'
env $(cat "${S}"/config.env) DESTDIR="${D}" \
- "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
+ "${EPYTHON}" ./x.py install --keep-stage 2 \
+ -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
)
# bug #689562, #689160