Commit graph

7 commits

Author SHA1 Message Date
Bryan Drewery
86e6bd934f Allow overriding the ccache location with CCACHE_WRAPPER_PATH.
This is the same variable name as used in the base build from
bsd.compiler.mk.

With hat:	portmgr
2017-03-10 02:20:51 +00:00
Bryan Drewery
a720097133 WITH_CCACHE_BUILD: Add a NO_CCACHE_DEPEND to allow using ccache without the dependency.
This allows WITH_CCACHE_BUILD to be set and still allow modifying MAKE_ENV/CC,
etc, to achieve using the ccache wrappers located at LOCALBASE/libexec/ccache.
This kind of mechanism is needed to support ccache-memcached which has
many build dependencies.  Building a version of that first then allows
building further ports with it without introducing cyclic dependencies.
Poudriere will grow support for using a static version of ccache for this
purpose.

With hat:	portmgr
2017-03-09 23:20:46 +00:00
Bryan Drewery
7d8b4124ef Set proper tab size in editors 2017-03-09 22:35:29 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Bryan Drewery
ea5adfb8f1 Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN.
For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use
ccache for ports-mgmt/pkg-devel.
2015-04-14 20:58:26 +00:00
Bryan Drewery
6faf9b65ab Unbreak ccache after r359201 set HOME in MAKE_ENV/CONFIGURE_ENV rather than
in the global scope as bsd.ccache.mk expected.

This was causing ccache to use WKRDIR/.ccache for obj caching. 'make clean'
would then lose all cached files.  This worked in in Poudriere though as
CCACHE_DIR is explicitly defined.

With hat:	portmgr
2015-03-22 19:41:44 +00:00
Bryan Drewery
9ae831676e Move WITH_CCACHE_BUILD logic to bsd.ccache.mk
With hat:	portmgr
2014-10-28 18:01:55 +00:00