Skip to content

update sccache to latest version #6837

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 8 commits into from
Nov 18, 2024
Merged

update sccache to latest version #6837

merged 8 commits into from
Nov 18, 2024

Conversation

wdvr
Copy link
Contributor

@wdvr wdvr commented Nov 13, 2024

Summary

Update SCCache to the latest version

This is part of the effort to get rid of AWS IMDSv1 usage. Latest SCCache uses IMDSv2, which is what we migrate to here (similar to pytorch/pytorch#121323).

Test plan

Check if SCCache is used and auth works to the S3 bucket for builds

Copy link

pytorch-bot bot commented Nov 13, 2024

🔗 Helpful Links

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

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

❗ 2 Active SEVs

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

✅ No Failures

As of commit bbee49c with merge base 5b4d9bb (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 Nov 13, 2024
@wdvr wdvr force-pushed the wdvr/sccache_update branch from d2b5e99 to bcc5828 Compare November 14, 2024 20:02
@wdvr wdvr marked this pull request as ready for review November 15, 2024 19:33
@wdvr wdvr requested review from huydhn and malfet November 15, 2024 19:33
# Instead use lib and headers from OpenSSL1.1 installed in `install_openssl.sh``
apt-get install -y cargo
echo "Checking out sccache repo"
if [ -n "$CUDA_VERSION" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can just use upstream https://github.com/mozilla/sccache to keep it simple here as there is no CUDA

Copy link
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

LGTM! We can just use https://github.com/mozilla/sccache here as there is not going to be any CUDA, so we won't need pytorch-fork sccache

@wdvr wdvr force-pushed the wdvr/sccache_update branch from 6f7a717 to bbee49c Compare November 18, 2024 18:50
@wdvr wdvr merged commit 7278519 into main Nov 18, 2024
45 checks passed
@wdvr wdvr deleted the wdvr/sccache_update branch November 18, 2024 22:13
swolchok added a commit that referenced this pull request Nov 21, 2024
This reverts commit 7278519.

Nightly macos wheel builds are failing to link; seeing if this fixes
it after inspecting commits between last good build
(https://github.com/pytorch/executorch/actions/runs/11891594679) and
first bad build
(https://github.com/pytorch/executorch/actions/runs/11912200383)
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants