Skip to content
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

Arm backend: Make setup.sh handle unset EULA variable #9446

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

perheld
Copy link
Collaborator

@perheld perheld commented Mar 20, 2025

If setup.sh was called without --i-agree-to-the-contained-eula or with ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA unset all you would get back is the error message:

"examples/arm/setup.sh: line 88:
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA: unbound variable"

This is not a good error message. This commit adds handling of this variable being unset and gives a proper error message on how to accept the EULA.

Change-Id: I2fd85ff136f708f91836fae32e4e402d0557fa25

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

@perheld perheld requested a review from digantdesai as a code owner March 20, 2025 08:16
Copy link

pytorch-bot bot commented Mar 20, 2025

🔗 Helpful Links

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

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 2a1ea0b with merge base 33f08c1 (image):

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

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

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 Mar 20, 2025
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk labels Mar 20, 2025
@perheld perheld closed this Mar 20, 2025
@perheld perheld deleted the ph-setup.sh-bug branch March 20, 2025 08:18
@perheld perheld restored the ph-setup.sh-bug branch March 20, 2025 08:29
@perheld perheld reopened this Mar 20, 2025
If setup.sh was called without --i-agree-to-the-contained-eula or with
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA unset all you would get
back is the error message:

"examples/arm/setup.sh: line 88:
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA: unbound variable"

This is not a good error message. This commit adds handling of this
variable being unset and gives a proper error message on how to accept
the EULA.

Change-Id: I2fd85ff136f708f91836fae32e4e402d0557fa25
@zingo zingo merged commit ce7aedf into pytorch:main Mar 21, 2025
162 of 164 checks passed
oscarandersson8218 pushed a commit to oscarandersson8218/executorch that referenced this pull request Mar 21, 2025
If setup.sh was called without --i-agree-to-the-contained-eula or with
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA unset all you would get
back is the error message:

"examples/arm/setup.sh: line 88:
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA: unbound variable"

This is not a good error message. This commit adds handling of this
variable being unset and gives a proper error message on how to accept
the EULA.
@perheld perheld deleted the ph-setup.sh-bug branch March 25, 2025 07:55
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
If setup.sh was called without --i-agree-to-the-contained-eula or with
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA unset all you would get
back is the error message:

"examples/arm/setup.sh: line 88:
ARM_FVP_INSTALL_I_AGREE_TO_THE_CONTAINED_EULA: unbound variable"

This is not a good error message. This commit adds handling of this
variable being unset and gives a proper error message on how to accept
the EULA.
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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants