top | item 38755575

(no title)

phlip9 | 2 years ago

sccache only caches if builds are run from the same absolute path, so indeed different home dirs won't work

discuss

order

tentacleuno|2 years ago

As a bystander, what would the reasoning be for doing this? I would have assumed that they'd hash each file and use that as a key in a lookup table.

sgammon|2 years ago

In some languages, symbols are provided which evaluate to a file’s path or directory parent, so program behavior can vary even for the same content hash. That’s just one way paths can bleed in to violate hermeticity/correctness.

MereInterest|2 years ago

It sounds like somebody assuming a docker build, where everybody’s build will use the same file path. It’s still a very silly restriction, because not everything occurs within docker.