Skip to content

@something is expanded as a @file even when it's a value to another argument #150

Closed
@glandium

Description

@glandium

The typical example is a command line like:
clang -install_name @executable_path/foo.dylib

While that also ends up being a linkage command, and thus won't be cached anyways, sccache shouldn't even try to consider @executable_path/foo.dylib as a @file.

The current behavior results in log noise like:
DEBUG:sccache::compiler::gcc: failed to read @-file /home/worker/workspace/build/src/obj-firefox/memory/replace/logalloc/executable_path/liblogalloc.dylib: No such file or directory (os error 2)

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