[libcxx-commits] [PATCH] D112012: [benchmarks] Unify libcxx's fork of google/benchmark to llvm/utils

Mircea Trofin via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 18 09:12:16 PDT 2021


mtrofin created this revision.
mtrofin added reviewers: ldionne, jrtc27, lebedev.ri, rengolin, Meinersbur.
Herald added subscribers: jdoerfert, s.egerton, mstorsjo, mgrang, simoncook, fedor.sergeev, krytarowski, arichardson, mgorny, dschuff.
mtrofin requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, libcxx-commits, sstefan1.
Herald added projects: libc++, LLVM.
Herald added a reviewer: libc++.

This change:

- replaces the copy of google/benchmark in lib/utils with the one libcxx

had, because the latter is more recent

- deletes the copy libcxx has and points the build to lib/utils' copy.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112012

Files:
  libcxx/benchmarks/CMakeLists.txt
  libcxx/utils/google-benchmark/.clang-format
  libcxx/utils/google-benchmark/.github/.libcxx-setup.sh
  libcxx/utils/google-benchmark/.github/ISSUE_TEMPLATE/bug_report.md
  libcxx/utils/google-benchmark/.github/ISSUE_TEMPLATE/feature_request.md
  libcxx/utils/google-benchmark/.github/workflows/bazel.yml
  libcxx/utils/google-benchmark/.github/workflows/build-and-test-perfcounters.yml
  libcxx/utils/google-benchmark/.github/workflows/build-and-test.yml
  libcxx/utils/google-benchmark/.github/workflows/pylint.yml
  libcxx/utils/google-benchmark/.github/workflows/sanitizer.yml
  libcxx/utils/google-benchmark/.github/workflows/test_bindings.yml
  libcxx/utils/google-benchmark/.gitignore
  libcxx/utils/google-benchmark/.travis.yml
  libcxx/utils/google-benchmark/.ycm_extra_conf.py
  libcxx/utils/google-benchmark/AUTHORS
  libcxx/utils/google-benchmark/BUILD.bazel
  libcxx/utils/google-benchmark/CMakeLists.txt
  libcxx/utils/google-benchmark/CONTRIBUTING.md
  libcxx/utils/google-benchmark/CONTRIBUTORS
  libcxx/utils/google-benchmark/LICENSE
  libcxx/utils/google-benchmark/README.md
  libcxx/utils/google-benchmark/WORKSPACE
  libcxx/utils/google-benchmark/_config.yml
  libcxx/utils/google-benchmark/appveyor.yml
  libcxx/utils/google-benchmark/bindings/python/BUILD
  libcxx/utils/google-benchmark/bindings/python/build_defs.bzl
  libcxx/utils/google-benchmark/bindings/python/google_benchmark/BUILD
  libcxx/utils/google-benchmark/bindings/python/google_benchmark/__init__.py
  libcxx/utils/google-benchmark/bindings/python/google_benchmark/benchmark.cc
  libcxx/utils/google-benchmark/bindings/python/google_benchmark/example.py
  libcxx/utils/google-benchmark/bindings/python/pybind11.BUILD
  libcxx/utils/google-benchmark/bindings/python/python_headers.BUILD
  libcxx/utils/google-benchmark/bindings/python/requirements.txt
  libcxx/utils/google-benchmark/cmake/AddCXXCompilerFlag.cmake
  libcxx/utils/google-benchmark/cmake/CXXFeatureCheck.cmake
  libcxx/utils/google-benchmark/cmake/Config.cmake.in
  libcxx/utils/google-benchmark/cmake/GetGitVersion.cmake
  libcxx/utils/google-benchmark/cmake/GoogleTest.cmake
  libcxx/utils/google-benchmark/cmake/GoogleTest.cmake.in
  libcxx/utils/google-benchmark/cmake/benchmark.pc.in
  libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp
  libcxx/utils/google-benchmark/cmake/llvm-toolchain.cmake
  libcxx/utils/google-benchmark/cmake/posix_regex.cpp
  libcxx/utils/google-benchmark/cmake/split_list.cmake
  libcxx/utils/google-benchmark/cmake/std_regex.cpp
  libcxx/utils/google-benchmark/cmake/steady_clock.cpp
  libcxx/utils/google-benchmark/cmake/thread_safety_attributes.cpp
  libcxx/utils/google-benchmark/dependencies.md
  libcxx/utils/google-benchmark/docs/AssemblyTests.md
  libcxx/utils/google-benchmark/docs/_config.yml
  libcxx/utils/google-benchmark/docs/perf_counters.md
  libcxx/utils/google-benchmark/docs/random_interleaving.md
  libcxx/utils/google-benchmark/docs/releasing.md
  libcxx/utils/google-benchmark/docs/tools.md
  libcxx/utils/google-benchmark/include/benchmark/benchmark.h
  libcxx/utils/google-benchmark/requirements.txt
  libcxx/utils/google-benchmark/setup.py
  libcxx/utils/google-benchmark/src/CMakeLists.txt
  libcxx/utils/google-benchmark/src/arraysize.h
  libcxx/utils/google-benchmark/src/benchmark.cc
  libcxx/utils/google-benchmark/src/benchmark_api_internal.cc
  libcxx/utils/google-benchmark/src/benchmark_api_internal.h
  libcxx/utils/google-benchmark/src/benchmark_main.cc
  libcxx/utils/google-benchmark/src/benchmark_name.cc
  libcxx/utils/google-benchmark/src/benchmark_register.cc
  libcxx/utils/google-benchmark/src/benchmark_register.h
  libcxx/utils/google-benchmark/src/benchmark_runner.cc
  libcxx/utils/google-benchmark/src/benchmark_runner.h
  libcxx/utils/google-benchmark/src/check.h
  libcxx/utils/google-benchmark/src/colorprint.cc
  libcxx/utils/google-benchmark/src/colorprint.h
  libcxx/utils/google-benchmark/src/commandlineflags.cc
  libcxx/utils/google-benchmark/src/commandlineflags.h
  libcxx/utils/google-benchmark/src/complexity.cc
  libcxx/utils/google-benchmark/src/complexity.h
  libcxx/utils/google-benchmark/src/console_reporter.cc
  libcxx/utils/google-benchmark/src/counter.cc
  libcxx/utils/google-benchmark/src/counter.h
  libcxx/utils/google-benchmark/src/csv_reporter.cc
  libcxx/utils/google-benchmark/src/cycleclock.h
  libcxx/utils/google-benchmark/src/internal_macros.h
  libcxx/utils/google-benchmark/src/json_reporter.cc
  libcxx/utils/google-benchmark/src/log.h
  libcxx/utils/google-benchmark/src/mutex.h
  libcxx/utils/google-benchmark/src/perf_counters.cc
  libcxx/utils/google-benchmark/src/perf_counters.h
  libcxx/utils/google-benchmark/src/re.h
  libcxx/utils/google-benchmark/src/reporter.cc
  libcxx/utils/google-benchmark/src/sleep.cc
  libcxx/utils/google-benchmark/src/sleep.h
  libcxx/utils/google-benchmark/src/statistics.cc
  libcxx/utils/google-benchmark/src/statistics.h
  libcxx/utils/google-benchmark/src/string_util.cc
  libcxx/utils/google-benchmark/src/string_util.h
  libcxx/utils/google-benchmark/src/sysinfo.cc
  libcxx/utils/google-benchmark/src/thread_manager.h
  libcxx/utils/google-benchmark/src/thread_timer.h
  libcxx/utils/google-benchmark/src/timers.cc
  libcxx/utils/google-benchmark/src/timers.h
  libcxx/utils/google-benchmark/test/AssemblyTests.cmake
  libcxx/utils/google-benchmark/test/BUILD
  libcxx/utils/google-benchmark/test/CMakeLists.txt
  libcxx/utils/google-benchmark/test/args_product_test.cc
  libcxx/utils/google-benchmark/test/basic_test.cc
  libcxx/utils/google-benchmark/test/benchmark_gtest.cc
  libcxx/utils/google-benchmark/test/benchmark_name_gtest.cc
  libcxx/utils/google-benchmark/test/benchmark_random_interleaving_gtest.cc
  libcxx/utils/google-benchmark/test/benchmark_test.cc
  libcxx/utils/google-benchmark/test/clobber_memory_assembly_test.cc
  libcxx/utils/google-benchmark/test/commandlineflags_gtest.cc
  libcxx/utils/google-benchmark/test/complexity_test.cc
  libcxx/utils/google-benchmark/test/cxx03_test.cc
  libcxx/utils/google-benchmark/test/diagnostics_test.cc
  libcxx/utils/google-benchmark/test/display_aggregates_only_test.cc
  libcxx/utils/google-benchmark/test/donotoptimize_assembly_test.cc
  libcxx/utils/google-benchmark/test/donotoptimize_test.cc
  libcxx/utils/google-benchmark/test/filter_test.cc
  libcxx/utils/google-benchmark/test/fixture_test.cc
  libcxx/utils/google-benchmark/test/internal_threading_test.cc
  libcxx/utils/google-benchmark/test/link_main_test.cc
  libcxx/utils/google-benchmark/test/map_test.cc
  libcxx/utils/google-benchmark/test/memory_manager_test.cc
  libcxx/utils/google-benchmark/test/multiple_ranges_test.cc
  libcxx/utils/google-benchmark/test/options_test.cc
  libcxx/utils/google-benchmark/test/output_test.h
  libcxx/utils/google-benchmark/test/output_test_helper.cc
  libcxx/utils/google-benchmark/test/perf_counters_gtest.cc
  libcxx/utils/google-benchmark/test/perf_counters_test.cc
  libcxx/utils/google-benchmark/test/register_benchmark_test.cc
  libcxx/utils/google-benchmark/test/repetitions_test.cc
  libcxx/utils/google-benchmark/test/report_aggregates_only_test.cc
  libcxx/utils/google-benchmark/test/reporter_output_test.cc
  libcxx/utils/google-benchmark/test/skip_with_error_test.cc
  libcxx/utils/google-benchmark/test/state_assembly_test.cc
  libcxx/utils/google-benchmark/test/statistics_gtest.cc
  libcxx/utils/google-benchmark/test/string_util_gtest.cc
  libcxx/utils/google-benchmark/test/templated_fixture_test.cc
  libcxx/utils/google-benchmark/test/user_counters_tabular_test.cc
  libcxx/utils/google-benchmark/test/user_counters_test.cc
  libcxx/utils/google-benchmark/test/user_counters_thousands_test.cc
  libcxx/utils/google-benchmark/tools/BUILD.bazel
  libcxx/utils/google-benchmark/tools/compare.py
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test1_run1.json
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test1_run2.json
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test2_run.json
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test3_run0.json
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test3_run1.json
  libcxx/utils/google-benchmark/tools/gbench/Inputs/test4_run.json
  libcxx/utils/google-benchmark/tools/gbench/__init__.py
  libcxx/utils/google-benchmark/tools/gbench/report.py
  libcxx/utils/google-benchmark/tools/gbench/util.py
  libcxx/utils/google-benchmark/tools/requirements.txt
  libcxx/utils/google-benchmark/tools/strip_asm.py
  llvm/utils/benchmark/AUTHORS
  llvm/utils/benchmark/BUILD.bazel
  llvm/utils/benchmark/CMakeLists.txt
  llvm/utils/benchmark/CONTRIBUTORS
  llvm/utils/benchmark/README.LLVM
  llvm/utils/benchmark/README.md
  llvm/utils/benchmark/WORKSPACE
  llvm/utils/benchmark/_config.yml
  llvm/utils/benchmark/appveyor.yml
  llvm/utils/benchmark/bindings/python/BUILD
  llvm/utils/benchmark/bindings/python/build_defs.bzl
  llvm/utils/benchmark/bindings/python/google_benchmark/BUILD
  llvm/utils/benchmark/bindings/python/google_benchmark/__init__.py
  llvm/utils/benchmark/bindings/python/google_benchmark/benchmark.cc
  llvm/utils/benchmark/bindings/python/google_benchmark/example.py
  llvm/utils/benchmark/bindings/python/pybind11.BUILD
  llvm/utils/benchmark/bindings/python/python_headers.BUILD
  llvm/utils/benchmark/bindings/python/requirements.txt
  llvm/utils/benchmark/cmake/AddCXXCompilerFlag.cmake
  llvm/utils/benchmark/cmake/CXXFeatureCheck.cmake
  llvm/utils/benchmark/cmake/GetGitVersion.cmake
  llvm/utils/benchmark/cmake/GoogleTest.cmake
  llvm/utils/benchmark/cmake/GoogleTest.cmake.in
  llvm/utils/benchmark/cmake/HandleGTest.cmake
  llvm/utils/benchmark/cmake/Modules/FindLLVMAr.cmake
  llvm/utils/benchmark/cmake/Modules/FindLLVMNm.cmake
  llvm/utils/benchmark/cmake/Modules/FindLLVMRanLib.cmake
  llvm/utils/benchmark/cmake/benchmark.pc.in
  llvm/utils/benchmark/cmake/gnu_posix_regex.cpp
  llvm/utils/benchmark/cmake/posix_regex.cpp
  llvm/utils/benchmark/cmake/std_regex.cpp
  llvm/utils/benchmark/dependencies.md
  llvm/utils/benchmark/docs/AssemblyTests.md
  llvm/utils/benchmark/docs/_config.yml
  llvm/utils/benchmark/docs/perf_counters.md
  llvm/utils/benchmark/docs/random_interleaving.md
  llvm/utils/benchmark/docs/releasing.md
  llvm/utils/benchmark/docs/tools.md
  llvm/utils/benchmark/include/benchmark/benchmark.h
  llvm/utils/benchmark/mingw.py
  llvm/utils/benchmark/releasing.md
  llvm/utils/benchmark/requirements.txt
  llvm/utils/benchmark/setup.py
  llvm/utils/benchmark/src/CMakeLists.txt
  llvm/utils/benchmark/src/benchmark.cc
  llvm/utils/benchmark/src/benchmark_api_internal.cc
  llvm/utils/benchmark/src/benchmark_api_internal.h
  llvm/utils/benchmark/src/benchmark_name.cc
  llvm/utils/benchmark/src/benchmark_register.cc
  llvm/utils/benchmark/src/benchmark_register.h
  llvm/utils/benchmark/src/benchmark_runner.cc
  llvm/utils/benchmark/src/benchmark_runner.h
  llvm/utils/benchmark/src/check.h
  llvm/utils/benchmark/src/commandlineflags.cc
  llvm/utils/benchmark/src/commandlineflags.h
  llvm/utils/benchmark/src/complexity.cc
  llvm/utils/benchmark/src/console_reporter.cc
  llvm/utils/benchmark/src/counter.cc
  llvm/utils/benchmark/src/counter.h
  llvm/utils/benchmark/src/csv_reporter.cc
  llvm/utils/benchmark/src/cycleclock.h
  llvm/utils/benchmark/src/internal_macros.h
  llvm/utils/benchmark/src/json_reporter.cc
  llvm/utils/benchmark/src/log.h
  llvm/utils/benchmark/src/mutex.h
  llvm/utils/benchmark/src/perf_counters.cc
  llvm/utils/benchmark/src/perf_counters.h
  llvm/utils/benchmark/src/re.h
  llvm/utils/benchmark/src/reporter.cc
  llvm/utils/benchmark/src/sleep.cc
  llvm/utils/benchmark/src/statistics.cc
  llvm/utils/benchmark/src/string_util.cc
  llvm/utils/benchmark/src/string_util.h
  llvm/utils/benchmark/src/sysinfo.cc
  llvm/utils/benchmark/src/thread_manager.h
  llvm/utils/benchmark/src/thread_timer.h
  llvm/utils/benchmark/src/timers.cc
  llvm/utils/benchmark/test/AssemblyTests.cmake
  llvm/utils/benchmark/test/BUILD
  llvm/utils/benchmark/test/CMakeLists.txt
  llvm/utils/benchmark/test/args_product_test.cc
  llvm/utils/benchmark/test/basic_test.cc
  llvm/utils/benchmark/test/benchmark_gtest.cc
  llvm/utils/benchmark/test/benchmark_name_gtest.cc
  llvm/utils/benchmark/test/benchmark_random_interleaving_gtest.cc
  llvm/utils/benchmark/test/commandlineflags_gtest.cc
  llvm/utils/benchmark/test/complexity_test.cc
  llvm/utils/benchmark/test/cxx03_test.cc
  llvm/utils/benchmark/test/display_aggregates_only_test.cc
  llvm/utils/benchmark/test/filter_test.cc
  llvm/utils/benchmark/test/fixture_test.cc
  llvm/utils/benchmark/test/internal_threading_test.cc
  llvm/utils/benchmark/test/map_test.cc
  llvm/utils/benchmark/test/memory_manager_test.cc
  llvm/utils/benchmark/test/multiple_ranges_test.cc
  llvm/utils/benchmark/test/options_test.cc
  llvm/utils/benchmark/test/output_test.h
  (26 more files...)



More information about the libcxx-commits mailing list