Opened 9 years ago

Closed 5 years ago

Last modified 4 years ago

#995 closed enhancement (worksforme)

use "convenience libraries" to share .cc in multiple targets

Reported by: jinmei Owned by: UnAssigned
Priority: low Milestone: Kea1.0-beta
Component: build system Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 3.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

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.

Subtickets

Change History (7)

comment:1 Changed 9 years ago by jinmei

  • Owner changed from jreed to UnAssigned
  • Status changed from new to assigned

comment:2 Changed 9 years ago by stephen

  • Estimated Difficulty changed from 0.0 to 3

comment:3 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:4 Changed 5 years ago by tomek

  • Milestone changed from Remaining BIND10 tickets to Kea-proposed
  • Version set to git

This issue is also affecting Kea.

comment:5 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea1.0
  • Priority changed from medium to low

comment:6 Changed 5 years ago by marcin

  • Resolution set to worksforme
  • Status changed from assigned to closed

This ticket is obsolete as it has been addressed already. Closing.

comment:7 Changed 4 years ago by tomek

  • Milestone changed from Kea1.0 to Kea1.0-beta

Milestone renamed

Note: See TracTickets for help on using tickets.