summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_headerunits.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-19 22:07:33 +0800
committerruki <[email protected]>2025-01-19 22:17:45 +0800
commite055bc97774bd868e5dcdec80d1de4b4570d4120 (patch)
tree155286469e4372b6369e7766de475205f6e5c22e /tests/projects/c++/modules/test_headerunits.lua
parentf3c8fc11a97460e30124f1fb9f2550a41ba37f10 (diff)
disable headerunits for gcc/arm64
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
-rw-r--r--tests/projects/c++/modules/test_headerunits.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua
index b13b22a7f..aaa350c7c 100644
--- a/tests/projects/c++/modules/test_headerunits.lua
+++ b/tests/projects/c++/modules/test_headerunits.lua
@@ -44,7 +44,8 @@ function main(t)
-- _build()
elseif is_host("linux") then
local gcc = find_tool("gcc", {version = true})
- if gcc and gcc.version and semver.compare(gcc.version, "11.0") >= 0 then
+ if gcc and gcc.version and semver.compare(gcc.version, "11.0") >= 0 and
+ os.arch() ~= "arm64" then -- gcc/arm64: internal compiler error: in core_vals, at cp/module.cc:6108
-- gcc dependency detection doesn't support header units atm
os.exec("xmake f --policies=build.c++.gcc.fallbackscanner -c --yes")
_build()