Skip to content

C++20 modules with cmake 4.3.0 are not cacheable due to @response files #2650

@Felixoid

Description

@Felixoid

The line from the integration test #2649 contains @file:

[8/9] /sccache/target/debug/sccache /usr/bin/clang++ -std=c++20 -MD -MT CMakeFiles/myproject.dir/main.cpp.o -MF CMakeFiles/myproject.dir/main.cpp.o.d @CMakeFiles/myproject.dir/main.cpp.o.modmap -o CMakeFiles/myproject.dir/main.cpp.o -c /build/cmake-modules/main.cpp

It causes the compilation result caching failure with

Non-cacheable reasons:
@                                     4

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