pkgsrc/devel/ccache/Makefile

23 lines
640 B
Makefile
Raw Normal View History

ccache: updated to 3.6 ccache 3.6 ccache now has an opt-in “depend mode”. When enabled, ccache never executes the preprocessor, which results in much lower cache miss overhead at the expense of a lower potential cache hit rate. The depend mode is only possible to use when the compiler option -MD or -MMD is used. Added support for GCC’s -ffile-prefix-map option. The -fmacro-prefix-map option is now also skipped from the hash. Added support for multiple -fsanitize-blacklist arguments. ccache now includes the environment variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES in the hash since they may affect localization of compiler warning messages. Set sloppiness to locale to opt out of this. Fixed a problem due to Clang overwriting the output file when compiling an assembler file. Clarified the manual to explain the reasoning behind the “file_macro” sloppiness setting in a better way. ccache now handles several levels of nonexistent directories when rewriting absolute paths to relative. A new sloppiness setting clang_index_store makes ccache skip the Clang compiler option -index-store-path and its argument when computing the manifest hash. This is useful if you use Xcode, which uses an index store path derived from the local project path. Note that the index store won’t be updated correctly on cache hits if you enable this option. Rename sloppiness no_system_headers to system_headers for consistency with other options. no_system_headers can still be used as an (undocumented) alias. The GCC variables “DEPENDENCIES_OUTPUT” and “SUNPRO_DEPENDENCIES” are now supported correctly. The algorithm that scans for __DATE_ and __TIME__ tokens in the hashed source code now doesn’t produce false positives for tokens where __DATE__ or __TIME__ is a substring.
2019-01-15 10:04:17 +01:00
# $NetBSD: Makefile,v 1.46 2019/01/15 09:04:17 adam Exp $
ccache: updated to 3.6 ccache 3.6 ccache now has an opt-in “depend mode”. When enabled, ccache never executes the preprocessor, which results in much lower cache miss overhead at the expense of a lower potential cache hit rate. The depend mode is only possible to use when the compiler option -MD or -MMD is used. Added support for GCC’s -ffile-prefix-map option. The -fmacro-prefix-map option is now also skipped from the hash. Added support for multiple -fsanitize-blacklist arguments. ccache now includes the environment variables LANG, LC_ALL, LC_CTYPE and LC_MESSAGES in the hash since they may affect localization of compiler warning messages. Set sloppiness to locale to opt out of this. Fixed a problem due to Clang overwriting the output file when compiling an assembler file. Clarified the manual to explain the reasoning behind the “file_macro” sloppiness setting in a better way. ccache now handles several levels of nonexistent directories when rewriting absolute paths to relative. A new sloppiness setting clang_index_store makes ccache skip the Clang compiler option -index-store-path and its argument when computing the manifest hash. This is useful if you use Xcode, which uses an index store path derived from the local project path. Note that the index store won’t be updated correctly on cache hits if you enable this option. Rename sloppiness no_system_headers to system_headers for consistency with other options. no_system_headers can still be used as an (undocumented) alias. The GCC variables “DEPENDENCIES_OUTPUT” and “SUNPRO_DEPENDENCIES” are now supported correctly. The algorithm that scans for __DATE_ and __TIME__ tokens in the hashed source code now doesn’t produce false positives for tokens where __DATE__ or __TIME__ is a substring.
2019-01-15 10:04:17 +01:00
DISTNAME= ccache-3.6
CATEGORIES= devel
MASTER_SITES= http://samba.org/ftp/ccache/
# do not use xz distfile here, xz needs gettext-lib which leads to circular
# dependencies on some platforms.
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ccache.samba.org/
COMMENT= Cache for C/C++ compilers
Update to 3.1.7. Set LICENSE. ccache 3.1.7 ------------ Release date: 2012-01-08 Bug fixes ~~~~~~~~~ - Non-writable `CCACHE_DIR` is now handled gracefully when `CCACHE_READONLY` is set. - Made failure to create files (typically due to bad directory permissions) in the cache directory fatal. Previously, such failures were silently and erroneously flagged as "compiler produced stdout". - Both the `-specs=file` and `--specs=file` forms are now recognized. - Added recognition and hashing of GCC plugins specified with `-fplugin=file`. - `CCACHE_COMPILERCHECK` now also determines how to hash explicit specs files (`-specs=file`). - Added `CPATH`, `C_INCLUDE_PATH` and similar environment variables to the hash to avoid false cache hits when such variables have changed. - Corrected log message when unify mode is enabled. - Reverted the GCC bug compatibility introduced in ccache 3.1.5 for `-MT`/`-MQ` options with concatenated arguments. (The bug is fixed in recent GCC versions.) Other ~~~~~ - Corrected license header for `mdfour.c`. - Improved documentation on how to fix bad object files in the cache. ccache 3.1.6 ------------ Release date: 2011-08-21 New features and improvements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Rewrite argument to `--sysroot` if `CCACHE_BASEDIR` is used. Bug fixes ~~~~~~~~~ - Don't crash if `getcwd()` fails. - Fixed alignment of ``called for preprocessing'' counter. ccache 3.1.5 ------------ Release date: 2011-05-29 New features and improvements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Added a new statistics counter named ``called for preprocessing''. - The original command line is now logged to the file specified with `CCACHE_LOGFILE`. - Improved error logging when system calls fail. - Added support for rewriting absolute paths in `-F`/`-iframework` GCC options. - Improved order of statistics counters in `ccache -s` output. Bug fixes ~~~~~~~~~ - The `-MF`/`-MT`/`-MQ` options with concatenated argument are now handled correctly when they are last on the command line. - ccache is now bug compatible with GCC for the `-MT`/`-MQ` options with concatenated arguments. - Fixed a minor memory leak. - Systems that lack (and don't need to be linked with) libm are now supported.
2012-01-28 16:01:00 +01:00
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
2006-10-14 10:24:31 +02:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"