glibc/locale/programs
Carlos O'Donell 8cebd4ffe6 Add --no-hard-links option to localedef (bug 23923)
Downstream distributions need consistent sets of hardlinks in
order for rpm to operate effectively. This means that even if
locales are built with a high level of parallelism that the
resulting files need to have consistent hardlink counts. The only
way to achieve this is with a post-install hardlink pass using a
program like 'hardlink' (shipped in Fedora).

If the downstream distro wants to post-process the hardlinks then
the time spent in localedef looking up sibling directories and
processing hardlinks is wasted effort.

To optimize the build and install pass we add a --no-hard-links
option to localedef to avoid doing the hardlink optimziation for
size.

Tested on x86_64 with 'make localedata/install-locale-files'
before and after. Without the patch we have files with 100+
hardlink counts. After the patch and running with --no-hard-links
all link counts are 1. This patch also alters the convenience
target 'make localedata/install-locale-files' to use the new
option.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2018-12-03 10:15:39 -05:00
..
3level.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap-dir.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap-dir.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap-kw.gperf Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap-kw.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
charmap.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
config.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-address.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-collate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-identification.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-measurement.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-messages.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-monetary.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-name.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-numeric.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-paper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-telephone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ld-time.c Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
linereader.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
linereader.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locale-spec.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locale.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
localedef.c Add --no-hard-links option to localedef (bug 23923) 2018-12-03 10:15:39 -05:00
localedef.h Add --no-hard-links option to localedef (bug 23923) 2018-12-03 10:15:39 -05:00
locarchive.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locfile-kw.gperf Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
locfile-kw.h Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
locfile-token.h Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
locfile.c Add --no-hard-links option to localedef (bug 23923) 2018-12-03 10:15:39 -05:00
locfile.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
record-status.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
record-status.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
repertoire.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
repertoire.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
simple-hash.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
simple-hash.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xmalloc.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstrdup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00