[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / ccache

File: [cvs.NetBSD.org] / pkgsrc / devel / ccache / Makefile (download)

Revision 1.58, Mon Jun 29 13:40:53 2020 UTC (6 weeks ago) by adam
Branch: MAIN
Changes since 1.57: +2 -2 lines

ccache: updated to 3.7.10

ccache 3.7.10

Bug fixes

Improved handling of profiling options. ccache should now work correctly for profiling options like -fprofile-{generate,use}[=path] for GCC „ť9 and Clang as well as -fauto-profile[=path] and the Clang-specific -fprofile-instr-{generate,use}[=path] and -fprofile-sample-{use,accurate} options.

ccache now copies files directly from the cache to the destination file instead of via a temporary file. This avoids problems when using filenames long enough to be near the file system—‘ filename max limit.

When the hard-link mode is enabled, ccache now only uses hard links for object files, not other files like dependency files. This is because compilers unlink object files before writing to them but they don„ŗ—’ do that for dependency files, so the latter can become overwritten and therefore corrupted in the cache.

Fixed a glitch related to hard-link mode and an empty cache.

ccache now supports the ccache.conf file to be a symlink.

Temporary files are now deleted immediately on signals like SIGTERM and SIGINT instead of some time later in a cleanup phase.

Fixed a bug that affected ccache„ŗ—‘ -o/--set-config option for the base_dir and cache_dir_levels keys.

# $NetBSD: Makefile,v 1.58 2020/06/29 13:40:53 adam Exp $

DISTNAME=	ccache-3.7.10
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=ccache/}
# do not use xz distfile here, xz needs gettext-lib which leads to circular
# dependencies on some platforms.
GITHUB_RELEASE=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://ccache.dev/
COMMENT=	Cache for C/C++ compilers
LICENSE=	gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib

USE_TOOLS+=		bash:test gmake perl:test
GNU_CONFIGURE=		yes
TEST_TARGET=		test

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"