Skip to content

Conversation

AdrianLundell
Copy link
Collaborator

@AdrianLundell AdrianLundell commented Aug 25, 2025

Building the example application using cmake is now straight forward enough to not need any helper scripts.

Additionally simplify the the example + path setup in the executor runner cmake script and make the default path match the example.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Building the example application using cmake is now straight forward
enough to not need any helper scripts.

Additionally simplify the the example + path setup in the executor
runner cmake script and make the default path match the example.

Signed-off-by: Adrian Lundell <adrian.lundell@arm.com>
Change-Id: I3d650e9db0519f40a441c154aa7f64cc39a9e72c
Copy link

pytorch-bot bot commented Aug 25, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Cancelled Job

As of commit 53f21c9 with merge base c70aeda (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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 Aug 25, 2025
@AdrianLundell AdrianLundell added module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend labels Aug 25, 2025
@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 Aug 25, 2025
@oscarandersson8218
Copy link
Collaborator

Unrelated CI failures

@oscarandersson8218 oscarandersson8218 merged commit 18c71e8 into pytorch:main Aug 26, 2025
236 of 242 checks passed
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
…ch#13630)

Building the example application using cmake is now straight forward
enough to not need any helper scripts.

Additionally simplify the the example + path setup in the executor
runner cmake script and make the default path match the example.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Signed-off-by: Adrian Lundell <adrian.lundell@arm.com>
"%%bash \n",
"source ethos-u-scratch/setup_path.sh\n",
"\n",
"# Build example executor runner application to examples/arm/ethos_u_minimal_example\n",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we run this notebook in CI but just to avoid code here, can we use some script like build_executor.sh which is covered by CI?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We wanted to avoid the "bespoke inconsistent scripts" mentioned in #10661 and show the build process as true to reality as possible here. We want the cmake to be documented somewhere imo, so adding an additional script only forces us to document and maintain both that script and the real flow. Why do you want to avoid the code here?

The notebook should be tested here:

backends/arm/test/test_arm_ootb.sh

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I remember the test_arm_ootb.sh script. I was highlight to just call existing build scripts instead of spelling out the cmake command here.

@AdrianLundell AdrianLundell deleted the change-1096571 branch September 4, 2025 12:16
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.

3 participants