diff options
Diffstat (limited to 'programs/BUCK')
-rw-r--r-- | programs/BUCK | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/programs/BUCK b/programs/BUCK index 069403042993..d2aa6373ff47 100644 --- a/programs/BUCK +++ b/programs/BUCK @@ -10,38 +10,19 @@ cxx_binary( '//lib:mem', '//lib:xxhash', ], -) - -cxx_binary( - name='zstdmt', - headers=glob(['*.h'], excludes=['datagen.h', 'platform.h', 'util.h']), - srcs=glob(['*.c'], excludes=['datagen.c']), - deps=[ - ':datagen', - ':util', - '//lib:zstd', - '//lib:zdict', - '//lib:mem', - '//lib:xxhash', + preprocessor_flags=[ + '-DZSTD_GZCOMPRESS', + '-DZSTD_GZDECOMPRESS', + '-DZSTD_LZMACOMPRESS', + '-DZSTD_LZMADECOMPRES', + '-DZSTD_LZ4COMPRESS', + '-DZSTD_LZ4DECOMPRES', ], - preprocessor_flags=['-DZSTD_MULTITHREAD'], - linker_flags=['-lpthread'], -) - -cxx_binary( - name='gzstd', - headers=glob(['*.h'], excludes=['datagen.h', 'platform.h', 'util.h']), - srcs=glob(['*.c'], excludes=['datagen.c']), - deps=[ - ':datagen', - ':util', - '//lib:zstd', - '//lib:zdict', - '//lib:mem', - '//lib:xxhash', + linker_flags=[ + '-lz', + '-llzma', + '-llz4', ], - preprocessor_flags=['-DZSTD_GZDECOMPRESS'], - linker_flags=['-lz'], ) cxx_library( |