HomeFreeBSD

Avoid rebuilding libpmc in every incremental rebuild

Description

Avoid rebuilding libpmc in every incremental rebuild

Generate libpmc_events.c in a temporary file first and only overwrite it
if the files are actually different.
This avoids compiling and relinking the different variants of libpmc on
every incremental build.

Reviewed By: jhb
Differential Revision: https://reviews.freebsd.org/D24784

Details

Provenance
arichardsonAuthored on
Reviewer
jhb
Differential Revision
D24784: Avoid rebuilding libpmc in every incremental rebuild
Parents
rS363215: poll: factor fd lookup out of scan and rescan
Branches
Unknown
Tags
Unknown