ya.make 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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.5)
  12. ORIGINAL_SOURCE(https://github.com/facebook/zstd/archive/v1.5.5.tar.gz)
  13. PEERDIR(
  14. contrib/libs/xxhash
  15. )
  16. ADDINCL(
  17. contrib/libs/zstd/lib
  18. contrib/libs/zstd/lib/common
  19. contrib/libs/zstd/lib/legacy
  20. )
  21. NO_COMPILER_WARNINGS()
  22. NO_RUNTIME()
  23. CFLAGS(
  24. -DZSTD_LEGACY_SUPPORT=1
  25. -DZSTD_MULTITHREAD
  26. )
  27. IF (ARCH_X86_64 AND NOT MSVC)
  28. CFLAGS(
  29. -DDYNAMIC_BMI2
  30. )
  31. SRCS(
  32. lib/decompress/huf_decompress_amd64.S
  33. )
  34. ENDIF()
  35. SRCS(
  36. lib/common/debug.c
  37. lib/common/entropy_common.c
  38. lib/common/error_private.c
  39. lib/common/fse_decompress.c
  40. lib/common/pool.c
  41. lib/common/threading.c
  42. lib/common/zstd_common.c
  43. lib/compress/fse_compress.c
  44. lib/compress/hist.c
  45. lib/compress/huf_compress.c
  46. lib/compress/zstd_compress.c
  47. lib/compress/zstd_compress_literals.c
  48. lib/compress/zstd_compress_sequences.c
  49. lib/compress/zstd_compress_superblock.c
  50. lib/compress/zstd_double_fast.c
  51. lib/compress/zstd_fast.c
  52. lib/compress/zstd_lazy.c
  53. lib/compress/zstd_ldm.c
  54. lib/compress/zstd_opt.c
  55. lib/compress/zstdmt_compress.c
  56. lib/decompress/huf_decompress.c
  57. lib/decompress/zstd_ddict.c
  58. lib/decompress/zstd_decompress.c
  59. lib/decompress/zstd_decompress_block.c
  60. lib/dictBuilder/cover.c
  61. lib/dictBuilder/divsufsort.c
  62. lib/dictBuilder/fastcover.c
  63. lib/dictBuilder/zdict.c
  64. lib/legacy/zstd_v01.c
  65. lib/legacy/zstd_v02.c
  66. lib/legacy/zstd_v03.c
  67. lib/legacy/zstd_v04.c
  68. lib/legacy/zstd_v05.c
  69. lib/legacy/zstd_v06.c
  70. lib/legacy/zstd_v07.c
  71. )
  72. END()
  73. RECURSE(
  74. programs/zstd
  75. )