From 004c76155cdac2fea81e0c94d3798435adc63d81 Mon Sep 17 00:00:00 2001 From: Aaron Siddhartha Mondal Date: Thu, 9 Mar 2023 08:43:20 +0100 Subject: [PATCH] [bazel] Don't alwayslink clang-tidy libraries These libraries are only ever used in clang-tidy itself, so there is no need to unconditionally keep all symbols. Reviewed By: GMNGeoffrey, #bazel_build Differential Revision: https://reviews.llvm.org/D145258 --- utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl b/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl index 4234f36..41c03aa 100644 --- a/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl +++ b/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl @@ -21,6 +21,5 @@ def clang_tidy_library(name, **kwargs): kwargs["deps"] = kwargs.get("deps", []) + _common_library_deps cc_library( name = name, - alwayslink = True, **kwargs ) -- 2.7.4