Skip to content

Commit 1ee3205

Browse files
committed
Reland "[benchmarks] Move libcxx's fork of google/benchmark and llvm/utils'""
This reverts commit e7568b6 and relands c6f7b72. The culprit was: missed that libc also had a dependency on one of the copies of `google-benchmark` Also opportunistically fixed indentation from prev. change. Differential Revision: https://reviews.llvm.org/D112012
1 parent fd60180 commit 1ee3205

File tree

257 files changed

+9
-14957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+9
-14957
lines changed

libc/benchmarks/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ string(REPLACE ";" " " GOOGLE_BENCHMARK_TARGET_FLAGS "${GOOGLE_BENCHMARK_TARGET_
1717
ExternalProject_Add(google-benchmark
1818
EXCLUDE_FROM_ALL ON
1919
PREFIX google-benchmark
20-
SOURCE_DIR ${LIBC_SOURCE_DIR}/../llvm/utils/benchmark
20+
SOURCE_DIR ${LLVM_THIRD_PARTY_DIR}/benchmark
2121
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/google-benchmark
2222
CMAKE_CACHE_ARGS
2323
-DBUILD_SHARED_LIBS:BOOL=OFF

libcxx/benchmarks/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ExternalProject_Add(google-benchmark-libcxx
4141
EXCLUDE_FROM_ALL ON
4242
DEPENDS cxx cxx-headers
4343
PREFIX benchmark-libcxx
44-
SOURCE_DIR ${LIBCXX_SOURCE_DIR}/utils/google-benchmark
44+
SOURCE_DIR ${LLVM_THIRD_PARTY_DIR}/benchmark
4545
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/benchmark-libcxx
4646
CMAKE_CACHE_ARGS
4747
-DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER}
@@ -66,7 +66,7 @@ if (LIBCXX_BENCHMARK_NATIVE_STDLIB)
6666
ExternalProject_Add(google-benchmark-native
6767
EXCLUDE_FROM_ALL ON
6868
PREFIX benchmark-native
69-
SOURCE_DIR ${LIBCXX_SOURCE_DIR}/utils/google-benchmark
69+
SOURCE_DIR ${LLVM_THIRD_PARTY_DIR}/benchmark
7070
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/benchmark-native
7171
CMAKE_CACHE_ARGS
7272
-DCMAKE_C_COMPILER:STRING=${CMAKE_C_COMPILER}

libcxx/utils/google-benchmark/.clang-format

Lines changed: 0 additions & 5 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/.libcxx-setup.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/workflows/bazel.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/workflows/build-and-test-perfcounters.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/workflows/build-and-test.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

libcxx/utils/google-benchmark/.github/workflows/pylint.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)