mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
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>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user