From ebf22f73c25e879f034316afbd8c48d72e6cfbb0 Mon Sep 17 00:00:00 2001 From: Ludwig H?hne Date: Sun, 28 Sep 2008 13:04:03 +0000 Subject: Issue 1646: Block-wise signature computation for large files --- doc/man/scons.1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 1e3e47bd..f080bd73 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -1070,6 +1070,19 @@ signature and to ignore the cached value if there already is one. A value of 0 means to always use the cached signature, no matter how old the file is. +.TP +.RI --md5-chunksize= KILOBYTES +Set the block size used to compute MD5 signatures to +.IR KILOBYTES . +This value determines the size of the chunks which are read in at once when +computing MD5 signatures. Files below that size are fully stored in memory +before performing the signature computation while bigger files are read in +block-by-block. A huge block-size leads to high memory consumption while a very +small block-size slows down the build considerably. + +The default value is to use a chunk size of 64 kilobytes, which should +be appropriate for most uses. + .TP -n, --just-print, --dry-run, --recon No execute. Print the commands that would be executed to build -- cgit v1.2.1