Skip to content

Conversation

@mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Dec 12, 2024

Summary

Currently, most documents will explicitly ask users to run "rm -rf"

But we have a dedicated command that does the cleanup.

Fixes #7083

Test plan

Reproduced all the commands in the .md file. Fixed some of the existing bugs, for instance, in QNN command.

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 12, 2024

🔗 Helpful Links

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

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 79d3d30 with merge base df0b06c (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 Dec 12, 2024
@mergennachin mergennachin added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label Dec 12, 2024
@mergennachin
Copy link
Contributor Author

Corresponding GH issue: #7083


set(resolve_buck2_command
${PYTHON_EXECUTABLE} ${executorch_root}/build/resolve_buck.py
--cache_dir=${CMAKE_CURRENT_BINARY_DIR}/buck2-bin
Copy link
Contributor

Choose a reason for hiding this comment

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

Move the buck2-bin to root dir, so that it can be cleaned up? Isn't already covered by cleaning up CMAKE_CURRENT_BINARY_DIR (i.e. cmake-out)?

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, did that here

#7305

Copy link
Contributor

@guangy10 guangy10 left a comment

Choose a reason for hiding this comment

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

Looks good.

Summary: Currently, most documents will explicitly ask users to run "rm -rf"

But we have a dedicated command that does the cleanup.
@mergennachin mergennachin merged commit e1d1a96 into main Dec 13, 2024
40 of 41 checks passed
@mergennachin mergennachin deleted the my-fork2 branch December 13, 2024 16:49
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. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create "make clean" equivalent script that encapsulates all necessary steps

4 participants