[Bug 185851] [build] buildworld: respect src.conf during 'rescue' tools build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Jul 2021 03:23:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=185851

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
          Component|misc                        |conf
           Assignee|bugs@FreeBSD.org            |koobs@FreeBSD.org
         Resolution|---                         |Overcome By Events
           Priority|Normal                      |---

--- Comment #3 from Kubilay Kocak <koobs@FreeBSD.org> ---
The current (present) method for ccache / distcc for base is documented in man
src.conf:

     WITH_CCACHE_BUILD
             Set to use ccache(1) for the build.  No configuration is required
             except to install the devel/ccache package.  When using with
             distcc(1), set CCACHE_PREFIX=/usr/local/bin/distcc.  The default
             cache directory of $HOME/.ccache will be used, which can be
             overridden by setting CCACHE_DIR.  The CCACHE_COMPILERCHECK
             option defaults to content when using the in-tree bootstrap
             compiler, and mtime when using an external compiler.  The
             CCACHE_CPP2 option is used for Clang but not GCC.

             Sharing a cache between multiple work directories requires using
             a layout similar to /some/prefix/src /some/prefix/obj and an
             environment such as:

                   CCACHE_BASEDIR='${SRCTOP:H}'
MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'

             See ccache(1) for more configuration options.

If this issue is still reproducible, please re-open with additional information

-- 
You are receiving this mail because:
You are the assignee for the bug.