Skip to content

[CICD] add Ascend NPU backend support for Debian packages#393

Open
shiptux wants to merge 4 commits into
flagos-ai:mainfrom
shiptux:pr/ascend-deb
Open

[CICD] add Ascend NPU backend support for Debian packages#393
shiptux wants to merge 4 commits into
flagos-ai:mainfrom
shiptux:pr/ascend-deb

Conversation

@shiptux
Copy link
Copy Markdown
Contributor

@shiptux shiptux commented Feb 26, 2026

PR Category

CICD

PR Types

Optimizations

PR Description

Add Debian packaging support for Huawei Ascend NPUs with HCCL backend:

  • Add libflagcx-ascend and libflagcx-ascend-dev packages in debian/control
  • Add ascend build/install logic in debian/rules with USE_ASCEND=1
  • Update Build-Profiles to support ascend-only builds
  • Add ascend to CI/CD build matrix

Add Debian packaging support for Huawei Ascend NPUs with HCCL backend:
- Add libflagcx-ascend and libflagcx-ascend-dev packages in debian/control
- Add ascend build/install logic in debian/rules with USE_ASCEND=1
- Update Build-Profiles to support ascend-only builds
- Add ascend to CI/CD build matrix
- Replace per-backend if-else blocks in debian/rules with $(BACKEND)
  and $(BACKEND_UPPER) variable substitution (111 -> 50 lines)
- Add ascend case to build-flagcx.sh (base image: ascendai/cann)
- Add missing build deps (g++, make, cmake) to Dockerfile.deb
- Fix Dockerfile AS casing warnings
- Adding a new backend now only requires updating SUPPORTED_BACKENDS
  in debian/rules and adding package definitions in debian/control
@shiptux shiptux changed the title feat(packaging): add Ascend NPU backend support for Debian packages [CICD] add Ascend NPU backend support for Debian packages Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant