reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sat, 26 Aug 2017 17:04:27 +0000 (18:04 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 26 Aug 2017 17:04:27 +0000 (18:04 +0100)
commit3c9f56788811a2bf12e4fec0651c744db021c472
tree0080f3acf18a1b1ea49e470a1db17a1e2218fb13
parent40183f262cd932667bc9ebaf27f75b8fc0d63b68
reproducible-tmp-names

This is an attempt to make GHC build reproducible. The name of .c files may end
up in the resulting binary (in the debug section), but not the directory.

Instead of using the process id, create a hash from the command line arguments,
and assume that is going to be unique.

Gbp-Pq: Name reproducible-tmp-names
compiler/main/SysTools.hs