summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/bisheng.lua
AgeCommit message (Collapse)Author
2026-05-11fix(ascendc): align flags with Bisheng compiler user guidewuzhenqing
2026-05-09improve ascend rulesruki
2026-05-04feat(ascendc): add Huawei Ascend C toolchain supportwuzhenqing
Add toolchain, language, rules, and compiler modules for the bisheng compiler driver from CANN (Compute Architecture for Neural Networks) toolkit. Supports .asc (Ascend C kernel) and .aicpu (AI-CPU operator) source kinds with binary/static/shared target types. - Toolchain: SDK auto-detection via ASCEND_HOME_PATH env or --sdk - Compiler: bisheng module inherits from clang, adds add_sourceflags for explicit sourcekind overrides - Rules: ascendc.env (default C++17), npuarchs (--npu-arch), build - Language: check_main detection, add_ascnpuarchs API - Tests: unit tests for check_main, project tests for libs/mixed Fixes #7506