reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)
committerClint Adams <clint@debian.org>
Sat, 17 Dec 2016 02:44:45 +0000 (02:44 +0000)
commite47dd2731aafd6d032efe94f562d282f768290fb
treeb58e81038eaf89e402b35b1375de32c9b018e102
parentf121a7889b99b783e1dbb07d8e1cbedee922af27
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