[CI] Enable sccache for multi-arch release builds (Linux + Windows)#5901
Draft
amd-chiranjeevi wants to merge 20 commits into
Draft
[CI] Enable sccache for multi-arch release builds (Linux + Windows)#5901amd-chiranjeevi wants to merge 20 commits into
amd-chiranjeevi wants to merge 20 commits into
Conversation
483cda6 to
7c222a9
Compare
added 7 commits
June 17, 2026 10:36
Contributor
Author
|
needed this patch ROCm/rocm-systems#6239 - without this patch getting errors when build hip-clr on windows log: https://github.com/ROCm/TheRock/actions/runs/27739979092/job/82100969694 |
1 task
❌ PR Check — Action Required
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
Adds a patch for rocm-libraries/rocwmma that removes the non-existent
-fallow-half-arguments-and-returns flag (passed via -Xclang) and the
unnecessary --driver-mode=g++ flag from CMAKE_CXX_FLAGS.
These flags caused sccache to mark all rocWMMA compilations as
non-cacheable ("Can't handle UnknownFlag arguments with -Xclang"),
producing ~1,041 cache misses per math-libs build. The flags are
dead — the clang flag does not exist in LLVM source, and rocBLAS
already removed it for the same reason.
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Enables sccache for the multi-arch release build pipeline (TheRock core — not PyTorch),
workflow call chain:
multi_arch_release.yml
→ multi_arch_release_{linux,windows}.yml
→ multi_arch_build_{portable_linux,windows}.yml
→ multi_arch_build_{portable_linux,windows}_artifacts.yml
What changed
therock-sccache-{dev,nightly,prerelease}us-east-1linux/multiarch/v1/windows/multiarch/v1/cache_typedefaultsccacheTest Plan
to be updated
Test Result
to be updated
Submission Checklist