summaryrefslogtreecommitdiff
path: root/programs/BUCK
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-10-22 19:45:18 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-10-22 19:45:18 +0000
commit1767cc4987b68ace957ea34c20634485d4232611 (patch)
tree61ddbc2b340b4c1007a520df793f7222a1b4bb6f /programs/BUCK
parent653667f9dc9cc0169deeca1a82a60c2e91d5683a (diff)
import zstd 1.3.3vendor/zstd/1.3.3
Diffstat (limited to 'programs/BUCK')
-rw-r--r--programs/BUCK41
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(