ya.make 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(Apache-2.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(1.8.3)
  6. ORIGINAL_SOURCE(https://github.com/google/benchmark/archive/v1.8.3.tar.gz)
  7. ADDINCL(
  8. GLOBAL contrib/restricted/google/benchmark/include
  9. contrib/restricted/google/benchmark/src
  10. )
  11. NO_COMPILER_WARNINGS()
  12. NO_UTIL()
  13. CFLAGS(
  14. GLOBAL -DBENCHMARK_STATIC_DEFINE
  15. -DHAVE_POSIX_REGEX
  16. -DHAVE_PTHREAD_AFFINITY
  17. -DHAVE_STD_REGEX
  18. -DHAVE_STEADY_CLOCK
  19. )
  20. IF (OS_LINUX)
  21. CFLAGS(
  22. -DBENCHMARK_HAS_PTHREAD_AFFINITY
  23. )
  24. ENDIF()
  25. SRCS(
  26. src/benchmark.cc
  27. src/benchmark_api_internal.cc
  28. src/benchmark_name.cc
  29. src/benchmark_register.cc
  30. src/benchmark_runner.cc
  31. src/check.cc
  32. src/colorprint.cc
  33. src/commandlineflags.cc
  34. src/complexity.cc
  35. src/console_reporter.cc
  36. src/counter.cc
  37. src/csv_reporter.cc
  38. src/json_reporter.cc
  39. src/perf_counters.cc
  40. src/reporter.cc
  41. src/statistics.cc
  42. src/string_util.cc
  43. src/sysinfo.cc
  44. src/timers.cc
  45. )
  46. END()
  47. RECURSE(
  48. test
  49. )