summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-24 23:37:49 +0800
committerruki <[email protected]>2022-08-24 23:37:49 +0800
commit27f07791a6ba754bb2bd07e87513af3da9c68f29 (patch)
treeb7430425921e93fc9ecaa90f740c8537e8d88ca0
parentb5d11cfc9083da11cb00e964f14492261f5b7748 (diff)
modify ccache/distcc tips
-rw-r--r--xmake/modules/private/action/build/object.lua5
1 files 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