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


On 13 Oct 2015 09:14, Andreas Schwab wrote:
> 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.

to be clear, i didn't say otherwise, and i'm aware of this behavior.
i was pointing out that each subdir builds each required locale in
parallel and does so with proper targets.
-mike

Attachment: signature.asc
Description: Digital signature


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