Skip to content

Unwanted double-caching when ccache is also installed #2519

@avikivity

Description

@avikivity

If ccache is installed and has /usr/lib64/ccache in $PATH, then sccache gcc ... will actually call /usr/lib64/ccache/gcc, which is in fact ccache, resulting in double-caching.

It would be easier for users migrating from ccache (or having some projects using ccache and some projects using sccache) if sccache automatically set the CCACHE_DISABLE environment variable before invoking the compiler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions