Skip to content

Conversation

@Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Jan 24, 2025

If setup is run like
./examples/arm/setup.sh ..., it works like before. If it is run like
source ./examples/arm/setup.sh, the functions in the script can be run afterwards, for example you can just run setup_toolchain

To increase modularity, I broke out creating setup_path.sh to its own function.
This avoids breaking setup_path.sh if setting up the toolchain and FVP fails/ is aborted.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

If setup is run like
`./examples/arm/setup.sh` ..., it works like before.
If it is run like
`source ./examples/arm/setup.sh`, the functions in the script
can be run afterwards, for example you can just run
`setup_toolchain`

To increase modularity, I broke out creating setup_path.sh
to its own function.
This avoids breaking setup_path.sh if setting up the toolchain
and FVP fails/ is aborted.

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: I79556d3c2c451157b9ba3606596945b2b70d2828
@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Jan 24, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 24, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 6924546 with merge base 3eea1f1 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jan 24, 2025
@Erik-Lundell Erik-Lundell requested a review from zingo January 29, 2025 09:50
@zingo zingo merged commit b71b25b into pytorch:main Jan 31, 2025
106 checks passed
@Erik-Lundell Erik-Lundell deleted the source_setup branch July 31, 2025 07:51
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