summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2026-05-11 13:53:16 +0800
committerGitHub <[email protected]>2026-05-11 13:53:16 +0800
commit70f6ecdc9aeecabeee5727867b3dae13d006c82f (patch)
treea9187c282985a0d8533aa269d3709c92396490fe /xmake/modules
parent1944d222ae4315762e6a920f021f586324095d9d (diff)
parent89a6dea5db86d91f241ab992d12ac75baca460c7 (diff)
Merge pull request #7538 from wuzhenqing/ascendascend
fix(ascendc): align flags with Bisheng compiler user guide
Diffstat (limited to 'xmake/modules')
-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