From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCE971382C5 for ; Fri, 18 Jun 2021 09:16:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6760E07C5; Fri, 18 Jun 2021 09:16:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE6BDE07C5 for ; Fri, 18 Jun 2021 09:16:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D87FE3406F2 for ; Fri, 18 Jun 2021 09:16:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFE9C7B0 for ; Fri, 18 Jun 2021 09:16:41 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1624007644.e8c57984feff807b2020f6f17f69190b9b80b332.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.53.0.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: e8c57984feff807b2020f6f17f69190b9b80b332 X-VCS-Branch: master Date: Fri, 18 Jun 2021 09:16:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 91350118-6630-48e7-964e-2befddfb6298 X-Archives-Hash: 34fc4b62fdffc3a56c31ba08e4fb1e69 commit: e8c57984feff807b2020f6f17f69190b9b80b332 Author: Georgy Yakovlev gentoo org> AuthorDate: Fri Jun 18 09:11:37 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Fri Jun 18 09:14:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c57984 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 gentoo.org> dev-lang/rust/rust-1.53.0.ebuild | 7 +++++-- 1 file 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 c48d00bb2a6..cb50814975f 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