aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/v3_life.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-07 15:40:45 +0100
committerBjörn Gustavsson <[email protected]>2016-12-07 16:21:14 +0100
commit8b0aff6608c42bf3c04381697b9ab57ffbd93456 (patch)
tree373b3543b4b17ccf053a136f8677eeab39ad25c4 /lib/compiler/src/v3_life.erl
parentab2c71054a4c71c60ac433168048b8742408cd09 (diff)
downloadotp-8b0aff6608c42bf3c04381697b9ab57ffbd93456.tar.gz
otp-8b0aff6608c42bf3c04381697b9ab57ffbd93456.tar.bz2
otp-8b0aff6608c42bf3c04381697b9ab57ffbd93456.zip
Add option 'deterministic' for reproducible builds
Add the option 'deterministic' to make it easier to achieve reproducible builds. This option omits the {options,...} and {source,...} tuples in M:module_info(compile), because those options may contain absolute paths. The author of ERL-310 suggested that only compiler options that may contain absolute paths (such as {i,...}) should be excluded. But I find it confusing to keep only some options. Alternatives considered: Always omitting this information. Since this information has been available for a long time, that would probably break some workflows. As an example that some people care about {source,...}, 2d785c07fbf9 made it possible to give a compiler option to set {source,...}. ERL-310
Diffstat (limited to 'lib/compiler/src/v3_life.erl')
0 files changed, 0 insertions, 0 deletions