[llvm] More bazel fixes past 72ce6294157964042b7ed5576ce2c99257eeea9d (PR #79442)

Danial Klimkin via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 05:09:06 PST 2024


https://github.com/dklimkin created https://github.com/llvm/llvm-project/pull/79442

None

>From 0d9deaf4e47cceb8432f355a03957963776c9ba7 Mon Sep 17 00:00:00 2001
From: Danial Klimkin <dklimkin at users.noreply.github.com>
Date: Thu, 25 Jan 2024 14:05:41 +0100
Subject: [PATCH] More bazel fixes past
 72ce6294157964042b7ed5576ce2c99257eeea9d

---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel               | 2 ++
 .../bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel | 1 +
 2 files changed, 3 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 3ffe6f1e1a37829..ff9219a72dae15b 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -592,6 +592,7 @@ libc_support_library(
     name = "__support_math_extras",
     hdrs = ["src/__support/math_extras.h"],
     deps = [
+        ":__support_cpp_limits",
         ":__support_cpp_type_traits",
         ":__support_macros_attributes",
         ":__support_macros_config",
@@ -709,6 +710,7 @@ libc_support_library(
     deps = [
         ":__support_common",
         ":__support_cpp_bit",
+        ":__support_cpp_limits",
         ":__support_cpp_type_traits",
         ":__support_fputil_fp_bits",
         ":__support_fputil_nearest_integer_operations",
diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel
index 3e746a908c9002f..b34e281ce0ecd68 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel
@@ -60,6 +60,7 @@ libc_support_library(
     name = "atoi_test_helper",
     hdrs = ["AtoiTest.h"],
     deps = [
+        "//libc:__support_cpp_limits",
         "//libc:__support_cpp_type_traits",
         "//libc/test/UnitTest:LibcUnitTest",
     ],



More information about the llvm-commits mailing list