This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [ANNOUNCEMENT] GDB BuildBot
- From: Pedro Alves <palves at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>, Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 23 Jan 2015 09:56:25 +0000
- Subject: Re: [ANNOUNCEMENT] GDB BuildBot
- Authentication-results: sourceware.org; auth=none
- References: <87bnm1exo6 dot fsf at redhat dot com> <87lhkvd9u7 dot fsf at redhat dot com> <837fwevg2b dot fsf at gnu dot org> <87r3um8xvu dot fsf at redhat dot com> <831tmmvepo dot fsf at gnu dot org> <87mw5a8x34 dot fsf at redhat dot com> <83y4outyxl dot fsf at gnu dot org> <87ppa67fqb dot fsf at redhat dot com> <83vbjytv2s dot fsf at gnu dot org> <83twzitur9 dot fsf at gnu dot org> <83sif2tucs dot fsf at gnu dot org> <87sif25vzr dot fsf at redhat dot com> <83ppa5uaqj dot fsf at gnu dot org>
On 01/23/2015 09:06 AM, Eli Zaretskii wrote:
>> From: Sergio Durigan Junior <sergiodj@redhat.com>
>> If the "make TAGS" step proves to be too difficult to implement in the
>> regular build process, I will create a special builder just for it.
>
> I don't think we need to go that far. Simply adding "cd $(srcdir) &&"
> to the TAGS rules that don't already do that should be good enough.
Yes, we should do that. It's what we do to other similar rules
that generate files in the source dir, like e.g.,
$(srcdir)/aclocal.m4: @MAINTAINER_MODE_TRUE@ $(aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
> Alternatively, you could do just "make -C gdb TAGS".
Agreed, though I'd say "in addition", rather than "alternatively". It's
still good to make it easy to generate TAGS without having to reconfigure.
> After all, we
> don't necessarily need to fix the entire repository, only the parts
> that are under our responsibility. Perhaps this is the best
> alternative, on balance.
Thanks,
Pedro Alves