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 8A0A8138334 for ; Wed, 24 Apr 2019 18:06:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BE56E094E; Wed, 24 Apr 2019 18:06:54 +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 21EEAE094E for ; Wed, 24 Apr 2019 18:06:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3919234253F for ; Wed, 24 Apr 2019 18:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C3A64F6 for ; Wed, 24 Apr 2019 18:06:50 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1556129096.6b8aa7f8d6fe088fc68fde671bc20d5b061e0507.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/go/go-1.12.4.ebuild dev-lang/go/go-9999.ebuild X-VCS-Directories: dev-lang/go/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6b8aa7f8d6fe088fc68fde671bc20d5b061e0507 X-VCS-Branch: master Date: Wed, 24 Apr 2019 18:06:50 +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: 6971467c-2925-4fc2-867b-9a2789a3e752 X-Archives-Hash: 0e083df2becbb5a030ad7dc72c3b4585 commit: 6b8aa7f8d6fe088fc68fde671bc20d5b061e0507 Author: Michał Górny gentoo org> AuthorDate: Tue Apr 16 06:25:39 2019 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Apr 24 18:04:56 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8aa7f8 dev-lang/go: Unpack bootstrap archive for current platform only Unpack the bootstrap archive for the current platform rather than all bootstrap tarballs in SRC_URI. This provides significant space savings during build. Closes: https://bugs.gentoo.org/680860 Signed-off-by: Michał Górny gentoo.org> Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.12.4.ebuild | 5 ++++- dev-lang/go/go-9999.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-lang/go/go-1.12.4.ebuild b/dev-lang/go/go-1.12.4.ebuild index 7e249d23dab..cda631645e8 100644 --- a/dev-lang/go/go-1.12.4.ebuild +++ b/dev-lang/go/go-1.12.4.ebuild @@ -157,8 +157,11 @@ src_unpack() { if [[ ${PV} = 9999 ]]; then git-r3_src_unpack + else + unpack "go${MY_PV}.src.tar.gz" fi - default + use gccgo || + unpack "go-$(go_os ${CBUILD})-$(go_arch ${CBUILD})-${BOOTSTRAP_VERSION}.tbz" } src_compile() diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 4cb21b53d19..deea6d5a588 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -157,8 +157,11 @@ src_unpack() { if [[ ${PV} = 9999 ]]; then git-r3_src_unpack + else + unpack "go${MY_PV}.src.tar.gz" fi - default + use gccgo || + unpack "go-$(go_os ${CBUILD})-$(go_arch ${CBUILD})-${BOOTSTRAP_VERSION}.tbz" } src_compile()