ya.make 379 B

123456789101112131415161718192021222324252627282930313233
  1. GO_LIBRARY()
  2. LICENSE(MIT)
  3. SRCS(
  4. xxhash.go
  5. xxhash_asm.go
  6. xxhash_unsafe.go
  7. )
  8. GO_TEST_SRCS(
  9. bench_test.go
  10. xxhash_test.go
  11. xxhash_unsafe_test.go
  12. )
  13. IF (ARCH_X86_64)
  14. SRCS(xxhash_amd64.s)
  15. ENDIF()
  16. IF (OS_LINUX AND ARCH_ARM64)
  17. SRCS(xxhash_arm64.s)
  18. ENDIF()
  19. IF (OS_DARWIN AND ARCH_ARM64)
  20. SRCS(xxhash_arm64.s)
  21. ENDIF()
  22. END()
  23. RECURSE(
  24. # gotest
  25. )