ya.make 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. "(BSD-2-Clause OR GPL-2.0-only)" AND
  5. "(BSD-3-Clause OR GPL-2.0-only)" AND
  6. BSD-2-Clause AND
  7. BSD-3-Clause AND
  8. MIT
  9. )
  10. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  11. VERSION(1.5.6)
  12. ORIGINAL_SOURCE(https://github.com/facebook/zstd/archive/v1.5.6.tar.gz)
  13. PEERDIR(
  14. contrib/libs/xxhash
  15. )
  16. NO_COMPILER_WARNINGS()
  17. NO_RUNTIME()
  18. CFLAGS(
  19. -DZSTD_LEGACY_SUPPORT=1
  20. -DZSTD_MULTITHREAD
  21. )
  22. IF (ARCH_X86_64 AND NOT MSVC)
  23. CFLAGS(
  24. -DDYNAMIC_BMI2
  25. )
  26. SRCS(
  27. lib/decompress/huf_decompress_amd64.S
  28. )
  29. ENDIF()
  30. SRCS(
  31. lib/common/debug.c
  32. lib/common/entropy_common.c
  33. lib/common/error_private.c
  34. lib/common/fse_decompress.c
  35. lib/common/pool.c
  36. lib/common/threading.c
  37. lib/common/zstd_common.c
  38. lib/compress/fse_compress.c
  39. lib/compress/hist.c
  40. lib/compress/huf_compress.c
  41. lib/compress/zstd_compress.c
  42. lib/compress/zstd_compress_literals.c
  43. lib/compress/zstd_compress_sequences.c
  44. lib/compress/zstd_compress_superblock.c
  45. lib/compress/zstd_double_fast.c
  46. lib/compress/zstd_fast.c
  47. lib/compress/zstd_lazy.c
  48. lib/compress/zstd_ldm.c
  49. lib/compress/zstd_opt.c
  50. lib/compress/zstdmt_compress.c
  51. lib/decompress/huf_decompress.c
  52. lib/decompress/zstd_ddict.c
  53. lib/decompress/zstd_decompress.c
  54. lib/decompress/zstd_decompress_block.c
  55. lib/dictBuilder/cover.c
  56. lib/dictBuilder/divsufsort.c
  57. lib/dictBuilder/fastcover.c
  58. lib/dictBuilder/zdict.c
  59. lib/legacy/zstd_v01.c
  60. lib/legacy/zstd_v02.c
  61. lib/legacy/zstd_v03.c
  62. lib/legacy/zstd_v04.c
  63. lib/legacy/zstd_v05.c
  64. lib/legacy/zstd_v06.c
  65. lib/legacy/zstd_v07.c
  66. )
  67. END()
  68. RECURSE(
  69. programs/zstd
  70. )