[llvm] 9f67f19 - [gn] Remove ScudoBenchmarks

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 09:46:15 PST 2024


Author: Nico Weber
Date: 2024-03-05T12:46:07-05:00
New Revision: 9f67f19614e952ede385a59bb62f7b57771ca4c3

URL: https://github.com/llvm/llvm-project/commit/9f67f19614e952ede385a59bb62f7b57771ca4c3
DIFF: https://github.com/llvm/llvm-project/commit/9f67f19614e952ede385a59bb62f7b57771ca4c3.diff

LOG: [gn] Remove ScudoBenchmarks

It's the only thing depending on third-party/benchmark.
The recent third-party/benchmark uprev made it not build in the
GN build, so remove ScudoBenchmarks until someone feels motivated
to update the third-party/benchmark BUILD.gn file.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn

Removed: 
    llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn
    llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
index 2fe08699bca3ff..ee244782651bc1 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
@@ -11,7 +11,6 @@ group("scudo") {
   deps = []
   foreach(toolchain, supported_toolchains) {
     deps += [
-      "standalone/benchmarks:ScudoBenchmarks($toolchain)",
       "standalone/tests:ScudoCUnitTest($toolchain)",
       "standalone/tests:ScudoCxxUnitTest($toolchain)",
       "standalone/tests:ScudoHooksUnitTest($toolchain)",

diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn
deleted file mode 100644
index 9489f68af36333..00000000000000
--- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn
+++ /dev/null
@@ -1,8 +0,0 @@
-executable("ScudoBenchmarks") {
-  configs += [ "//llvm/utils/gn/build:crt_code" ]
-  sources = [ "malloc_benchmark.cpp" ]
-  deps = [
-    "//compiler-rt/lib/scudo/standalone:sources",
-    "//third-party/benchmark",
-  ]
-}

diff  --git a/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn b/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn
deleted file mode 100644
index 51627ecd0604c5..00000000000000
--- a/llvm/utils/gn/secondary/third-party/benchmark/BUILD.gn
+++ /dev/null
@@ -1,29 +0,0 @@
-static_library("benchmark") {
-  sources = [
-    "src/benchmark.cc",
-    "src/benchmark_api_internal.cc",
-    "src/benchmark_name.cc",
-    "src/benchmark_register.cc",
-    "src/benchmark_runner.cc",
-    "src/colorprint.cc",
-    "src/commandlineflags.cc",
-    "src/complexity.cc",
-    "src/console_reporter.cc",
-    "src/counter.cc",
-    "src/csv_reporter.cc",
-    "src/json_reporter.cc",
-    "src/perf_counters.cc",
-    "src/reporter.cc",
-    "src/sleep.cc",
-    "src/statistics.cc",
-    "src/string_util.cc",
-    "src/sysinfo.cc",
-    "src/timers.cc",
-  ]
-  deps = [ "//llvm/utils/gn/build/libs/pthread" ]
-  public_configs = [ ":benchmark_config" ]
-}
-
-config("benchmark_config") {
-  include_dirs = [ "include" ]
-}


        


More information about the llvm-commits mailing list