[all-commits] [llvm/llvm-project] a29077: [benchmark] Pull latest; disable -Werror

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Dec 13 17:13:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a290770fa848cfe9b46dcc2c44e06e15cafd0f23
      https://github.com/llvm/llvm-project/commit/a290770fa848cfe9b46dcc2c44e06e15cafd0f23
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M llvm/CMakeLists.txt
    A third-party/benchmark/.clang-format
    A third-party/benchmark/.clang-tidy
    A third-party/benchmark/.travis.yml
    A third-party/benchmark/.ycm_extra_conf.py
    M third-party/benchmark/AUTHORS
    M third-party/benchmark/BUILD.bazel
    M third-party/benchmark/CMakeLists.txt
    M third-party/benchmark/CONTRIBUTORS
    M third-party/benchmark/README.md
    M third-party/benchmark/WORKSPACE
    M third-party/benchmark/bindings/python/google_benchmark/benchmark.cc
    M third-party/benchmark/bindings/python/google_benchmark/example.py
    M third-party/benchmark/cmake/Config.cmake.in
    M third-party/benchmark/cmake/GoogleTest.cmake
    M third-party/benchmark/cmake/GoogleTest.cmake.in
    A third-party/benchmark/cmake/Modules/FindLLVMAr.cmake
    A third-party/benchmark/cmake/Modules/FindLLVMNm.cmake
    A third-party/benchmark/cmake/Modules/FindLLVMRanLib.cmake
    A third-party/benchmark/cmake/Modules/FindPFM.cmake
    R third-party/benchmark/dependencies.md
    M third-party/benchmark/docs/_config.yml
    A third-party/benchmark/docs/dependencies.md
    A third-party/benchmark/docs/index.md
    A third-party/benchmark/docs/platform_specific_build_instructions.md
    M third-party/benchmark/docs/releasing.md
    A third-party/benchmark/docs/user_guide.md
    M third-party/benchmark/include/benchmark/benchmark.h
    M third-party/benchmark/requirements.txt
    M third-party/benchmark/setup.py
    M third-party/benchmark/src/CMakeLists.txt
    M third-party/benchmark/src/benchmark.cc
    M third-party/benchmark/src/benchmark_api_internal.cc
    M third-party/benchmark/src/benchmark_api_internal.h
    M third-party/benchmark/src/benchmark_register.cc
    M third-party/benchmark/src/benchmark_register.h
    M third-party/benchmark/src/benchmark_runner.cc
    M third-party/benchmark/src/benchmark_runner.h
    M third-party/benchmark/src/check.h
    M third-party/benchmark/src/colorprint.cc
    M third-party/benchmark/src/commandlineflags.cc
    M third-party/benchmark/src/commandlineflags.h
    M third-party/benchmark/src/complexity.cc
    M third-party/benchmark/src/console_reporter.cc
    M third-party/benchmark/src/csv_reporter.cc
    M third-party/benchmark/src/cycleclock.h
    M third-party/benchmark/src/json_reporter.cc
    M third-party/benchmark/src/log.h
    M third-party/benchmark/src/mutex.h
    M third-party/benchmark/src/perf_counters.cc
    M third-party/benchmark/src/perf_counters.h
    M third-party/benchmark/src/re.h
    M third-party/benchmark/src/reporter.cc
    M third-party/benchmark/src/sleep.cc
    M third-party/benchmark/src/statistics.cc
    M third-party/benchmark/src/statistics.h
    M third-party/benchmark/src/string_util.cc
    M third-party/benchmark/src/string_util.h
    M third-party/benchmark/src/sysinfo.cc
    M third-party/benchmark/src/thread_manager.h
    M third-party/benchmark/src/thread_timer.h
    M third-party/benchmark/src/timers.cc
    M third-party/benchmark/test/BUILD
    M third-party/benchmark/test/CMakeLists.txt
    M third-party/benchmark/test/args_product_test.cc
    M third-party/benchmark/test/basic_test.cc
    M third-party/benchmark/test/benchmark_random_interleaving_gtest.cc
    A third-party/benchmark/test/benchmark_setup_teardown_test.cc
    M third-party/benchmark/test/benchmark_test.cc
    M third-party/benchmark/test/clobber_memory_assembly_test.cc
    M third-party/benchmark/test/complexity_test.cc
    M third-party/benchmark/test/cxx03_test.cc
    M third-party/benchmark/test/diagnostics_test.cc
    M third-party/benchmark/test/display_aggregates_only_test.cc
    M third-party/benchmark/test/donotoptimize_assembly_test.cc
    M third-party/benchmark/test/donotoptimize_test.cc
    M third-party/benchmark/test/filter_test.cc
    M third-party/benchmark/test/fixture_test.cc
    M third-party/benchmark/test/internal_threading_test.cc
    M third-party/benchmark/test/map_test.cc
    M third-party/benchmark/test/multiple_ranges_test.cc
    M third-party/benchmark/test/options_test.cc
    M third-party/benchmark/test/output_test.h
    M third-party/benchmark/test/output_test_helper.cc
    M third-party/benchmark/test/perf_counters_gtest.cc
    M third-party/benchmark/test/perf_counters_test.cc
    M third-party/benchmark/test/register_benchmark_test.cc
    M third-party/benchmark/test/repetitions_test.cc
    M third-party/benchmark/test/report_aggregates_only_test.cc
    M third-party/benchmark/test/reporter_output_test.cc
    M third-party/benchmark/test/skip_with_error_test.cc
    A third-party/benchmark/test/spec_arg_test.cc
    M third-party/benchmark/test/statistics_gtest.cc
    M third-party/benchmark/test/string_util_gtest.cc
    M third-party/benchmark/test/templated_fixture_test.cc
    M third-party/benchmark/test/user_counters_tabular_test.cc
    M third-party/benchmark/test/user_counters_test.cc
    M third-party/benchmark/test/user_counters_thousands_test.cc
    A third-party/benchmark/tools/gbench/Inputs/test4_run0.json
    A third-party/benchmark/tools/gbench/Inputs/test4_run1.json
    M third-party/benchmark/tools/gbench/report.py
    A third-party/update_benchmark.sh

  Log Message:
  -----------
  [benchmark] Pull latest; disable -Werror

Pulled the latest (b000672), which adds an option to disable -Werror,
which caused issues previously (see for instance
https://reviews.llvm.org/D112012)

Applied https://github.com/google/benchmark/pull/1305 to unblock, as
this issue is causing downstream buildbot failures.

The only change is in llvm/CMakeLists.txt, where we set
BENCHMARK_ENABLE_WERROR to have the same value as LLVM_ENABLE_WERROR.

This patch also introduces a convenience script to pull benchmark from
upstream.

Differential Revision: https://reviews.llvm.org/D115684




More information about the All-commits mailing list