[PATCH] D129252: [llvm][Debuginfod][Bazel] Match dependencies in CMakeLists.txt.

Adrian Kuegel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 23:33:17 PDT 2022


akuegel created this revision.
Herald added a project: All.
akuegel requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129252

Files:
  utils/bazel/llvm-project-overlay/llvm/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -195,7 +195,7 @@
             "lib/Support/BLAKE3/blake3_avx512_x86-64_unix.S",
         ],
         "//conditions:default": [
-        ]
+        ],
     }),
     hdrs = glob([
         "include/llvm/Support/**/*.h",
@@ -221,7 +221,7 @@
         ],
         "//conditions:default": [
             "BLAKE3_USE_NEON=0",
-        ]
+        ],
     }) + select({
         "@platforms//cpu:x86_64": [
         ],
@@ -230,7 +230,7 @@
             "BLAKE3_NO_AVX512",
             "BLAKE3_NO_SSE2",
             "BLAKE3_NO_SSE41",
-        ]
+        ],
     }),
     includes = ["include"],
     linkopts = select({
@@ -435,6 +435,9 @@
     ]),
     copts = llvm_copts,
     deps = [
+        ":BinaryFormat",
+        ":DebugInfoDWARF",
+        ":Object",
         ":Support",
         ":Symbolize",
     ],
@@ -2594,7 +2597,7 @@
     src = "cmake/modules/llvm-driver-template.cpp.in",
     out = "dsymutil-driver.cpp",
     substitutions = {
-        "@TOOL_NAME@": "dsymutil"
+        "@TOOL_NAME@": "dsymutil",
     },
 )
 
@@ -2698,7 +2701,7 @@
     src = "cmake/modules/llvm-driver-template.cpp.in",
     out = "llvm-ar-driver.cpp",
     substitutions = {
-        "@TOOL_NAME@": "llvm_ar"
+        "@TOOL_NAME@": "llvm_ar",
     },
 )
 
@@ -2900,7 +2903,7 @@
     src = "cmake/modules/llvm-driver-template.cpp.in",
     out = "llvm-cxxfilt-driver.cpp",
     substitutions = {
-        "@TOOL_NAME@": "llvm_cxxfilt"
+        "@TOOL_NAME@": "llvm_cxxfilt",
     },
 )
 
@@ -2929,11 +2932,11 @@
     copts = llvm_copts,
     stamp = 0,
     deps = [
-        ":Symbolize",
         ":BitReader",
         ":Core",
-        ":Support",
         ":Debuginfod",
+        ":Support",
+        ":Symbolize",
     ],
 )
 
@@ -3443,11 +3446,10 @@
     src = "cmake/modules/llvm-driver-template.cpp.in",
     out = "llvm-objcopy-driver.cpp",
     substitutions = {
-        "@TOOL_NAME@": "llvm_objcopy"
+        "@TOOL_NAME@": "llvm_objcopy",
     },
 )
 
-
 cc_binary(
     name = "llvm-objcopy",
     srcs = glob([


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129252.442790.patch
Type: text/x-patch
Size: 2247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220707/a0bf10ff/attachment.bin>


More information about the llvm-commits mailing list