Skip to content

Conversation

@zingo
Copy link
Collaborator

@zingo zingo commented Dec 19, 2025

Summary

This make it possible to build with a simpler libc and saves some flash space. When moving from NEWLIB_LIBC in ZephyrOS to the default one we saved almost 60 Kb in the flash memory (with a simple add model, larger models/code might save less as more libc stuff are probably used).

Test plan

Test by building ExecuTorch from ZephyrOS with and without NEWLIB_LIBC by hand.

cc @freddan80 @per @oscarandersson8218 @digantdesai

This make it possible to build with a simpler libc and saves some
flash space. When moving from NEWLIB_LIBC in ZephyrOS to the default
one we saved almost 60 Kb in the flash memory (with a simple add model,
larger models/code might save less as more libc stuff are probably
used).

Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com>
Change-Id: I7e9bee8646a503d109ecc6b6c72365fd8e78becf
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 19, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16340

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 1 Unrelated Failure

As of commit b3e30cd with merge base f3fd55c (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 19, 2025
@zingo zingo added ciflow/trunk partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes labels Dec 19, 2025
@mergennachin mergennachin self-requested a review December 23, 2025 19:14
Copy link
Contributor

@mergennachin mergennachin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you for figuring this out

@zingo zingo merged commit 6dd4e05 into pytorch:main Jan 5, 2026
300 of 320 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants