reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Tue, 29 Aug 2017 21:10:26 +0000 (22:10 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Tue, 29 Aug 2017 21:10:26 +0000 (22:10 +0100)
commit84ed1a465af780d80ed3fe1b5bd083d6a6de70ac
tree97c34b575e6f77cbf01f9488f21a09dddacb5f99
parent05880bc06ef567e7ad84722bf6bd95fc999c6988
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