BIND 10 #995: use "convenience libraries" to share .cc in multiple targets
BIND 10 Development
do-not-reply at isc.org
Wed Jun 1 21:23:19 UTC 2011
#995: use "convenience libraries" to share .cc in multiple targets
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner: jreed
Type: enhancement | Status: new
Priority: major | Milestone: Next-
Component: build system | Sprint-Proposed
Sensitive: 0 | Keywords:
Sub-Project: Core | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Currently we compile some .cc files multiple times, once for a main
target (such as b10-auth), and in other cases for tests and
benchmarks. The additional compilation is simply redundant and
(though maybe relatively marginal) contribute to increasing the
already large build time of BIND 10.
I propose we use the "convenience library" feature of automake to avoid
the duplicate compilation. See this link for convenience libraries:
http://sourceware.org/autobook/autobook/autobook_92.html
(At least in theory) this should be a beneficial (and mostly trivial)
change at no risk of regression.
Both b10-auth and b10-recurse should be able to benefit from this, and
there may be some others.
--
Ticket URL: <http://bind10.isc.org/ticket/995>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list