public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/
Date: Fri, 26 Apr 2019 15:13:17 +0000 (UTC)	[thread overview]
Message-ID: <1556291592.e2bdd86afcb2a5c3a390fbecf7ee2a4a6de5e26d.slyfox@gentoo> (raw)

commit:     e2bdd86afcb2a5c3a390fbecf7ee2a4a6de5e26d
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 15:12:46 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 15:13:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bdd86a

dev-util/ccache: bump up to 3.7

Notable changes:
- home page is moved to ccache.dev
- releases moved to github

See https://github.com/ccache/ccache/issues/396

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/ccache/Manifest          |  1 +
 dev-util/ccache/ccache-3.7.ebuild | 84 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
index 90c9e12b9d0..e046671cf77 100644
--- a/dev-util/ccache/Manifest
+++ b/dev-util/ccache/Manifest
@@ -3,3 +3,4 @@ DIST ccache-3.3.4.tar.xz 314468 BLAKE2B 6e465598df428979a2c821a698afef25c05d0904
 DIST ccache-3.5.1a.tar.xz 335888 BLAKE2B 66c044b39dd42c91327e02528a4d6c917ac012c2d08190f7dbc2029ed6d1525aa3a6262fb7528f1721cec510306baa59b498a5afbcf955bb6aaf13594c00d178 SHA512 8a2e9eb06ba21fcf92084afd94fc221168693de545e0448f4da2098bef2bcbfdb017117c325b0bab4931b9e346dd8c1a9d1ebaed0cdc36496d9452985cdd1b43
 DIST ccache-3.5.tar.xz 334668 BLAKE2B e3e2b63e8c4c8074514fb3a5794325fa05a4d52f48fc436ab0ad21b643ca4d1a1502c989cb47ed68972b105d4f1642e4fadc5ecef1235fe2bd3be5d218094a79 SHA512 92181fb794f06dc231baa4193c37e8f1d844c9281fd64bcb8f4b35c87b4a88dfc9bf36b810b37151ee85699778fcd3783818949a7010e619aeca7e3b33b7a2e3
 DIST ccache-3.6.tar.xz 340608 BLAKE2B fa92180f53612f84b71c68da4acccefee129e5bfc9b269caa45a9c16219ed835ccf034d61ff938a54f3673fa23410d960475cc37cf5d27d7be641e7518a43f0a SHA512 13ce4c9084983ce77617cf005235987715cd6b630dac13a17cb9badce24aab71bff505e63da4206878e32d337cc674f05fbf78540711ec5b33a0b8384c47fa0d
+DIST ccache-3.7.tar.xz 348764 BLAKE2B a80ac0d5d94ff5d1aaee45a186037a9c8346c5e44d00afd29a4ba40b4fca877cd30b82357f344bed77f5caeb333bacfde8aff46d8fb866b484a3a1d3e5f513f5 SHA512 b8a5944072fcf8280b63ddbd6e2fcbc04d4ee99c0b2d3bfb9b47f61e760ce1dc5e191cf3f6437431b6d08af6cfb2162d6a2021ad49fd6746e531eb03cc26fd2e

diff --git a/dev-util/ccache/ccache-3.7.ebuild b/dev-util/ccache/ccache-3.7.ebuild
new file mode 100644
index 00000000000..b8912ddeeee
--- /dev/null
+++ b/dev-util/ccache/ccache-3.7.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1
+
+DESCRIPTION="fast compiler cache"
+HOMEPAGE="https://ccache.dev/"
+SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils
+	sys-libs/zlib"
+RDEPEND="${DEPEND}
+	dev-util/shadowman
+	sys-apps/gentoo-functions"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
+	"${FILESDIR}"/${PN}-3.5-nvcc-test.patch
+	"${FILESDIR}"/${PN}-3.6-disable-sized-cleanup.patch #649440
+)
+
+src_prepare() {
+	default
+
+	# make sure we always use system zlib
+	rm -rf src/zlib || die
+	sed \
+		-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
+		"${FILESDIR}"/ccache-config-3 > ccache-config || die
+}
+
+src_compile() {
+	emake V=1
+}
+
+src_test() {
+	emake check V=1
+}
+
+src_install() {
+	DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
+	default
+
+	dobin ccache-config
+	insinto /usr/share/shadowman/tools
+	newins - ccache <<<'/usr/lib/ccache/bin'
+
+	DOC_CONTENTS="
+To use ccache with **non-Portage** C compiling, add
+'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before
+'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with
+no additional steps.  If this is your first install of ccache, type
+something like this to set a maximum cache size of 2GB:\\n
+# ccache -M 2G\\n
+If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
+# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
+ccache now supports sys-devel/clang and dev-lang/icc, too!"
+
+	readme.gentoo_create_doc
+}
+
+pkg_prerm() {
+	if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
+		eselect compiler-shadow remove ccache
+	fi
+}
+
+pkg_postinst() {
+	if [[ ${ROOT:-/} == / ]]; then
+		eselect compiler-shadow update ccache
+	fi
+
+	# nuke broken symlinks from previous versions that shouldn't exist
+	rm -rf "${EROOT}"/usr/lib/ccache.backup || die
+
+	readme.gentoo_print_elog
+}


             reply	other threads:[~2019-04-26 15:13 UTC|newest]

Thread overview: 325+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-26 15:13 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25  5:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/ccache/ Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-25  5:46 Arthur Zamarin
2024-10-24 18:34 Arthur Zamarin
2024-10-07 15:56 Sam James
2024-09-13  1:23 Sam James
2024-09-12 12:27 Arthur Zamarin
2024-09-06  3:33 Sam James
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-09-05 23:10 Jakov Smolić
2024-08-10 23:31 Sam James
2024-06-30 19:41 Sam James
2024-06-05  7:00 Arthur Zamarin
2024-05-31 19:57 Arthur Zamarin
2024-05-31 19:57 Arthur Zamarin
2024-05-18 17:06 Sam James
2024-05-04  9:48 Arthur Zamarin
2024-04-29  2:46 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-04-29  2:38 Sam James
2024-03-28  5:06 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  7:25 Sam James
2024-02-06  6:47 Sam James
2024-02-06  6:47 Sam James
2024-02-06  5:36 Sam James
2023-12-23 19:59 Arthur Zamarin
2023-12-18  9:01 Arthur Zamarin
2023-12-16 19:16 Arthur Zamarin
2023-12-16 19:16 Arthur Zamarin
2023-12-16 11:36 Sam James
2023-12-16 11:33 Sam James
2023-12-16 11:29 Arthur Zamarin
2023-10-02 17:27 Sam James
2023-08-29 23:21 Sam James
2023-06-29  6:18 Sam James
2023-06-27 11:28 Sam James
2023-06-27 10:09 Sam James
2023-06-27  9:08 Jakov Smolić
2023-06-27  9:08 Jakov Smolić
2023-06-27  8:04 Sam James
2023-06-27  7:58 Sam James
2023-06-13 18:12 Sam James
2023-06-12 20:43 Sam James
2023-05-14 10:29 Andreas Sturmlechner
2023-05-14  4:44 Sam James
2023-03-13 22:45 Sam James
2023-03-13 22:35 Sam James
2022-12-16 20:45 Arthur Zamarin
2022-12-02 11:23 Arthur Zamarin
2022-11-29  6:58 Jakov Smolić
2022-11-25 20:40 Arthur Zamarin
2022-11-25  9:58 Arthur Zamarin
2022-11-25  9:15 Matthew Smith
2022-11-25  6:33 Arthur Zamarin
2022-11-25  6:02 Sam James
2022-11-25  5:16 Sam James
2022-11-25  5:16 Sam James
2022-10-29 15:04 Sam James
2022-10-29 15:04 Sam James
2022-10-24 12:18 Sam James
2022-10-18 19:20 Sam James
2022-10-17 19:23 Sam James
2022-08-27 18:57 Sam James
2022-05-14  5:32 WANG Xuerui
2022-04-09 11:28 Sam James
2022-01-03 12:36 Sam James
2022-01-03  9:19 Sam James
2022-01-02 19:31 Arthur Zamarin
2022-01-02  9:59 Sam James
2022-01-02  0:04 Sam James
2022-01-01  9:37 Arthur Zamarin
2022-01-01  5:34 Sam James
2022-01-01  5:34 Sam James
2021-11-18  8:59 Sam James
2021-11-18  8:59 Sam James
2021-11-18  8:59 Sam James
2021-11-14  5:25 Sam James
2021-11-02 22:21 Sam James
2021-11-02  9:14 Agostino Sarubbo
2021-10-30 17:24 Agostino Sarubbo
2021-10-29  6:01 Agostino Sarubbo
2021-10-29  5:52 Agostino Sarubbo
2021-10-29  2:00 Sam James
2021-10-29  2:00 Sam James
2021-10-29  2:00 Sam James
2021-10-08  5:02 Sam James
2021-10-01  3:12 Sam James
2021-09-18  4:25 Sam James
2021-09-17  9:20 Agostino Sarubbo
2021-09-16 18:56 Sam James
2021-09-16  8:05 Agostino Sarubbo
2021-09-16  8:03 Agostino Sarubbo
2021-09-15  7:59 Agostino Sarubbo
2021-09-12  0:48 Sam James
2021-09-06 19:59 Matt Turner
2021-08-27 21:30 Sam James
2021-07-27  3:16 Sam James
2021-07-26 11:17 Sam James
2021-07-25 20:09 Sam James
2021-07-23  7:19 Agostino Sarubbo
2021-07-23  7:18 Agostino Sarubbo
2021-07-23  7:17 Agostino Sarubbo
2021-07-22 18:56 Sergei Trofimovich
2021-06-19  9:01 Sergei Trofimovich
2021-06-12 16:05 Sam James
2021-06-12 16:05 Sam James
2021-06-12 15:43 Sam James
2021-06-12 15:43 Sam James
2021-06-12 13:46 Sam James
2021-06-12 13:46 Sam James
2021-06-12 13:46 Sam James
2021-06-11 22:51 Sergei Trofimovich
2021-05-10 21:09 Sergei Trofimovich
2021-05-09 11:53 Sergei Trofimovich
2021-05-04 19:13 Sam James
2021-05-03 16:58 Sam James
2021-05-03 16:57 Sam James
2021-05-03 16:55 Sam James
2021-05-03 16:53 Sam James
2021-05-03 16:51 Sam James
2021-05-02  9:24 Sergei Trofimovich
2021-04-02  9:54 Sergei Trofimovich
2021-04-01 17:55 Sergei Trofimovich
2021-03-28 13:38 Sam James
2021-03-26 11:50 Agostino Sarubbo
2021-03-25 21:29 Sam James
2021-03-25 16:19 Agostino Sarubbo
2021-03-24 19:42 Sam James
2021-03-24 19:42 Sam James
2021-03-24 19:42 Sam James
2021-03-24 19:42 Sam James
2021-02-06 18:27 Sergei Trofimovich
2021-02-06 18:04 Sergei Trofimovich
2021-02-06  0:02 Sam James
2021-02-05 10:13 Sergei Trofimovich
2021-01-03 19:40 Sam James
2021-01-03 19:40 Sam James
2020-12-31 20:21 Sergei Trofimovich
2020-12-31 11:22 Sergei Trofimovich
2020-12-31  1:20 Sam James
2020-11-30  8:14 Sergei Trofimovich
2020-11-14 19:52 Sergei Trofimovich
2020-11-14  9:24 Mikle Kolyada
2020-11-04  8:16 Sergei Trofimovich
2020-11-04  7:58 Sergei Trofimovich
2020-11-04  0:58 Sam James
2020-11-03 22:47 Sergei Trofimovich
2020-11-03 18:50 Sergei Trofimovich
2020-11-03 11:54 Sam James
2020-11-02 10:27 Sam James
2020-09-19  7:38 Sergei Trofimovich
2020-09-04 15:17 Sam James
2020-08-30 23:18 Sam James
2020-08-29 15:24 Thomas Deutschmann
2020-08-29 14:48 Thomas Deutschmann
2020-08-25  0:22 Sam James
2020-08-24 17:33 Sergei Trofimovich
2020-08-06 21:22 Sergei Trofimovich
2020-08-05 14:06 Agostino Sarubbo
2020-08-01  9:01 Sergei Trofimovich
2020-08-01  8:53 Sergei Trofimovich
2020-07-28 17:28 Sergei Trofimovich
2020-07-27 18:36 Sergei Trofimovich
2020-07-25 21:50 Sam James
2020-07-25 19:33 Sam James
2020-07-25 11:17 Sam James
2020-07-21 19:56 Sergei Trofimovich
2020-07-05 10:56 Sergei Trofimovich
2020-06-22 21:16 Sergei Trofimovich
2020-05-30 19:48 Michał Górny
2020-05-29 22:13 Sergei Trofimovich
2020-05-28 15:45 Agostino Sarubbo
2020-05-28 15:39 Agostino Sarubbo
2020-05-28 12:32 Agostino Sarubbo
2020-05-27  6:28 Sergei Trofimovich
2020-05-26 19:31 Agostino Sarubbo
2020-05-25 21:33 Sergei Trofimovich
2020-05-25  9:36 Sergei Trofimovich
2020-05-25  9:29 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-07 10:21 Mart Raudsepp
2020-04-04 15:56 Sergei Trofimovich
2020-03-29 17:21 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-03-22 14:35 Agostino Sarubbo
2020-03-22 14:30 Agostino Sarubbo
2020-03-22 11:07 Agostino Sarubbo
2020-03-22 10:56 Agostino Sarubbo
2020-03-22 10:55 Agostino Sarubbo
2020-03-22 10:54 Agostino Sarubbo
2020-03-22 10:53 Agostino Sarubbo
2020-03-22 10:53 Agostino Sarubbo
2020-03-19 11:40 Mart Raudsepp
2020-03-16 23:43 Sergei Trofimovich
2020-03-13 19:47 Sergei Trofimovich
2020-02-16  4:28 Sergei Trofimovich
2020-02-13 20:58 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2020-02-13  8:57 Agostino Sarubbo
2020-02-12 16:14 Agostino Sarubbo
2020-01-09 11:50 Agostino Sarubbo
2020-01-09 11:49 Agostino Sarubbo
2020-01-08  9:27 Sergei Trofimovich
2020-01-08  9:27 Sergei Trofimovich
2020-01-08  8:15 Agostino Sarubbo
2020-01-07 19:22 Sergei Trofimovich
2020-01-06 23:27 Sergei Trofimovich
2019-11-18 20:00 Sergei Trofimovich
2019-11-14 11:55 Agostino Sarubbo
2019-11-12 21:10 Matt Turner
2019-11-07 15:54 Aaron Bauman
2019-11-03 13:33 Mikle Kolyada
2019-10-24 11:41 Agostino Sarubbo
2019-10-24 11:40 Agostino Sarubbo
2019-10-24  9:12 Agostino Sarubbo
2019-10-23 13:39 Agostino Sarubbo
2019-10-23 12:30 Agostino Sarubbo
2019-10-22 21:34 Sergei Trofimovich
2019-10-22 21:34 Sergei Trofimovich
2019-09-13 15:35 Mikle Kolyada
2019-09-13 15:35 Mikle Kolyada
2019-09-13 15:35 Mikle Kolyada
2019-09-13  6:47 Sergei Trofimovich
2019-08-23 16:33 Agostino Sarubbo
2019-08-23 10:00 Agostino Sarubbo
2019-08-19 11:37 Agostino Sarubbo
2019-08-19  6:57 Sergei Trofimovich
2019-08-19  5:43 Agostino Sarubbo
2019-08-18 10:12 Sergei Trofimovich
2019-08-18 10:10 Sergei Trofimovich
2019-08-18 10:08 Sergei Trofimovich
2019-08-18  9:10 Sergei Trofimovich
2019-08-18  2:14 Aaron Bauman
2019-08-17 23:10 Sergei Trofimovich
2019-08-17 23:10 Sergei Trofimovich
2019-07-29 10:50 Mikle Kolyada
2019-07-29 10:50 Mikle Kolyada
2019-07-29 10:50 Mikle Kolyada
2019-07-29 10:50 Mikle Kolyada
2019-07-26  8:47 Agostino Sarubbo
2019-07-24  8:19 Agostino Sarubbo
2019-07-22 13:54 Agostino Sarubbo
2019-07-21 14:58 Sergei Trofimovich
2019-07-21  8:37 Sergei Trofimovich
2019-07-21  8:25 Sergei Trofimovich
2019-07-21  8:19 Sergei Trofimovich
2019-07-21  8:16 Sergei Trofimovich
2019-07-20 21:23 Aaron Bauman
2019-07-20  8:11 Sergei Trofimovich
2019-07-19 18:57 Sergei Trofimovich
2019-07-19 18:57 Sergei Trofimovich
2019-07-19 18:42 Sergei Trofimovich
2019-06-05 13:29 Agostino Sarubbo
2019-06-01  8:14 Sergei Trofimovich
2019-05-07 18:03 Tobias Klausmann
2019-05-05 16:09 Mikle Kolyada
2019-05-02 16:39 Sergei Trofimovich
2019-04-27 16:25 Sergei Trofimovich
2019-04-27 16:03 Sergei Trofimovich
2019-04-27 15:48 Sergei Trofimovich
2019-04-27  4:30 Aaron Bauman
2019-04-26 19:47 Aaron Bauman
2019-02-17 15:44 Mikle Kolyada
2019-02-12 12:42 Mikle Kolyada
2019-02-12 12:42 Mikle Kolyada
2019-02-12 12:42 Mikle Kolyada
2019-01-15 22:11 Sergei Trofimovich
2019-01-03 18:45 Sergei Trofimovich
2018-10-28 11:20 Sergei Trofimovich
2018-10-15 21:13 Sergei Trofimovich
2018-09-03 21:22 Sergei Trofimovich
2018-09-03 21:22 Sergei Trofimovich
2018-05-25  3:48 Matt Turner
2018-05-22 22:37 Sergei Trofimovich
2018-05-14 11:49 Tobias Klausmann
2018-05-06 19:56 Sergei Trofimovich
2018-05-02 17:11 Mart Raudsepp
2018-05-01  7:41 Markus Meier
2018-04-24 18:55 Sergei Trofimovich
2018-04-21 22:18 Aaron Bauman
2018-04-21 21:18 Sergei Trofimovich
2018-04-21 20:22 Andreas Hüttel
2018-04-21 20:19 Andreas Hüttel
2018-03-28  4:22 Matt Turner
2018-03-18 10:27 Sergei Trofimovich
2018-03-17 21:42 Matt Turner
2018-03-17 21:42 Matt Turner
2018-03-17 19:45 Matt Turner
2018-03-14  6:00 Markus Meier
2018-03-11 22:20 Sergei Trofimovich
2018-03-11  6:08 Matt Turner
2018-03-03  9:19 Michał Górny
2017-11-26 11:39 David Seifert
2017-11-09 22:05 Mike Gilbert
2017-08-26 13:37 Michał Górny
2017-08-26 13:37 Michał Górny
2017-08-26 13:37 Michał Górny
2017-02-18  5:12 Mike Frysinger
2016-07-21 16:05 Mike Frysinger
2016-05-27 20:40 Mike Frysinger
2016-05-26  0:46 Matt Turner
2016-05-24  6:37 Jeroen Roovers
2016-05-23  4:46 Jeroen Roovers
2016-04-22 20:02 Markus Meier
2016-04-17 16:33 Mike Frysinger
2016-04-09 13:46 Agostino Sarubbo
2015-10-08 20:20 Mike Frysinger
2015-08-16 14:21 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1556291592.e2bdd86afcb2a5c3a390fbecf7ee2a4a6de5e26d.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox