[squid-dev] [PATCH] Do not update gperf-generated files through make
Kinkie
gkinkie at gmail.com
Mon Sep 21 16:24:10 UTC 2015
Hi,
since we include the gperf-generated files in the source
distribution, it doesn't really make sense to build them through Make
- depending on the relative timestamps of the .cci and .gperf files at
checkout, some systems may decide to rebuild the .cci file.
The side effect of such a rebuild are a greatly lengthened build time
- if we want to have a perfect hash we need to try many hash functions
- for no benefit at all.
This also highlighted a gmake-ism in the Makefile.am which recently
caused some failed builds on FreeBSD 9.3.
The attached patch removes the Makefile.am dependency of the .cci
file, and replaces it with a comment in the .gperf file; we want to
rerun gperf only when touching the .gperf file and that's expected to
be a very rare event.
--
Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gperf-nomake.patch
Type: text/x-diff
Size: 998 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20150921/fa9ea722/attachment.patch>
More information about the squid-dev
mailing list