Repository navigation
Conversation
The sccache build patch was hardcoded to `aarch64`, requiring a manual edit each time a new architecture is added. This change detects the architecture at build time via `uname -m` and applies the patch generically, so any future arch get the same fix without code duplication. The `sccache-dist` binary copy is also made conditional on whether `dist-server` is included in `FEATURES`, avoiding a build failure when dist-server support is disabled for a given architecture. Test Plan: ``` cd .ci/docker CI=1 bash -x ./build.sh pytorch-linux-noble-riscv64-py3.12-gcc14-cross-build ```
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/187826
Note: Links to docs will display an error until the docs builds have been completed. ❌ 13 New Failures, 2 Unclassified FailuresAs of commit a196ce5 with merge base 15883c6 ( NEW FAILURES - The following jobs have failed:
UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
|
cc @malfet @atalman @seemethere as you've recently reviewed changes in this file. Thank you! 🙏 |
|
Seems reasonable to me. I'll triggered the jobs runs. |
|
Failures seem unrelated to this change. @pytorchbot merge -i |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@claude Review the change in .ci/docker/common/install_cache.sh, do we still need to do that sed hack when building https://github.com/mozilla/sccache from source? Could we just use the official build from https://github.com/mozilla/sccache? |
|
Claude finished @huydhn's task in 4m 7s —— View job Review:
|
|
@huydhn I would be all for using the official |
|
superseded by #188924. I'll open a PR to download the artifacts from a mozilla/sccache release so that it doesn't even have to be built locally. |
The sccache build patch was hardcoded to
aarch64, requiring a manual edit each time a new architecture is added. This change detects the architecture at build time viauname -mand applies the patch generically, so any future arch get the same fix without code duplication.The
sccache-distbinary copy is also made conditional on whetherdist-serveris included inFEATURES, avoiding a build failure when dist-server support is disabled for a given architecture.Test Plan: