Hi All
I had been setup devel/ccache for SRC and ports build at /etc/make.conf and /etc/src.conf as below.
devel/ccache work fine with ports build but src build won't.
I saw src build
And devel/ccache handled as below.
But statistics counters of devel/ccache have never update, check by
Can help/hint for the issue?
Thanks very much.
I had been setup devel/ccache for SRC and ports build at /etc/make.conf and /etc/src.conf as below.
Code:
WITH_CCACHE_BUILD=yes
devel/ccache work fine with ports build but src build won't.
I saw src build
make
took devel/ccache as below.
Code:
--- MC/MCSchedule.o ---
/usr/local/bin/ccache c++ -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/llvm/lib/Target/X86 -I/usr/src/lib/clang/include -I/usr/src
/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.1\" -DLLVM
_HOST_TRIPLE=\"x86_64-unknown-freebsd13.1\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLV
MInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=
LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -gline-tables-only -MD -MF.depend.MC_MCSchedule.o -MTMC/MCSchedule.o -Wno-format-zero-length -Wno-empty-body -Wno-string-plus-int -Wno-unused
-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-sw
itch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -fno-exceptions -fno-rtti -gline-tables-only -std=c++14 -stdlib=libc++
-Wno-c++11-extensions -c /usr/src/contrib/llvm-project/llvm/lib/MC/MCSchedule.cpp -o MC/MCSchedule.o
Code:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
94 root 1 79 0 203M 161M CPU1 1 0:03 59.79% c++
83 root 1 52 0 13M 3112K wait 1 0:00 13.78% ccache
32948 root 1 52 0 19M 6940K wait 0 0:00 10.81% ccache
83809 root 1 52 0 19M 6308K wait 1 0:00 1.61% ccache
But statistics counters of devel/ccache have never update, check by
ccache -s
.Can help/hint for the issue?
Thanks very much.