diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/zstd/ya.make | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'contrib/libs/zstd/ya.make')
-rw-r--r-- | contrib/libs/zstd/ya.make | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/contrib/libs/zstd/ya.make b/contrib/libs/zstd/ya.make new file mode 100644 index 0000000000..0ea329180f --- /dev/null +++ b/contrib/libs/zstd/ya.make @@ -0,0 +1,89 @@ +# Generated by devtools/yamaker from nixpkgs 22.11. + +LIBRARY() + +LICENSE( + "(BSD-2-Clause OR GPL-2.0-only)" AND + "(BSD-3-Clause OR GPL-2.0-only)" AND + BSD-2-Clause AND + BSD-3-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +VERSION(1.5.5) + +ORIGINAL_SOURCE(https://github.com/facebook/zstd/archive/v1.5.5.tar.gz) + +PEERDIR( + contrib/libs/xxhash +) + +ADDINCL( + contrib/libs/zstd/lib + contrib/libs/zstd/lib/common + contrib/libs/zstd/lib/legacy +) + +NO_COMPILER_WARNINGS() + +NO_RUNTIME() + +CFLAGS( + -DZSTD_LEGACY_SUPPORT=1 + -DZSTD_MULTITHREAD +) + +IF (ARCH_X86_64 AND NOT MSVC) + CFLAGS( + -DDYNAMIC_BMI2 + ) + SRCS( + lib/decompress/huf_decompress_amd64.S + ) +ENDIF() + +SRCS( + lib/common/debug.c + lib/common/entropy_common.c + lib/common/error_private.c + lib/common/fse_decompress.c + lib/common/pool.c + lib/common/threading.c + lib/common/zstd_common.c + lib/compress/fse_compress.c + lib/compress/hist.c + lib/compress/huf_compress.c + lib/compress/zstd_compress.c + lib/compress/zstd_compress_literals.c + lib/compress/zstd_compress_sequences.c + lib/compress/zstd_compress_superblock.c + lib/compress/zstd_double_fast.c + lib/compress/zstd_fast.c + lib/compress/zstd_lazy.c + lib/compress/zstd_ldm.c + lib/compress/zstd_opt.c + lib/compress/zstdmt_compress.c + lib/decompress/huf_decompress.c + lib/decompress/zstd_ddict.c + lib/decompress/zstd_decompress.c + lib/decompress/zstd_decompress_block.c + lib/dictBuilder/cover.c + lib/dictBuilder/divsufsort.c + lib/dictBuilder/fastcover.c + lib/dictBuilder/zdict.c + lib/legacy/zstd_v01.c + lib/legacy/zstd_v02.c + lib/legacy/zstd_v03.c + lib/legacy/zstd_v04.c + lib/legacy/zstd_v05.c + lib/legacy/zstd_v06.c + lib/legacy/zstd_v07.c +) + +END() + +RECURSE( + programs/zstd +) |