Make the build reproducible
Whilst working on the Reproducible Builds effort [0], we noticed that zstd could not be built reproducibly. This is due to the manual page encoding the number of CPUs from the build machine and thus varies across builds. This was originally filed in Debian as #897904 [1]. [0] https://reproducible-builds.org/ [1] https://bugs.debian.org/897904 Signed-off-by: Chris Lamb <lamby@debian.org>dev
parent
5ec92c4d96
commit
2dbe408a49
|
@ -85,7 +85,7 @@ void usage() {
|
|||
std::fprintf(stderr, "Usage:\n");
|
||||
std::fprintf(stderr, " pzstd [args] [FILE(s)]\n");
|
||||
std::fprintf(stderr, "Parallel ZSTD options:\n");
|
||||
std::fprintf(stderr, " -p, --processes # : number of threads to use for (de)compression (default:%d)\n", defaultNumThreads());
|
||||
std::fprintf(stderr, " -p, --processes # : number of threads to use for (de)compression (default:<numcpus>)\n");
|
||||
|
||||
std::fprintf(stderr, "ZSTD options:\n");
|
||||
std::fprintf(stderr, " -# : # compression level (1-%d, default:%d)\n", kMaxNonUltraCompressionLevel, kDefaultCompressionLevel);
|
||||
|
|
Loading…
Reference in New Issue