Document how to compile a reproducible build (#18953)

* Make compiler build more reproducible

Removed the compile time from the version output.
Added Git commit's author's datetime in UTC timezone.

Fixes #18508

See https://reproducible-builds.org/docs/timestamps/
See https://reproducible-builds.org/docs/source-date-epoch/

* Revert "Make compiler build more reproducible"

This reverts commit 2f9359ae89622c2d95ef243d13251a310e94a199.

Documented how to use compile reproducible builds with the
`SOURCE_DATE_EPOCH` environment variable.

* Corrected `readme.md` formatting

Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
This commit is contained in:
quantimnot 2021-10-06 03:41:42 -04:00 • committed by GitHub
commit 9fc2918314
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View file

@ -71,7 +71,6 @@ the installation instructions on the website to do so: https://nim-lang.org/inst
For package maintainers: see [packaging guidelines](https://nim-lang.github.io/Nim/packaging.html).
First, get Nim from github:
```
@ -89,6 +88,8 @@ should add the ``bin`` directory to your PATH.
See also [rebuilding the compiler](doc/intern.rst#rebuilding-the-compiler).
See also [reproducible builds](doc/intern.rst#reproducible-builds).
## Koch
``koch`` is the build tool used to build various parts of Nim and to generate