Skip to content

Add instructions to enable ccache #11838

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

Merged
merged 4 commits into from
Jun 26, 2025
Merged

Add instructions to enable ccache #11838

merged 4 commits into from
Jun 26, 2025

Conversation

mergennachin
Copy link
Contributor

@mergennachin mergennachin commented Jun 21, 2025

Copy link

pytorch-bot bot commented Jun 21, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

⏳ No Failures, 39 Pending

As of commit 681177e with merge base 7adffe6 (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 Jun 21, 2025
@mergennachin mergennachin requested a review from jathu June 21, 2025 20:02
@mergennachin mergennachin marked this pull request as ready for review June 21, 2025 20:02
@mergennachin mergennachin added module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. labels Jun 22, 2025
@mergennachin mergennachin added this to the 0.7.0 milestone Jun 22, 2025
CMakeLists.txt Outdated
else()
message(STATUS "ccache not found, builds will not be cached")
endif()
announce_configured_options(CCACHE_PROGRAM)
Copy link
Contributor

Choose a reason for hiding this comment

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

oops you need to move this below line 66 cause we import this function later. I'd suggest to move this down to line 98 after we've configured some common requirements like python and buck

@mergennachin mergennachin merged commit 1a1886a into main Jun 26, 2025
195 checks passed
@mergennachin mergennachin deleted the ccache_enable branch June 26, 2025 21:59
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. module: build/install Issues related to the cmake and buck2 builds, and to installing ExecuTorch 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.

3 participants