glibc/locale
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
..
bits Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
programs Add --no-hard-links option to localedef (bug 23923) 2018-12-03 10:15:39 -05:00
broken_cur_max.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C_name.c
C-address.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-collate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-identification.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-measurement.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-messages.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-monetary.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-name.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-numeric.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-paper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-telephone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
C-time.c Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
C-translit.h Regenerate locale/C-translit.h. 2015-12-09 22:24:26 -05:00
C-translit.h.in Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
categories.def Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
coll-lookup.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
coll-lookup.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
duplocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
elem-hash.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
findlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
freelocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gen-translit.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
global-locale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
hashval.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
indigits.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
indigitswc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
iso-639.def Add new locale yuw_PG [BZ #20952] 2017-10-25 10:49:35 +02:00
iso-3166.def Fix typos in 3166.def. 2013-10-04 18:51:42 -04:00
iso-4217.def localedata: CLDRv29: update LC_MONETARY int_curr_symbol & currency_symbol 2016-04-15 13:42:29 -04:00
langinfo.h Abbreviated alternative month names (%Ob) also added (bug 10871). 2018-01-22 11:26:55 +01:00
lc-address.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-collate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-ctype.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-identification.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-measurement.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-messages.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-monetary.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-name.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-numeric.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-paper.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-telephone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lc-time.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
loadarchive.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
loadlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locale.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localeconv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localeinfo.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
localename.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
locarchive.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mb_cur_max.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
newlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nl_langinfo_l.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nl_langinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
outdigits.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
outdigitswc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
strlen-hash.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
SYS_libc.c
tst-C-locale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-duplocale.c
tst-locname.c
uselocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Versions
weight.h Fix -Os strcoll, wcscoll, build (bug 21313). 2018-02-07 13:36:14 +00:00
weightwc.h Fix out of bounds access in findidxwc (bug 23442) 2018-07-25 10:50:03 +02:00
xlocale.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00