[llvm] [libc][NFC] Fix missing dep in bazel (PR #73854)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 13:19:03 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (michaelrj-google)

<details>
<summary>Changes</summary>

Patch #<!-- -->73469 added a dependency from __support/bit.h to
__support/CPP/type_traits.h, but didn't add a dependency in the bazel.
This caused downstream build failures. This patch fixes the missing
dependency.



---
Full diff: https://github.com/llvm/llvm-project/pull/73854.diff


1 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+1) 


``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index ffb2652ed1419d0..860efbca1768853 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -594,6 +594,7 @@ libc_support_library(
     name = "__support_bit",
     hdrs = ["src/__support/bit.h"],
     deps = [
+        ":__support_cpp_type_traits",
         ":__support_macros_attributes",
     ],
 )

``````````

</details>


https://github.com/llvm/llvm-project/pull/73854


More information about the llvm-commits mailing list