Ensure digest of lib/unicore/mktables is reproducible

For reasons Perl has decided files that don't exist should be given a
random "small" digest to make them rebuild always. That isn't helpful
for reproducibility.
This commit is contained in:
Samuel Tyler 2025-09-15 10:11:19 +10:00
parent 7bc5ec4555
commit 83ad28221a
5 changed files with 25 additions and 1 deletions

View file

@ -35,6 +35,11 @@ src_prepare() {
lib/feature.pm lib/B/Op_private.pm miniperlmain.c unicode_constants.h \
charclass_invlists.h ebcdic_tables.h packsizetables.c overload.c \
mg_names.c
# If an input file does not exist, the "digest" of the input file (used as
# a manifest of inputs) in the generated file is a random number, which is
# not reproducible
touch lib/unicore/mktables.lst
perl regen.pl
perl regen_perly.pl -b bison-2.3
perl regen/keywords.pl