BIND 10 #371: adjust gen-rdatacode for faster build
BIND 10 Development
do-not-reply at isc.org
Fri Oct 15 02:36:09 UTC 2010
#371: adjust gen-rdatacode for faster build
---------------------------+------------------------------------------------
Reporter: jinmei | Owner: jreed
Type: enhancement | Status: new
Priority: minor | Milestone: y2 12 month milestone
Component: build system | Keywords:
Sensitive: 0 | Estimatedhours: 0
Hours: 0 | Billable: 1
Totalhours: 0 | Internal: 0
---------------------------+------------------------------------------------
I'd like to propose some small changes to src/lib/dns/gen-
rdatacode.py(.in):
- in order to decide whether to update rrclass.h, check mtime of
dns/rdata instead of that of dns/rdata/in_1, etc. in fact, this is more
accurate because what we want to know is when a new supported RR class is
added (in_1, ch_3, etc) rather than when some RR type is changed under an
RR class. this will also reduce the frequency of updating rrclass.h, and
help reduce compile time.
- in order to decide whether to update rrtype.h, check the mtimes of
rrtype_nn.h files only, while the current version also checks the mtimes
of rrtype_nn.cc files. Assuming all .cc files have corresponding .h
files, this should be sufficient, and this also helps reduce the frequency
of updating rrtype.h (and compile time) when we are updating the
definition of some RDATA.
The proposed patch is attached to the ticket.
This should be quite trivial, so I'm planning to merge it to trunk soon.
But if someone can perform a quick sanity check on it, that would be
great. So I'm opening this ticket.
--
Ticket URL: <http://bind10.isc.org/ticket/371>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list