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

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 13:18:33 PST 2023


https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/73854

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.



>From 54fe44f4e82496ac31abb417d1ddbccb1dab425a Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Wed, 29 Nov 2023 13:16:06 -0800
Subject: [PATCH] [libc][NFC] Fix missing dep in bazel

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.
---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 1 +
 1 file changed, 1 insertion(+)

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",
     ],
 )



More information about the llvm-commits mailing list