This change:
- moves the libcxx copy of google/benchmark to third-party/benchmkark
- points the 2 uses of the library (libcxx and llvm/utils) to this copy
We picked the licxx copy because it is the most up to date.
Paths
| Differential D112012
[benchmarks] Move libcxx's fork of google/benchmark and llvm/utils' under third-party ClosedPublic Authored by mtrofin on Oct 18 2021, 9:12 AM.
Details
Summary This change:
We picked the licxx copy because it is the most up to date.
Diff Detail
Event TimelineHerald added subscribers: jdoerfert, s.egerton, mstorsjo and 7 others. · View Herald TranscriptOct 18 2021, 9:12 AM Comment Actions I like this a lot in spirit, thanks! However, we are trying to decouple the runtimes (which include libc++) from everything in <monorepo>/llvm, and placing the GoogleBenchmark library inside <monorepo>/llvm somewhat goes against that. Would it make sense to try to find a place in LLVM where we can put third-party libraries like that? IMO it would be sensible to avoid tying them to <monorepo>/llvm just like we should avoid tying them to any other specific sub-project under the LLVM Foundation. WDYT? This revision now requires changes to proceed.Oct 18 2021, 1:08 PM Comment Actions @ldionne What is your concrete proposal? Requiring Google Benchmark pre-installed on the host? I think <root>/llvm is different in that it is not a subproject but contains core and supporting infrastructure (such as <root>/llvm/cmake/Modules, llvm-lit etc). Google Benchmark would be one of that. I don't think we should reject patches that just follow the status quo without having a plan what the future direction should be. Comment Actions
@ldionne @Meinersbur - trying to move this forward - if libcxx can't depend on llvm/ stuff, how about having a llvm/third-party common dir, would that work? (I'd want to circle this back to the thread discussing google-benchmark consolidation, but wanted to get a quick smoke test.) Comment Actions
At least it would also need changes in buidbot/zorg -- currently, changes in directories not related to any subproject will not trigger a new build. Comment Actions moved to third_party since the change is large because of the moved files, the important changes are in: llvm/CMakeLists.txt Comment Actions
As I said in my comment, I was suggesting that we put it in the monorepo, but just not under llvm/. You current proposal for third-party sounds reasonable to me.
This is historical, back when we would check out all the sub projects under llvm/projects. It makes no sense at all to store the common CMake infrastructure or lit under llvm/ anymore, either. I'm not suggesting we change the whole world right now, I'm just saying that if we are going to move stuff around, we might as well do it correctly from the start.
From the libc++ perspective, the patch before moving to third-party/ was adding a new hard dependency from libcxx/ to llvm/, which is precisely what we're trying to move away from, hence my question and my request for changes. IMO this patch looks great now, if everybody is happy with having a top-level third-party. I think it makes a lot of sense to have that, but I'm looking for other folks on this review to chime in. If we want to establish this as the new "canonical" place to store third-party dependencies, perhaps a post on the various lists would be a good idea to get people's attention? I'm not requesting it, just suggesting. Personally I'm happy with this change as-is. However, we do need to fix the CI for libc++. Since you're moving the library to another place, we'll need to adjust the paths to it in libcxx/. I think this should be sufficient: diff --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt index cad880858a78..91aadc864907 100644 --- a/libcxx/benchmarks/CMakeLists.txt +++ b/libcxx/benchmarks/CMakeLists.txt @@ -35,7 +35,7 @@ ExternalProject_Add(google-benchmark-libcxx EXCLUDE_FROM_ALL ON DEPENDS cxx cxx-headers PREFIX benchmark-libcxx - SOURCE_DIR ${LIBCXX_SOURCE_DIR}/utils/google-benchmark + SOURCE_DIR ${LIBCXX_SOURCE_DIR}/../third-party/google-benchmark INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/benchmark-libcxx CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER} @@ -60,7 +60,7 @@ if (LIBCXX_BENCHMARK_NATIVE_STDLIB) ExternalProject_Add(google-benchmark-native EXCLUDE_FROM_ALL ON PREFIX benchmark-native - SOURCE_DIR ${LIBCXX_SOURCE_DIR}/utils/google-benchmark + SOURCE_DIR ${LIBCXX_SOURCE_DIR}/../third-party/google-benchmark INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/benchmark-native CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER} I suspect you need similar changes elsewhere in LLVM. Marking as approved in case I don't see this again for a while, but please don't submit until (at least) the libc++ CI is green. This revision is now accepted and ready to land.Nov 3 2021, 9:54 AM Comment Actions
Oh, sorry, I hadn't seen your changes to libcxx/benchmark/CMakeLists.txt. The issue now is that LLVM_THIRD_PARTY_DIR is only set in llvm/CMakeLists.txt. However, the runtimes don't use that directory anymore (in fact building the runtimes using llvm/CMakeLists.txt is deprecated). You'd have to set LLVM_THIRD_PARTY_DIR in runtimes/CMakeLists.txt. Comment Actions
Ah, I see - so in runtimes/CMakeLists.txt, if LLVM_THIRD_PARTY_DIR isn't set, then we set it there to ../third_party or something of that sort, correct? This revision now requires review to proceed.Nov 8 2021, 8:19 AM mtrofin retitled this revision from [benchmarks] Unify libcxx's fork of google/benchmark to llvm/utils to [benchmarks] Move libcxx's fork of google/benchmark and llvm/utils' under third-party.Nov 9 2021, 8:14 AM Comment Actions To fix the CI, you'll want to rebase onto main once I've landed D113503. That patch removes support for the benchmarks under the libc++ standalone build, since this patch breaks that use case. I think it's fine though, we are trying to get rid of the standalone build anyway, it's just a matter of time.
This revision now requires changes to proceed.Nov 9 2021, 11:47 AM mtrofin marked 3 inline comments as done. Comment Actionsno need to make third-party a project
mtrofin added inline comments. Comment Actions LGTM. Now that seems like a minimal change! Thanks! You can ignore the libc++ CI which failed, it failed due to an issue that has already been resolved. This revision is now accepted and ready to land.Nov 16 2021, 8:50 AM This revision was landed with ongoing or failed builds.Nov 16 2021, 9:16 AM Closed by commit rGc6f7b720ecfa: [benchmarks] Move libcxx's fork of google/benchmark and llvm/utils' (authored by mtrofin). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions FYI: The libcxx copy and llvm/utils copy were not identical. So, the libc benchmarks are currently broken because of that. I have added an inline comment to show the single difference we are seeing. We can fix forward.
mtrofin added subscribers: wanders, • Quuxplusone, bhuvanendrakumarn and 28 others.Nov 16 2021, 3:36 PM Comment ActionsOh! Huh, missed that. Probably my ninja check-all didn’t build the Comment Actions This change broke Fuchsia's linux and mac clang builder. Failed build can be seen at: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8830380874445931681/overview Comment Actions
I have already fixed the libc build. Comment Actions
Oh - thanks. (For some reason I'm getting messages out of order) should we revert though your fix until I reland this - the revert due to Fuchsia's build failure seems to be due to the way they ingest CMakeLists.txt Comment Actions
@ldionne @phosek I think the Fuchsia build failure is because they ingest the libcxx CMakeLists.txt directly, without going through the one in runtimes/. Should we reconsider setting LLVM_THIRD_PARTY_DIR in runtimes/CMakeLists.txt, and, instead, set it separately in libcxx and libc's CMakeLists? or, is the way Fuchsia is ingesting libcxx's CMakeLists incorrect? Comment Actions
That's not an issue with the Fuchsia build, it's an issue with the libFuzzer build which we include in our toolchain build. libFuzzer on Linux and Fuchsia uses a private copy of libc++ and that build still build still goes through libcxx/CMakeLists.txt, see: https://github.com/llvm/llvm-project/blob/01510ac08474a6c4beae033794b71b6b5ab1e89d/compiler-rt/lib/fuzzer/CMakeLists.txt#L160 We need to change it to use runtimes/CMakeLists.txt instead. Comment Actions This broke building for MinGW, due to a local change (from rG948ce4e6edec6ad3cdf1911fc3e8e9569140d4ff that never was upstreamed) that was dropped as part of the move. I've submitted that fix upstream now in https://github.com/google/benchmark/pull/1302, and I filed D115434 to get it applied on the new location. This also showed another brittleness in the benchmark library, as it's built with -Werror by default (in non-MSVC builds). As the benchmark library is built by default when building all of LLVM, building it with -Werror feels excessive and brittle. -Werror was commented out in the original import of the benchmark library in rG0addd170ab0880941fa4089c2717f3f3a0e4e25a, but wasn't commented out in the copy in libcxx (which wasn't built by default, at least not as widely, and thus the issue wasn't noticed there). mtrofin added a child revision: D115434: [benchmark] Reapply fix for -Wcovered-switch-default warning.Dec 9 2021, 7:36 AM
Revision Contents
Diff 387674 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/CMakeLists.txt
libcxx/utils/google-benchmark/CONTRIBUTING.md
libcxx/utils/google-benchmark/CONTRIBUTORS
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/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.h
libcxx/utils/google-benchmark/src/benchmark_api_internal.cc
libcxx/utils/google-benchmark/src/benchmark_main.cc
libcxx/utils/google-benchmark/src/benchmark_name.cc
libcxx/utils/google-benchmark/src/benchmark_register.h
libcxx/utils/google-benchmark/src/benchmark_register.cc
libcxx/utils/google-benchmark/src/benchmark_runner.h
libcxx/utils/google-benchmark/src/benchmark_runner.cc
libcxx/utils/google-benchmark/src/colorprint.h
libcxx/utils/google-benchmark/src/colorprint.cc
libcxx/utils/google-benchmark/src/commandlineflags.h
libcxx/utils/google-benchmark/src/commandlineflags.cc
libcxx/utils/google-benchmark/src/complexity.h
libcxx/utils/google-benchmark/src/complexity.cc
libcxx/utils/google-benchmark/src/console_reporter.cc
libcxx/utils/google-benchmark/src/counter.h
libcxx/utils/google-benchmark/src/counter.cc
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/perf_counters.h
libcxx/utils/google-benchmark/src/perf_counters.cc
libcxx/utils/google-benchmark/src/reporter.cc
libcxx/utils/google-benchmark/src/sleep.cc
libcxx/utils/google-benchmark/src/statistics.h
libcxx/utils/google-benchmark/src/statistics.cc
libcxx/utils/google-benchmark/src/string_util.h
libcxx/utils/google-benchmark/src/string_util.cc
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.h
libcxx/utils/google-benchmark/src/timers.cc
libcxx/utils/google-benchmark/test/AssemblyTests.cmake
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/CMakeLists.txt
llvm/utils/benchmark/AUTHORS
llvm/utils/benchmark/CMakeLists.txt
llvm/utils/benchmark/CONTRIBUTING.md
llvm/utils/benchmark/CONTRIBUTORS
llvm/utils/benchmark/LICENSE
llvm/utils/benchmark/README.LLVM
llvm/utils/benchmark/README.md
llvm/utils/benchmark/WORKSPACE
llvm/utils/benchmark/appveyor.yml
llvm/utils/benchmark/cmake/AddCXXCompilerFlag.cmake
llvm/utils/benchmark/cmake/CXXFeatureCheck.cmake
llvm/utils/benchmark/cmake/Config.cmake.in
llvm/utils/benchmark/cmake/GetGitVersion.cmake
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/llvm-toolchain.cmake
llvm/utils/benchmark/cmake/posix_regex.cpp
llvm/utils/benchmark/cmake/split_list.cmake
llvm/utils/benchmark/cmake/std_regex.cpp
llvm/utils/benchmark/cmake/steady_clock.cpp
llvm/utils/benchmark/cmake/thread_safety_attributes.cpp
llvm/utils/benchmark/docs/AssemblyTests.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/src/CMakeLists.txt
llvm/utils/benchmark/src/arraysize.h
llvm/utils/benchmark/src/benchmark.cc
llvm/utils/benchmark/src/benchmark_api_internal.h
llvm/utils/benchmark/src/benchmark_main.cc
llvm/utils/benchmark/src/benchmark_register.h
llvm/utils/benchmark/src/benchmark_register.cc
llvm/utils/benchmark/src/check.h
llvm/utils/benchmark/src/colorprint.h
llvm/utils/benchmark/src/colorprint.cc
llvm/utils/benchmark/src/commandlineflags.h
llvm/utils/benchmark/src/commandlineflags.cc
llvm/utils/benchmark/src/complexity.h
llvm/utils/benchmark/src/complexity.cc
llvm/utils/benchmark/src/console_reporter.cc
llvm/utils/benchmark/src/counter.h
llvm/utils/benchmark/src/counter.cc
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/re.h
llvm/utils/benchmark/src/reporter.cc
llvm/utils/benchmark/src/sleep.h
llvm/utils/benchmark/src/sleep.cc
llvm/utils/benchmark/src/statistics.h
llvm/utils/benchmark/src/statistics.cc
llvm/utils/benchmark/src/string_util.h
llvm/utils/benchmark/src/string_util.cc
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.h
llvm/utils/benchmark/src/timers.cc
llvm/utils/benchmark/test/AssemblyTests.cmake
llvm/utils/benchmark/test/CMakeLists.txt
llvm/utils/benchmark/test/basic_test.cc
llvm/utils/benchmark/test/benchmark_gtest.cc
llvm/utils/benchmark/test/benchmark_test.cc
llvm/utils/benchmark/test/clobber_memory_assembly_test.cc
llvm/utils/benchmark/test/complexity_test.cc
llvm/utils/benchmark/test/cxx03_test.cc
llvm/utils/benchmark/test/diagnostics_test.cc
llvm/utils/benchmark/test/donotoptimize_assembly_test.cc
llvm/utils/benchmark/test/donotoptimize_test.cc
llvm/utils/benchmark/test/filter_test.cc
llvm/utils/benchmark/test/fixture_test.cc
llvm/utils/benchmark/test/link_main_test.cc
llvm/utils/benchmark/test/map_test.cc
llvm/utils/benchmark/test/multiple_ranges_test.cc
llvm/utils/benchmark/test/options_test.cc
llvm/utils/benchmark/test/output_test.h
llvm/utils/benchmark/test/output_test_helper.cc
llvm/utils/benchmark/test/register_benchmark_test.cc
llvm/utils/benchmark/test/reporter_output_test.cc
llvm/utils/benchmark/test/skip_with_error_test.cc
llvm/utils/benchmark/test/state_assembly_test.cc
llvm/utils/benchmark/test/statistics_gtest.cc
llvm/utils/benchmark/test/templated_fixture_test.cc
llvm/utils/benchmark/test/user_counters_tabular_test.cc
llvm/utils/benchmark/test/user_counters_test.cc
llvm/utils/benchmark/tools/compare.py
llvm/utils/benchmark/tools/gbench/Inputs/test1_run1.json
llvm/utils/benchmark/tools/gbench/Inputs/test1_run2.json
llvm/utils/benchmark/tools/gbench/Inputs/test2_run.json
llvm/utils/benchmark/tools/gbench/__init__.py
llvm/utils/benchmark/tools/gbench/report.py
llvm/utils/benchmark/tools/gbench/util.py
llvm/utils/benchmark/tools/strip_asm.py
runtimes/CMakeLists.txt
third-party/benchmark/AUTHORS
third-party/benchmark/BUILD.bazel
third-party/benchmark/CMakeLists.txt
third-party/benchmark/CONTRIBUTING.md
third-party/benchmark/CONTRIBUTORS
third-party/benchmark/LICENSE
third-party/benchmark/README.md
third-party/benchmark/WORKSPACE
third-party/benchmark/_config.yml
third-party/benchmark/appveyor.yml
third-party/benchmark/bindings/python/BUILD
third-party/benchmark/bindings/python/build_defs.bzl
third-party/benchmark/bindings/python/google_benchmark/BUILD
third-party/benchmark/bindings/python/google_benchmark/__init__.py
third-party/benchmark/bindings/python/google_benchmark/benchmark.cc
third-party/benchmark/bindings/python/google_benchmark/example.py
third-party/benchmark/bindings/python/pybind11.BUILD
third-party/benchmark/bindings/python/python_headers.BUILD
third-party/benchmark/bindings/python/requirements.txt
third-party/benchmark/cmake/AddCXXCompilerFlag.cmake
third-party/benchmark/cmake/CXXFeatureCheck.cmake
third-party/benchmark/cmake/Config.cmake.in
third-party/benchmark/cmake/GetGitVersion.cmake
third-party/benchmark/cmake/GoogleTest.cmake
third-party/benchmark/cmake/GoogleTest.cmake.in
third-party/benchmark/cmake/benchmark.pc.in
third-party/benchmark/cmake/gnu_posix_regex.cpp
third-party/benchmark/cmake/llvm-toolchain.cmake
third-party/benchmark/cmake/posix_regex.cpp
third-party/benchmark/cmake/split_list.cmake
third-party/benchmark/cmake/std_regex.cpp
third-party/benchmark/cmake/steady_clock.cpp
third-party/benchmark/cmake/thread_safety_attributes.cpp
third-party/benchmark/dependencies.md
third-party/benchmark/docs/AssemblyTests.md
third-party/benchmark/docs/_config.yml
third-party/benchmark/docs/perf_counters.md
third-party/benchmark/docs/random_interleaving.md
third-party/benchmark/docs/releasing.md
third-party/benchmark/docs/tools.md
third-party/benchmark/include/benchmark/benchmark.h
third-party/benchmark/requirements.txt
third-party/benchmark/setup.py
third-party/benchmark/src/CMakeLists.txt
third-party/benchmark/src/arraysize.h
third-party/benchmark/src/benchmark.cc
third-party/benchmark/src/benchmark_api_internal.h
third-party/benchmark/src/benchmark_api_internal.cc
third-party/benchmark/src/benchmark_main.cc
third-party/benchmark/src/benchmark_name.cc
third-party/benchmark/src/benchmark_register.h
third-party/benchmark/src/benchmark_register.cc
third-party/benchmark/src/benchmark_runner.h
third-party/benchmark/src/benchmark_runner.cc
third-party/benchmark/src/check.h
third-party/benchmark/src/colorprint.h
third-party/benchmark/src/colorprint.cc
third-party/benchmark/src/commandlineflags.h
third-party/benchmark/src/commandlineflags.cc
third-party/benchmark/src/complexity.h
third-party/benchmark/src/complexity.cc
third-party/benchmark/src/console_reporter.cc
third-party/benchmark/src/counter.h
third-party/benchmark/src/counter.cc
third-party/benchmark/src/csv_reporter.cc
third-party/benchmark/src/cycleclock.h
third-party/benchmark/src/internal_macros.h
third-party/benchmark/src/json_reporter.cc
third-party/benchmark/src/log.h
third-party/benchmark/src/mutex.h
third-party/benchmark/src/perf_counters.h
third-party/benchmark/src/perf_counters.cc
third-party/benchmark/src/re.h
third-party/benchmark/src/reporter.cc
third-party/benchmark/src/sleep.h
third-party/benchmark/src/sleep.cc
third-party/benchmark/src/statistics.h
third-party/benchmark/src/statistics.cc
third-party/benchmark/src/string_util.h
third-party/benchmark/src/string_util.cc
third-party/benchmark/src/sysinfo.cc
third-party/benchmark/src/thread_manager.h
third-party/benchmark/src/thread_timer.h
third-party/benchmark/src/timers.h
third-party/benchmark/src/timers.cc
third-party/benchmark/test/AssemblyTests.cmake
third-party/benchmark/test/BUILD
third-party/benchmark/test/CMakeLists.txt
third-party/benchmark/test/args_product_test.cc
third-party/benchmark/test/basic_test.cc
third-party/benchmark/test/benchmark_gtest.cc
third-party/benchmark/test/benchmark_name_gtest.cc
third-party/benchmark/test/benchmark_random_interleaving_gtest.cc
third-party/benchmark/test/benchmark_test.cc
third-party/benchmark/test/clobber_memory_assembly_test.cc
third-party/benchmark/test/commandlineflags_gtest.cc
third-party/benchmark/test/complexity_test.cc
third-party/benchmark/test/cxx03_test.cc
third-party/benchmark/test/diagnostics_test.cc
third-party/benchmark/test/display_aggregates_only_test.cc
third-party/benchmark/test/donotoptimize_assembly_test.cc
third-party/benchmark/test/donotoptimize_test.cc
third-party/benchmark/test/filter_test.cc
third-party/benchmark/test/fixture_test.cc
third-party/benchmark/test/internal_threading_test.cc
third-party/benchmark/test/link_main_test.cc
third-party/benchmark/test/map_test.cc
third-party/benchmark/test/memory_manager_test.cc
third-party/benchmark/test/multiple_ranges_test.cc
third-party/benchmark/test/options_test.cc
third-party/benchmark/test/output_test.h
third-party/benchmark/test/output_test_helper.cc
third-party/benchmark/test/perf_counters_gtest.cc
third-party/benchmark/test/perf_counters_test.cc
third-party/benchmark/test/register_benchmark_test.cc
third-party/benchmark/test/repetitions_test.cc
third-party/benchmark/test/report_aggregates_only_test.cc
third-party/benchmark/test/reporter_output_test.cc
third-party/benchmark/test/skip_with_error_test.cc
third-party/benchmark/test/state_assembly_test.cc
third-party/benchmark/test/statistics_gtest.cc
third-party/benchmark/test/string_util_gtest.cc
third-party/benchmark/test/templated_fixture_test.cc
third-party/benchmark/test/user_counters_tabular_test.cc
third-party/benchmark/test/user_counters_test.cc
third-party/benchmark/test/user_counters_thousands_test.cc
third-party/benchmark/tools/BUILD.bazel
third-party/benchmark/tools/compare.py
third-party/benchmark/tools/gbench/Inputs/test1_run1.json
third-party/benchmark/tools/gbench/Inputs/test1_run2.json
third-party/benchmark/tools/gbench/Inputs/test2_run.json
third-party/benchmark/tools/gbench/Inputs/test3_run0.json
third-party/benchmark/tools/gbench/Inputs/test3_run1.json
third-party/benchmark/tools/gbench/Inputs/test4_run.json
third-party/benchmark/tools/gbench/__init__.py
third-party/benchmark/tools/gbench/report.py
third-party/benchmark/tools/gbench/util.py
|
This is entirely new behavior, and I don't understand why we're doing this as part of this patch. IMO this patch should only be moving stuff around, period. If we then want to start considering the third-party projects as a "project" we can enable with LLVM_ENABLE_PROJECTS, we should tackle it as a separate effort (and frankly it's not clear to me that would fly).
Also, when you make changes like this as part of a much larger change, it is often a good idea to call them out to make sure reviewers see them.