# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup ccache ccache 3.7.4 v
# Use tarball, since the releases archive discourages running ./autogen.sh
github.tarball_from tarball
checksums rmd160 d20bf418ee72ef8c3cdaeadc1d5ead6e3a951351 \
sha256 82b101e0c5fb4ed26563a8668cf9d8d8f10017d79ba7e031e38ab93a26e9ffeb \
maintainers {ryandesign @ryandesign} openmaintainer
description object-file caching compiler wrapper
ccache is a compiler cache. It acts as a caching pre-processor to C/C++ \
compilers, using the -E compiler switch and a hash to detect when a \
compilation can be satisfied from cache. This often results in a 5 to 10 \
times speedup in common compilations.
homepage https://ccache.dev
# gcc 4.x clang < 500 does not understand -Wpedantic
reinplace "s|\-Wpedantic||g" ${worksrcpath}/configure.ac
# use_autoconf yes and setting autoconf.cmd to a non-default value will modify
# depends_build, removing autoconf/automake/libtool. Avoid this by doing it
# before setting depends_build.
autoconf.cmd ./autogen.sh
depends_build port:autoconf \
depends_lib port:asciidoc \