pkgsrc/devel/ccache/Makefile

24 lines
668 B
Makefile
Raw Normal View History

2021-05-24 21:49:01 +02:00
# $NetBSD: Makefile,v 1.62 2021/05/24 19:49:54 wiz Exp $
DISTNAME= ccache-3.7.12
2021-05-24 21:49:01 +02:00
PKGREVISION= 1
CATEGORIES= devel
ccache: updated to 3.7 Changes 3.7: Fixed crash when the debug mode is enabled and the output file is in a non-writable directory, e.g. when the output file is /dev/null. Fixed an issue when printing very large log messages to the debug log. Fixed bugs related to support for -gsplit-dwarf. Previously ccache could produce an incorrect link to the .dwo file in the .o file. Compilations with /dev/null as the input file are now cached. ccache has learned how to contruct the object filename if no -o option is given and the source filename does not include a . or ends with a .. Fixed a temporary file leak when the depend mode is enabled and the compiler produces standard error output. Fixed a bug in the depend mode where a manifest hash only could be associated with one set of header dependencies. Manifest files did not get marked as used on direct cache hits, so the LRU cache cleanup would incorrectly remove them eventually. This has been fixed. The rewriting of absolute paths into relative paths in the dependency file has been enabled in the depend mode as well. ccache now ignores unknown keys in configuration files for forward compatibility. Rearranged command-line options into sections in the help text. Documented the previously undocumented --dump-manifest and --hash-file options (only useful for debugging ccache itself). Added missing documentation for the command-line option -k/--get-config added in ccache 3.5. Renamed the --print-config command to --show-config. Added a new --print-stats command that prints statistics counters in machine-parsable (tab-separated) format. ccache no longer creates a missing output directory, thus mimicking the compiler behavior for -o out/obj.o when “out” doesn’t exist. -fdebug-prefix-map=ARG, -ffile-prefix-map=ARG and -fmacro-prefix-map=ARG are now included in the hash, but only the part before “ARG”. This fixes a bug where compiler feature detection of said flags would not work correctly with ccache. Bail out on too hard compiler option -gtoggle. Bail out on too hard Clang options --analyze and -analyze. Improved debug logging of file hashes in depend mode. Improved handling of various -g* options. In particular, ccache now understands that -g0 cancels out previous -g* options. Worked around a problem with Automake related to .d files when using the hard link mode. Added opt-in (at configure time) support for enabling trace logs for profiling ccache itself. See doc/DEVELOPER.md in the code tree for more information Removed support for Fortran 77 again. Some Fortran support was added in ccache 3.3, but the implementation did not work when Fortran modules are involved.
2019-04-29 19:13:15 +02:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=ccache/}
# do not use xz distfile here, xz needs gettext-lib which leads to circular
# dependencies on some platforms.
ccache: updated to 3.7 Changes 3.7: Fixed crash when the debug mode is enabled and the output file is in a non-writable directory, e.g. when the output file is /dev/null. Fixed an issue when printing very large log messages to the debug log. Fixed bugs related to support for -gsplit-dwarf. Previously ccache could produce an incorrect link to the .dwo file in the .o file. Compilations with /dev/null as the input file are now cached. ccache has learned how to contruct the object filename if no -o option is given and the source filename does not include a . or ends with a .. Fixed a temporary file leak when the depend mode is enabled and the compiler produces standard error output. Fixed a bug in the depend mode where a manifest hash only could be associated with one set of header dependencies. Manifest files did not get marked as used on direct cache hits, so the LRU cache cleanup would incorrectly remove them eventually. This has been fixed. The rewriting of absolute paths into relative paths in the dependency file has been enabled in the depend mode as well. ccache now ignores unknown keys in configuration files for forward compatibility. Rearranged command-line options into sections in the help text. Documented the previously undocumented --dump-manifest and --hash-file options (only useful for debugging ccache itself). Added missing documentation for the command-line option -k/--get-config added in ccache 3.5. Renamed the --print-config command to --show-config. Added a new --print-stats command that prints statistics counters in machine-parsable (tab-separated) format. ccache no longer creates a missing output directory, thus mimicking the compiler behavior for -o out/obj.o when “out” doesn’t exist. -fdebug-prefix-map=ARG, -ffile-prefix-map=ARG and -fmacro-prefix-map=ARG are now included in the hash, but only the part before “ARG”. This fixes a bug where compiler feature detection of said flags would not work correctly with ccache. Bail out on too hard compiler option -gtoggle. Bail out on too hard Clang options --analyze and -analyze. Improved debug logging of file hashes in depend mode. Improved handling of various -g* options. In particular, ccache now understands that -g0 cancels out previous -g* options. Worked around a problem with Automake related to .d files when using the hard link mode. Added opt-in (at configure time) support for enabling trace logs for profiling ccache itself. See doc/DEVELOPER.md in the code tree for more information Removed support for Fortran 77 again. Some Fortran support was added in ccache 3.3, but the implementation did not work when Fortran modules are involved.
2019-04-29 19:13:15 +02:00
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
ccache: updated to 3.7 Changes 3.7: Fixed crash when the debug mode is enabled and the output file is in a non-writable directory, e.g. when the output file is /dev/null. Fixed an issue when printing very large log messages to the debug log. Fixed bugs related to support for -gsplit-dwarf. Previously ccache could produce an incorrect link to the .dwo file in the .o file. Compilations with /dev/null as the input file are now cached. ccache has learned how to contruct the object filename if no -o option is given and the source filename does not include a . or ends with a .. Fixed a temporary file leak when the depend mode is enabled and the compiler produces standard error output. Fixed a bug in the depend mode where a manifest hash only could be associated with one set of header dependencies. Manifest files did not get marked as used on direct cache hits, so the LRU cache cleanup would incorrectly remove them eventually. This has been fixed. The rewriting of absolute paths into relative paths in the dependency file has been enabled in the depend mode as well. ccache now ignores unknown keys in configuration files for forward compatibility. Rearranged command-line options into sections in the help text. Documented the previously undocumented --dump-manifest and --hash-file options (only useful for debugging ccache itself). Added missing documentation for the command-line option -k/--get-config added in ccache 3.5. Renamed the --print-config command to --show-config. Added a new --print-stats command that prints statistics counters in machine-parsable (tab-separated) format. ccache no longer creates a missing output directory, thus mimicking the compiler behavior for -o out/obj.o when “out” doesn’t exist. -fdebug-prefix-map=ARG, -ffile-prefix-map=ARG and -fmacro-prefix-map=ARG are now included in the hash, but only the part before “ARG”. This fixes a bug where compiler feature detection of said flags would not work correctly with ccache. Bail out on too hard compiler option -gtoggle. Bail out on too hard Clang options --analyze and -analyze. Improved debug logging of file hashes in depend mode. Improved handling of various -g* options. In particular, ccache now understands that -g0 cancels out previous -g* options. Worked around a problem with Automake related to .d files when using the hard link mode. Added opt-in (at configure time) support for enabling trace logs for profiling ccache itself. See doc/DEVELOPER.md in the code tree for more information Removed support for Fortran 77 again. Some Fortran support was added in ccache 3.3, but the implementation did not work when Fortran modules are involved.
2019-04-29 19:13:15 +02:00
HOMEPAGE= https://ccache.dev/
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"