[erlang-questions] repeatable builds

Magnus Henoch magnus@REDACTED
Tue Apr 5 15:07:46 CEST 2016


Debian has included a patch that lets you use the environment variable
SOURCE_DATE_EPOCH to fix the compile time, and thus obtain identical output
(given the same compiler version and other things):
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795834

This was briefly discussed on this mailing list:
http://erlang.org/pipermail/erlang-questions/2015-January/082699.html

Regards,
Magnus


On Mon, Apr 4, 2016 at 8:59 PM, Joe Armstrong <erlang@REDACTED> wrote:

> Hello,
>
> I think I've asked this before but cannot find the answer:
>
> I want the beam file produced by
>
>   $ erl file.erl
>
> to always have the same sha1 checksum - there was, if I remember
> correctly, a hidden flag that removed the time of compilation etc from
> the beam code. Any ideas how to do this?
>
> /Joe
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160405/35e62a98/attachment.htm>


More information about the erlang-questions mailing list