diff options
| author | ruki <[email protected]> | 2025-08-01 22:42:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-01 22:42:49 +0800 |
| commit | b3cb622624e0fdd7bf26f6237f4c8abeb0d446a0 (patch) | |
| tree | 941641902d6ff93cf2247e936376fdf499bd80eb | |
| parent | 9a69715ad0b6d1f92bed9766178185ccf090ff6f (diff) | |
disable build.ccache for coverage #6664
| -rw-r--r-- | xmake/rules/mode/xmake.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/rules/mode/xmake.lua b/xmake/rules/mode/xmake.lua index 0f81bb15f..b4312eb12 100644 --- a/xmake/rules/mode/xmake.lua +++ b/xmake/rules/mode/xmake.lua @@ -197,6 +197,10 @@ rule("mode.coverage") target:add("mxflags", "--coverage") target:add("ldflags", "--coverage") target:add("shflags", "--coverage") + + -- disable build cache, it does not support to cache coverage files + -- https://github.com/xmake-io/xmake/issues/6664 + target:set("policy", "build.ccache", false) end end) |
