summaryrefslogtreecommitdiff
path: root/xmake/modules/core
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/core')
-rw-r--r--xmake/modules/core/tools/bisheng.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/bisheng.lua b/xmake/modules/core/tools/bisheng.lua
index 9eef884b3..acfcab2f8 100644
--- a/xmake/modules/core/tools/bisheng.lua
+++ b/xmake/modules/core/tools/bisheng.lua
@@ -31,6 +31,9 @@ end
-- make the npu-arch flag
function nf_ascnpuarch(self, arch)
+ if self:kind() == "aicpu" then
+ return
+ end
return "--npu-arch=" .. arch
end