non port: Mk/bsd.ccache.mk |
SVNWeb
|
Number of commits found: 18 |
Mon, 12 Sep 2022
|
[ 07:47 Yuri Victorovich (yuri) ] 679b9e2
Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for ports' convenience
Some projects do some special handling when the ccache program is present.
This causes problems because ports framework has its own ccache settings
and mere presence of ccache program doesn't mean that ccache is enabled.
The new CCACHE_ENABLED variable can be used to tell projects if ccache
is really enabled.
PR: 266310
Approved by: tcberner@ (as portmgr)
|
Sun, 24 Apr 2022
|
[ 10:00 Tobias C. Berner (tcberner) ] aa25396 (Only the first 10 of 118 ports in this commit are shown above. )
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
|
Wed, 14 Jul 2021
|
[ 18:09 Bryan Drewery (bdrewery) ] 9984bd3
Mk/bsd.ccache.mk: Add more documentation.
PR: 242944
|
[ 18:09 Bryan Drewery (bdrewery) ] 481cf80
Mk/bsd.ccache.mk: Fix Poudriere CCACHE_STATIC_PREFIX feature.
Poudriere's CCACHE_STATIC_PREFIX feature (not Mk/) avoids installing
ccache for each port using the native jail ABI and instead copies in a
host static binary. It uses NO_CCACHE_DEPEND to avoid installing
ccache. For example, this is used for ccache-memcached where the
dependency chain would make using ccache unfeasible.
Poudriere sets CCACHE_WRAPPER_PATH, rather than the new CCACHE_PKG_PREFIX.
Because CCACHE_BIN is now computed from CCACHE_PKG_PREFIX rather than
CCACHE_WRAPPER_PATH, CCACHE_BIN was incorrect. Now compute
CCACHE_PKG_PREFIX from CCACHE_WRAPPER_PATH if it is set, otherwise
fallback to using LOCALBASE and computing CCACHE_BIN and
CCACHE_WRAPPER_PATH from there.
PR 257151
Fixes: 6b641f4eb4 ("Mk: Document and simply user-modifiable ...")
|
Mon, 12 Jul 2021
|
[ 19:49 Bryan Drewery (bdrewery) ] be98df0
Mk/bsd.ccache.mk: Rename CCACHE_PREFIX -> CCACHE_PKG_PREFIX
CCACHE_PREFIX already means something special to ccache.
PR: 242944
|
[ 19:43 Bryan Drewery (bdrewery) ] 6b37107
Mk/bsd.ccache.mk: Use CCACHE_BIN in BUILD_DEPENDS
|
[ 19:35 Bryan Drewery (bdrewery) ] 6b641f4
Mk: Document and simply user-modifiable ccache vars
PR: 242944
|
Tue, 6 Apr 2021
|
[ 14:27 Mathieu Arnold (mat) ] 5d33e04 (Only the first 10 of 224 ports in this commit are shown above. )
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
|
Thu, 10 Oct 2019
|
[ 20:09 bdrewery ]
- Add compat for NOCCACHE -> NO_CCACHE
|
[ 20:06 bdrewery ]
- Add a CCACHE_BIN variable for simplified use where needed.
|
Sun, 25 Feb 2018
|
[ 03:32 bdrewery ]
WITH_CCACHE_BUILD: Fix some ports not using proper CCACHE_DIR.
Some ports will truncate CCACHE_DIR from the env and due to HOME=${WRKDIR}
will incorrectly use ${WRKDIR}/.ccache. Symlink to the proper place.
Approved by: portmgr (implicit)
|
Fri, 10 Mar 2017
|
[ 02:20 bdrewery ]
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
|
Thu, 9 Mar 2017
|
[ 23:20 bdrewery ]
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
|
[ 22:35 bdrewery ]
Set proper tab size in editors
|
Sun, 27 Mar 2016
|
[ 01:23 bapt ] (Only the first 10 of 85 ports in this commit are shown above. )
Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles
PR: 206569
Exp run by: antoine
Differential Revision: D5047
|
Tue, 14 Apr 2015
|
[ 20:58 bdrewery ]
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.
|
Sun, 22 Mar 2015
|
[ 19:41 bdrewery ]
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
|
Tue, 28 Oct 2014
|
[ 18:01 bdrewery ]
Move WITH_CCACHE_BUILD logic to bsd.ccache.mk
With hat: portmgr
|
Number of commits found: 18 |