reproducible-tmp-names
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Mon, 25 Jun 2018 09:24:52 +0000 (10:24 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Mon, 25 Jun 2018 09:24:52 +0000 (10:24 +0100)
commit1a27ca37d0baa34644ca1dfd9f94bd5d6af5fa5f
tree352a5ce73cc9e07e8c4929eac7c59ebe87da991e
parent5b7d28f8307718c5ff5fa7f0623168ea268c1036
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