Skip to content

Add semihosting to cmake for executor_runner #3008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

per
Copy link
Collaborator

@per per commented Apr 12, 2024

Add cmake option to enable semihosting for the executor runner application.

Change-Id: I5db7271413b39e5122f86f321d15dd2a1086a547

Copy link

pytorch-bot bot commented Apr 12, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 3720e16 with merge base 910f851 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

  • trunk / test-arm-backend-delegation / linux-job (gh)
    /pytorch/executorch/../executorch/kernels/portable/cpu/vec_ops.h:133:33: error: ambiguous overload for 'operator*' (operand types are 'const torch::executor::Half' and 'const int8_t' {aka 'const signed char'})

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

@facebook-github-bot facebook-github-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 Apr 12, 2024
@per per added ciflow/trunk partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm labels Apr 12, 2024
Add cmake option to enable semihosting for the executor runner
application.

Change-Id: I5db7271413b39e5122f86f321d15dd2a1086a547
)

if(SEMIHOSTING)
add_link_options(--specs=rdimon.specs)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you include a rationale for enabling this in the commit / PR summary?

target_compile_definitions(arm_executor_runner PUBLIC SEMIHOSTING)
endif()

# Fixup compilation of retarget.c
Copy link
Contributor

Choose a reason for hiding this comment

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

Also create a ET GH task and refer that here?

@facebook-github-bot
Copy link
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@digantdesai merged this pull request in 6712185.

@mergennachin mergennachin mentioned this pull request Apr 26, 2024
@per per deleted the semihosting branch July 5, 2024 07:36
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. Merged partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants