reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sun, 8 Apr 2018 20:24:00 +0000 (21:24 +0100)
committerClint Adams <clint@debian.org>
Sun, 8 Apr 2018 20:24:00 +0000 (21:24 +0100)
commit84c94765c3fc1586b640d4bdd20dec599c24b72b
tree355afe850a2d85a61944ed8ea154d9b5ce109632
parent7a2d04926c160533434931017f73e7bf667d5f1f
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