mozilla / sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Apache License 2.0
5.85k stars 552 forks source link

feat: Use profile-generate to replace outdated -Zprofile options #2282

Closed Xuanwo closed 1 week ago

Xuanwo commented 1 week ago

Related to https://github.com/mozilla/grcov/issues/1240

I start this PR to fix the main branch's CI failure, but find out that we need to use profile-generate to replace outdated -Zprofile options.

Refer https://doc.rust-lang.org/rustc/profile-guided-optimization.html for more information.

Xuanwo commented 1 week ago

cc @sylvestre would you like to take a look? This PR will address the failing CI on main.

Xuanwo commented 1 week ago

Snap workflow has been disable since it never works.

https://github.com/mozilla/sccache/actions/runs/11701499882/job/32587729982?pr=2282

Exported credentials are no longer valid for the Snap Store.
Recommended resolution: Run export-login and update SNAPCRAFT_STORE_CREDENTIALS.
For more information, check out: https://snapcraft.io/docs/snapcraft-authentication
Full execution log: '/home/runner/.local/state/snapcraft/log/snapcraft-20241106-102321.213818.log'
sylvestre commented 1 week ago

thanks !