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, 13 Sep 2019 06:47:48 +0000 (UTC)	[thread overview]
Message-ID: <1568357261.8c9e0fb083435c408c19b11768e06c1f75d78ff8.slyfox@gentoo> (raw)

commit:     8c9e0fb083435c408c19b11768e06c1f75d78ff8
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 06:47:26 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 06:47:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9e0fb0

dev-util/ccache: bump up to 3.7.4

While at it add elfutils test-time dependency.

Reported-by: Gaelan
Closes: https://github.com/gentoo/gentoo/pull/12842
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/ccache/Manifest            |  1 +
 dev-util/ccache/ccache-3.7.4.ebuild | 88 +++++++++++++++++++++++++++++++++++++
 2 files changed, 89 insertions(+)

diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
index 61983edf083..9a0c645c2fa 100644
--- a/dev-util/ccache/Manifest
+++ b/dev-util/ccache/Manifest
@@ -1,3 +1,4 @@
 DIST ccache-3.7.1.tar.xz 349276 BLAKE2B 4f36ccb378b614668777d8be32dd343a0e59e36885a845ba004082f7ca0f69a5e4d01ed08af445c33bff218d33ad0385ed6ade383c06da20e3d0271b2f7423dd SHA512 c2f369c861998f82600272deedc436840af7f85baa355a1e119dacea8f41275d601a0805c3e2a8bc434df621a4e52647bd8654a71c2329542a8b160f7f179cdf
 DIST ccache-3.7.2.tar.xz 351168 BLAKE2B 6e5c8847f961bd5aa2cf325e582ece9e8bfb9c015fe3dcb01c8ca1e1834fdfb82a351ec49e203721486817df58c6aebf28e0af011f470fb739d5016f72191654 SHA512 3290f0609c27a2f063e632392be01ef163273115700f87a6d2954fcfd52fcc14bf66fc147ecbd2b692258317e113bf8be9f7efdf377560e2e8d9dd67cef58147
 DIST ccache-3.7.3.tar.xz 351416 BLAKE2B f825eea87e89246edecbbc0b02cd0f67bbb0e9eb082a4f0c3d9aadca14a20e2d8e9af5f2c067d78393ea92c11878a11423402160210f3f79a3135d345225e0ad SHA512 74e6dd9558273af74aaf085d932955e8ded3d9f7d7b316172109af8f703f00a75fcc27187469d9cb5ba8654bcad12e406bede77cfcacbc0a752d5ca42e52c628
+DIST ccache-3.7.4.tar.xz 351576 BLAKE2B fa2a9c051ff3f9c0550c6301e8d6c9e0eb7ac68687a30a6e8c1ee794ecd6b62925fdc940d493a9fb22d9094c5f2a0f3b2788c6291430ca532661ea6ddef45456 SHA512 cc382f37f7efb30a64f6fc2b136ef7424fe51795a778dbb18dde7c9e80636515f242f51c3ef3231f74d154e65ed9e815abf8241eb1a8f4e0b4fe4f533ea27146

diff --git a/dev-util/ccache/ccache-3.7.4.ebuild b/dev-util/ccache/ccache-3.7.4.ebuild
new file mode 100644
index 00000000000..084b27b64c6
--- /dev/null
+++ b/dev-util/ccache/ccache-3.7.4.ebuild
@@ -0,0 +1,88 @@
+# 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 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
+IUSE="test"
+
+DEPEND="app-arch/xz-utils
+	sys-libs/zlib"
+RDEPEND="${DEPEND}
+	dev-util/shadowman
+	sys-apps/gentoo-functions"
+# clang-specific tests use it to compare objects for equality.
+# Let's pull in the dependency unconditionally.
+DEPEND+="
+	test? ( dev-libs/elfutils )"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.5-nvcc-test.patch
+)
+
+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-09-13  6:47 UTC|newest]

Thread overview: 325+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13  6:47 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-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-04-26 15:13 Sergei Trofimovich
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=1568357261.8c9e0fb083435c408c19b11768e06c1f75d78ff8.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