git: zstd(1): Enable multi-threading support in the zstd(1) utility.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Apr 4 06:12:46 PDT 2021


commit 5ebc8a7fe4ccb24d2d34586c9cbfe2bc2db1181b
Author: Sascha Wildner <saw at online.de>
Date:   Sun Apr 4 15:12:25 2021 +0200

    zstd(1): Enable multi-threading support in the zstd(1) utility.
    
    Note that it is only used when -T is specified.
    
    Leave libzstd itself without multi-threading, to prevent libarchive from
    getting a libpthread dependency. Instead, compile libzstd's necessary
    bits into zstd(1) and enable multi-threading only in the utilitily.
    
    For detailed reasoning on this, please check zrj's commit message for
    3ff63cdaea3abd5eece6e57d01a1ab57a4312636.
    
    While here, clean up libzstd's Makefile a bit.

Summary of changes:
 lib/libzstd/Makefile  |  8 --------
 usr.bin/zstd/Makefile | 35 +++++++++++++++++++++++++++--------
 2 files changed, 27 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5ebc8a7fe4ccb24d2d34586c9cbfe2bc2db1181b


-- 
DragonFly BSD source repository


More information about the Commits mailing list