This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] 18969 - multiple string test failures due to missing locale dependencies


Mike Frysinger <vapier@gentoo.org> writes:

> pretty sure that's not a problem.  $(gen-locales) expands into:
> CTYPE_FILES = $(addsuffix /LC_CTYPE,$(LOCALES))
> gen-locales := $(addprefix $(common-objpfx)localedata/,$(CTYPE_FILES))
>
> so it creates one dep per locale.

Each subdir has its independent set of dependencies.

> $(addprefix $(common-objpfx)localedata/,$(CTYPE_FILES)): %: \
>   ../localedata/gen-locale.sh \
>   $(common-objpfx)locale/localedef \
>   ../localedata/Makefile \
>   $(addprefix ../localedata/charmaps/,$(CHARMAPS)) \
>   $(addprefix ../localedata/locales/,$(LOCALE_SRCS))
>     @$(SHELL) ../localedata/gen-locale.sh $(common-objpfx) \
>           '$(built-program-cmd-before-env)' '$(run-program-env)' \
>           '$(built-program-cmd-after-env)' $@; \
>     $(evaluate-test)
>
> so it generates one locale per invocation.  it looks correct to me.

Different subdirs can build the same locale in parallel.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]