summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/file_system_manager.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-10-27 14:13:24 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-11-15 11:58:45 +0100
commit65e1ee9903d17e166f37b8e296895049a3308fec (patch)
treeee5290524fe5c54ddea54f473427590fbccb56e0 /src/buildtool/file_system/file_system_manager.hpp
parent8aa7668ba6d9049644b02fcb6fbdba00fd8fdf67 (diff)
downloadjustbuild-65e1ee9903d17e166f37b8e296895049a3308fec.tar.gz
Base export target chache key on the exported target
The cache key for an export target should contain as target name that of the export target (and its effective configuration) rather than the exported target. As we computed the repository part of the cache key for the target included in the key, this was still a correct cache key except in the case an explicit file reference was exported (as here, the information that the file was to be taken rather than the target of the same name got lost). We still fix this issue by making the implementation match our design (rather than by including the file-reference bit in the cache key), as the original design gives the cleaner protocol for target-level caching as a service. (cherry-picked from 180d8d89ffa92f8c3e8b8bcb912ec1a4990569c9)
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
0 files changed, 0 insertions, 0 deletions