From 27f07791a6ba754bb2bd07e87513af3da9c68f29 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 24 Aug 2022 23:37:49 +0800 Subject: modify ccache/distcc tips --- xmake/modules/private/action/build/object.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua index c906ea8de..a89b149ff 100644 --- a/xmake/modules/private/action/build/object.lua +++ b/xmake/modules/private/action/build/object.lua @@ -65,12 +65,13 @@ function _do_build_file(target, sourcefile, opt) local verbose = option.get("verbose") -- exists ccache or distcc? + -- we just show cache/distc to avoid confusion with third-party ccache/distcc local prefix = "" if build_cache.is_enabled() and build_cache.is_supported(sourcekind) then - prefix = "ccache " + prefix = "cache " end if distcc_build_client.is_distccjob() and distcc_build_client.singleton():has_freejobs() then - prefix = prefix .. "distcc " + prefix = prefix .. "distc " end -- trace progress info -- cgit v1.3.1