reproducible builds doc disagrees with code

Maxim Kartashev maxim.kartashev at jetbrains.com
Wed Nov 24 13:55:32 UTC 2021


The description of reproducible builds in doc/building.html and
doc/building.md suggests to use the  --enable-reproducible-builds option,
but in reality the option spelling is singular, not plural:
--enable-reproducible-build. There's also a reference to
--disable-reproducible-builds (again, plural) in the build scripts. I
wonder which is correct?

make/autoconf/jdk-options.m4
697:  UTIL_ARG_ENABLE(NAME: reproducible-build, DEFAULT:
$REPRODUCIBLE_BUILD_DEFAULT,
705:    AC_MSG_NOTICE([On Windows it is not possible to combine
 --disable-reproducible-builds])

The doc commit:
https://github.com/openjdk/jdk/commit/59c3dcc761ac7a9eab1517743cbb77e5526ca6f3



More information about the build-dev mailing list