summaryrefslogtreecommitdiff
path: root/xmake/modules/private/detect/find_platform.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-03-25 23:11:55 +0800
committerruki <[email protected]>2024-03-25 23:11:55 +0800
commit64dd29de111f4c7859f20ac02983fac32e932d77 (patch)
tree129ec25cf220ca7f853db09675feb53809a8d684 /xmake/modules/private/detect/find_platform.lua
parentdc77268912c466e205b409f07fa5b22b4d877bcc (diff)
add harmony
Diffstat (limited to 'xmake/modules/private/detect/find_platform.lua')
-rw-r--r--xmake/modules/private/detect/find_platform.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/detect/find_platform.lua b/xmake/modules/private/detect/find_platform.lua
index e4308a90e..0fa17e567 100644
--- a/xmake/modules/private/detect/find_platform.lua
+++ b/xmake/modules/private/detect/find_platform.lua
@@ -112,6 +112,8 @@ function _find_arch(plat, arch)
else
arch = "x86_64"
end
+ elseif plat == "harmony" then
+ arch = "arm64-v8a"
elseif plat == "cross" then
arch = _find_arch_from_cross()
else