aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-09 10:23:38 +0100
committerGitHub <[email protected]>2016-12-09 10:23:38 +0100
commitb29787dbcc53b4ab1b5bfedd1ad45708d0f99dc1 (patch)
treef2fbdc591e1741024a9b1d487860281719442659 /lib/compiler/doc
parent53aa4605b8c23ec1cb7d5a79625db00ebdd63423 (diff)
parent8b0aff6608c42bf3c04381697b9ab57ffbd93456 (diff)
downloadotp-b29787dbcc53b4ab1b5bfedd1ad45708d0f99dc1.tar.gz
otp-b29787dbcc53b4ab1b5bfedd1ad45708d0f99dc1.tar.bz2
otp-b29787dbcc53b4ab1b5bfedd1ad45708d0f99dc1.zip
Merge pull request #1273 from bjorng/bjorn/compiler/deterministic/ERL-310
Add option 'deterministic' for reproducible builds OTP-14087
Diffstat (limited to 'lib/compiler/doc')
-rw-r--r--lib/compiler/doc/src/compile.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index e93da85f6c..bd488a39a5 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -176,6 +176,14 @@
<seealso marker="stdlib:beam_lib#debug_info">beam_lib(3)</seealso>.</p>
</item>
+ <tag><c>deterministic</c></tag>
+ <item>
+ <p>Omit the <c>options</c> and <c>source</c> tuples in
+ the list returned by <c>Module:module_info(compile)</c>.
+ This option will make it easier to achieve reproducible builds.
+ </p>
+ </item>
+
<tag><c>makedep</c></tag>
<item>
<p>Produces a Makefile rule to track headers dependencies.