Skip to content

ethos-u-vela: Add version 5.2.0 - #2543

Merged
luhenry merged 1 commit into
mainfrom
ethos-u-vela
Sep 30, 2026
Merged

luhenry merged 1 commit into
mainfrom
ethos-u-vela

Conversation

@luhenry

@luhenry luhenry commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Compiles the mlw_codec C extension and the regor C++ compiler core (pybind11). Upstream publishes no riscv64 wheel.

Mirrors upstream's [tool.cibuildwheel] config.

Differs from upstream

  • CMAKE_BUILD_PARALLEL_LEVEL set - setup.py otherwise builds regor serially under pip.

Matrix: cp312/cp313/cp314 - no cp314t, neither extension declares free-threading support (upstream ships up to cp313).

Testing

  • same as upstream

License: Wheel compiles in vendored FlatBuffers (Apache-2.0), fmt (MIT), gemmlowp (Apache-2.0) and pybind11 (BSD-3-Clause); upstream ships no licence text for them, so the build adds it.

Patches

  • 0001-pyproject-ship-licence-files-of-vendored-C-libraries.patch - To upstream [needs an Arm GitLab account]. Without it the wheel omits the vendored licences. Not riscv64-specific.

Built on cp312, cp313 and cp314; 5 passed, 0 skipped on each.

Build ethos-u-vela 5.2.0 (the Arm Ethos-U NPU compiler) for cp312,
cp313 and cp314 on manylinux_riscv64 from the upstream GitLab tag,
using upstream's own [tool.cibuildwheel] test command, which runs the
vela CLI end to end through both the legacy and the regor compiler
cores.

Carry a patch listing the licence files of the vendored FlatBuffers,
fmt, gemmlowp and pybind11 sources compiled into the regor extension,
which upstream's wheels do not ship.

luhenry commented Sep 30, 2026 •

Copy link
Copy Markdown
Member Author

The first check_commit_messages run failed against the PR body as captured at open time, which briefly carried an auto-injected footer. The body was cleaned right after, and the run triggered by that edit (36731069554) passed.

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-30 17:46 UTC

@luhenry
luhenry marked this pull request as ready for review September 30, 2026 17:25
@luhenry
luhenry merged commit 921554b into main Sep 30, 2026
16 of 17 checks passed
@luhenry
luhenry deleted the ethos-u-vela branch September 30, 2026 17:38
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