summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-20 20:15:25 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-20 20:15:25 +0000
commitc197d1a9f750051ae14c18eccbe64db5d75a1d03 (patch)
tree6c9babdd3ba09fca033c58c105e9814f9efa43ee /sys/kern
parentf8f03021517d1601d80a92e9ddcc7c0103f9d912 (diff)
downloadFreeBSD-src-c197d1a9f750051ae14c18eccbe64db5d75a1d03.zip
FreeBSD-src-c197d1a9f750051ae14c18eccbe64db5d75a1d03.tar.gz
Pass COMPILER_TYPE and COMPILER_VERSION to sub-makes to avoid redundant
lookups. This uses a special variable name based on a hash of ${CC}, ${PATH}, and ${MACHINE} to ensure that a cached value is not used if any of these values changes to use a new compiler. Before this there were 34,620 fork/exec from bsd.compiler.mk during a buildworld. After this there are 608. More improvement is needed to cache a value from the top-level before descending into subdirs in the various build phases. Reviewed by: brooks (earlier version) MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3898
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud