ya.make 780 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. LIBRARY()
  2. LICENSE(Apache-2.0)
  3. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  4. VERSION(2017-05-08-2b666ae078292b01024453d01480f3b362a2a012)
  5. NO_COMPILER_WARNINGS()
  6. ADDINCL(GLOBAL contrib/libs/highwayhash)
  7. SRCDIR(contrib/libs/highwayhash/highwayhash)
  8. SRCS(
  9. # Dispatcher
  10. arch_specific.cc
  11. instruction_sets.cc
  12. nanobenchmark.cc
  13. os_specific.cc
  14. # SipHash
  15. sip_hash.cc
  16. scalar_sip_tree_hash.cc
  17. # sip_tree_hash.cc with AVX2 if available
  18. # HighwayHash
  19. hh_portable.cc
  20. # hh_avx2.cc with AVX2
  21. # hh_sse41.cc with SSE4.1
  22. # Library
  23. c_bindings.cc
  24. )
  25. IF (ARCH_X86_64)
  26. PEERDIR(
  27. contrib/libs/highwayhash/arch/avx2
  28. contrib/libs/highwayhash/arch/sse41
  29. )
  30. ELSE()
  31. SRCS(
  32. sip_tree_hash.cc
  33. )
  34. ENDIF()
  35. END()