ya.make 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. VERSION(1.9.0)
  4. ORIGINAL_SOURCE(https://github.com/google/benchmark/archive/v1.9.0.tar.gz)
  5. LICENSE(Apache-2.0)
  6. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  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. -DBENCHMARK_VERSION=\"v1.9.0\"
  16. -DHAVE_POSIX_REGEX
  17. -DHAVE_PTHREAD_AFFINITY
  18. -DHAVE_STD_REGEX
  19. -DHAVE_STEADY_CLOCK
  20. )
  21. IF (OS_LINUX)
  22. CFLAGS(
  23. -DBENCHMARK_HAS_PTHREAD_AFFINITY
  24. )
  25. ENDIF()
  26. SRCS(
  27. src/benchmark.cc
  28. src/benchmark_api_internal.cc
  29. src/benchmark_name.cc
  30. src/benchmark_register.cc
  31. src/benchmark_runner.cc
  32. src/check.cc
  33. src/colorprint.cc
  34. src/commandlineflags.cc
  35. src/complexity.cc
  36. src/console_reporter.cc
  37. src/counter.cc
  38. src/csv_reporter.cc
  39. src/json_reporter.cc
  40. src/perf_counters.cc
  41. src/reporter.cc
  42. src/statistics.cc
  43. src/string_util.cc
  44. src/sysinfo.cc
  45. src/timers.cc
  46. )
  47. END()
  48. RECURSE(
  49. test
  50. tools
  51. )