chore(3p/nix): Clean up some unused defines
This commit is contained in:
parent
91ddc7603d
commit
699ab4e20a
5 changed files with 2 additions and 1529 deletions
5
third_party/nix/src/libutil/compression.cc
vendored
5
third_party/nix/src/libutil/compression.cc
vendored
|
|
@ -214,7 +214,6 @@ struct XzCompressionSink : CompressionSink {
|
|||
bool done = false;
|
||||
|
||||
if (parallel) {
|
||||
#ifdef HAVE_LZMA_MT
|
||||
lzma_mt mt_options = {};
|
||||
mt_options.flags = 0;
|
||||
mt_options.timeout = 300; // Using the same setting as the xz cmd line
|
||||
|
|
@ -230,10 +229,6 @@ struct XzCompressionSink : CompressionSink {
|
|||
// number of threads.
|
||||
ret = lzma_stream_encoder_mt(&strm, &mt_options);
|
||||
done = true;
|
||||
#else
|
||||
LOG(ERROR) << "parallel XZ compression requested but not supported, "
|
||||
<< "falling back to single-threaded compression";
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!done) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue