Skip to content

Commit 50cc07f

Browse files
authored
Fix bazel build past 72ce629 (#79424)
1 parent 3fdb431 commit 50cc07f

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ libc_support_library(
210210
deps = [
211211
"__support_cpp_type_traits",
212212
"__support_macros_attributes",
213+
":llvm_libc_macros_limits_macros",
213214
],
214215
)
215216

@@ -955,6 +956,11 @@ libc_support_library(
955956
],
956957
)
957958

959+
libc_support_library(
960+
name = "llvm_libc_macros_limits_macros",
961+
hdrs = ["include/llvm-libc-macros/limits-macros.h"],
962+
)
963+
958964
############################### errno targets ################################
959965

960966
libc_function(

utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ libc_support_library(
345345
name = "ldexp_test_template",
346346
hdrs = ["LdExpTest.h"],
347347
deps = [
348+
"//libc:__support_cpp_limits",
348349
"//libc:__support_fputil_fp_bits",
349350
"//libc:__support_fputil_normal_float",
350351
"//libc/test/UnitTest:LibcUnitTest",
@@ -783,6 +784,7 @@ math_test(
783784
"LdExpTest.h",
784785
"ScalbnTest.h",
785786
],
787+
deps = ["//libc:__support_cpp_limits"],
786788
)
787789

788790
math_test(
@@ -791,6 +793,7 @@ math_test(
791793
"LdExpTest.h",
792794
"ScalbnTest.h",
793795
],
796+
deps = ["//libc:__support_cpp_limits"],
794797
)
795798

796799
math_test(
@@ -799,4 +802,5 @@ math_test(
799802
"LdExpTest.h",
800803
"ScalbnTest.h",
801804
],
805+
deps = ["//libc:__support_cpp_limits"],
802806
)

utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ libc_support_library(
4747
"//libc:__support_fputil_fp_bits",
4848
"//libc:__support_fputil_fpbits_str",
4949
"//libc/test/UnitTest:fp_test_helpers",
50+
"//libc/test/UnitTest:LibcUnitTest",
5051
"//libc/utils/MPFRWrapper:mpfr_impl",
5152
],
5253
)

0 commit comments

Comments
 (0)