> On Fri, Jun 5, 2020 at 11:17 PM Bram Moolenaar <[email protected]> wrote: > > > > > > Patch 8.2.0910 > > Problem: Vim is not reproducibly buildable. > > Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure. > > (James McCoy, closes #513) Give a warning about using it. > > Does this mean that incremental compiles done without reconfiguring > will all get the same "compiled" date at top of their :version text if > this option is used? From the foregoing discussion, I would have > expected this environment variable to be set at compile-time, which is > when version.c gets the __DATE__ and __TIME__ settings when it uses > them. IIUC anyone who wants to use $SOURCE_DATE_EPOCH will have to run > "make reconfig" (or configure then make then make install) whenever a > new value of the "reproducible build date" is desired.
The idea of this "reproducible build" standard is that the whole build happens at a predefined timestamp. Even if you build several times, the resulting binary will be the same (hopefully exactly the same). Unless done carefully, it's a great way to mess up and never have the time stamp change. That's why I added the warning in the build output. -- Facepalm statement #2: "If there is a country without immigrants I'm going to move there" /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202006061202.056C2mj01257427%40masaka.moolenaar.net.
