diff options
| author | ruki <[email protected]> | 2026-05-11 13:53:16 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-05-11 13:53:16 +0800 |
| commit | 70f6ecdc9aeecabeee5727867b3dae13d006c82f (patch) | |
| tree | a9187c282985a0d8533aa269d3709c92396490fe /xmake/modules/core | |
| parent | 1944d222ae4315762e6a920f021f586324095d9d (diff) | |
| parent | 89a6dea5db86d91f241ab992d12ac75baca460c7 (diff) | |
Merge pull request #7538 from wuzhenqing/ascendascend
fix(ascendc): align flags with Bisheng compiler user guide
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/bisheng.lua | 3 |
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 |
