Skip to content

feat: avoid sccache wrapper when resolving compiler#2720

Open
iTrooz wants to merge 1 commit into
mozilla:mainfrom
iTrooz:sccache_wrapper
Open

feat: avoid sccache wrapper when resolving compiler#2720
iTrooz wants to merge 1 commit into
mozilla:mainfrom
iTrooz:sccache_wrapper

Conversation

@iTrooz
Copy link
Copy Markdown
Contributor

@iTrooz iTrooz commented May 27, 2026

This PR allows you to do things like /bin/sccache /usr/lib/sccache/gcc main.c

It can seem weird at first, but the same mechanism already existed for ccache. Personally, I had an issue with a build system that insisted on putting sccache as a wrapper, when I already had gcc as a sccache symlink, which is what prompted that PR

there's a change of behaviour for absolute path (why are now still changed to avoid wrappers) so I would understand if you didn't accept this PR

Make /bin/sccache /usr/lib/sccache/gcc main.c work
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.34%. Comparing base (8825b4a) to head (a53106f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2720      +/-   ##
==========================================
- Coverage   74.41%   74.34%   -0.07%     
==========================================
  Files          70       70              
  Lines       39211    39403     +192     
==========================================
+ Hits        29177    29296     +119     
- Misses      10034    10107      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants