Open Snektron opened 4 months ago
could you please add a test for this ? thanks
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 40.82%. Comparing base (
0cc0c62
) to head (48d6ed7
). Report is 99 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/compiler/c.rs | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Im not 100% sure what the best way is to add the tests, considering that fully testing that issue requires deleting and then re-adding a file from the HIP bitcode directory (/opt/rocm/amdgcn/bitcode
usually). Regardless, I'm away for a few weeks and will finish this when I get back.
bump
still need tests, sorry :)
In https://github.com/mozilla/sccache/pull/2045 initial support for HIP was added. While trying it out, I noticed that different runs across different machines did not yield an expected cache hit. After some investigation, it turns out that the list of bitcode device libraries is not sorted after discovering them from the file system, and this resulted in a different order across those machines. I've added a fix that simply sorts those libraries after discovering them, that seems to be similar to how its handled elsewhere.