Skip to content

[Arm][Example] Minor Script Updates #715

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 4 commits into from
Closed

Conversation

digantdesai
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Oct 9, 2023

Deploy Preview for resplendent-gnome-14e531 ready!

Name Link
🔨 Latest commit bbb6fb3
🔍 Latest deploy log https://app.netlify.com/sites/resplendent-gnome-14e531/deploys/652464bc4d215500076e0132
😎 Deploy Preview https://deploy-preview-715--resplendent-gnome-14e531.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@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 Oct 9, 2023
@digantdesai digantdesai changed the title Script updates [Arm][Example] Minor Script Updates Oct 9, 2023
@digantdesai digantdesai requested a review from robell October 9, 2023 05:36
base_rev=00a15db3e1a188b25065d095152d701f4394cdc5
patch_repo
fi
cd "${root_dir}/ethos-u/ethos-u-vela"
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like this was because patch_repo was leaving us in ethos-u-vela directory and so pip install . was in the right place (a clean re-run works on this stage) ; do we want to consistently sub-shell functions to prevent this kind of leak?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good. But still we don't want to make too many assumption (beyond var values) when we enter the function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

deferring this for later

echo "[${FUNCNAME[0]}] Generated static libraries for ExecuTorch:"
find . -name "*.a" -exec ls -al {} \;
}

# build Arm Baremetal executor_runner
function build_executorch_runner() {
echo "[${FUNCNAME[0]}] Generating ExecuTorch libraries"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I notice a few other functions do not have this diagnostic output.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah we should standardize a bit more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

deferring this for later

@digantdesai digantdesai marked this pull request as ready for review October 9, 2023 19:26
@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 b167f04.

facebook-github-bot pushed a commit that referenced this pull request Oct 9, 2023
Summary:
resolves #666 other than:
 - some pieces fixed in #715
 - Still need to remove minimal.py and replace with generic delegated pte generation flow

Pull Request resolved: #718

Reviewed By: mcr229

Differential Revision: D50100544

Pulled By: digantdesai

fbshipit-source-id: 239843853a7876dceb06d92221c0d4ca89acf514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants