From 8e9912a1a264e294ecf48dd8bf7d642d41aa5829 Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Wed, 23 Jul 2025 21:03:41 -0500 Subject: [PATCH] [bazel] Port #150303 some more (#150358) --- utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 6 +++++- .../llvm-project-overlay/libc/test/src/string/BUILD.bazel | 2 ++ .../llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel | 6 ++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index b125de1659b9..eb6afed3518d 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -286,7 +286,6 @@ libc_support_library( hdrs = ["hdr/stdint_proxy.h"], ) - ############################ Type Proxy Header Files ########################### libc_support_library( @@ -489,6 +488,7 @@ libc_support_library( hdrs = ["src/__support/macros/properties/complex_types.h"], deps = [ ":__support_macros_properties_types", + ":hdr_stdint_proxy", ":llvm_libc_types_cfloat128", ":llvm_libc_types_cfloat16", ], @@ -504,6 +504,7 @@ libc_support_library( ":__support_macros_properties_cpu_features", ":__support_macros_properties_os", ":hdr_float_macros", + ":hdr_stdint_proxy", ":llvm_libc_macros_float16_macros", ":llvm_libc_types_float128", ], @@ -671,6 +672,7 @@ libc_support_library( hdrs = ["src/__support/CPP/optional.h"], deps = [ ":__support_cpp_utility", + ":hdr_stdint_proxy", ], ) @@ -731,6 +733,7 @@ libc_support_library( ":__support_macros_config", ":__support_macros_properties_complex_types", ":__support_macros_properties_types", + ":hdr_stdint_proxy", ":llvm_libc_macros_stdfix_macros", ], ) @@ -753,6 +756,7 @@ libc_support_library( ":__support_cpp_type_traits", ":__support_macros_attributes", ":__support_macros_properties_architectures", + ":hdr_stdint_proxy", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel index f16570efa9c7..5f50b10516fb 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel @@ -126,6 +126,7 @@ libc_test_library( "//libc:__support_libc_assert", "//libc:__support_macros_config", "//libc:__support_macros_sanitizer", + "//libc:hdr_stdint_proxy", "//libc:string_memory_utils", ], ) @@ -136,6 +137,7 @@ libc_test_library( deps = [ "//libc:__support_macros_attributes", "//libc:__support_macros_properties_os", + "//libc:hdr_stdint_proxy", ], ) diff --git a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel index 5a41ef489f18..64f783791eea 100644 --- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel @@ -38,6 +38,7 @@ libc_test_library( }, ), deps = [ + ":mpfr_impl", "//libc:__support_common", "//libc:__support_cpp_string", "//libc:__support_cpp_string_view", @@ -48,8 +49,8 @@ libc_test_library( "//libc:__support_fputil_fp_bits", "//libc:__support_macros_config", "//libc:__support_macros_properties_types", + "//libc:hdr_stdint_proxy", "//libc/test/UnitTest:fp_test_helpers", - "//libc/utils/MPFRWrapper:mpfr_impl", ], ) @@ -66,6 +67,7 @@ libc_test_library( ), deps = [ ":mp_common", + ":mpfr_impl", "//libc:__support_common", "//libc:__support_cpp_array", "//libc:__support_cpp_bit", @@ -80,8 +82,8 @@ libc_test_library( "//libc:__support_macros_config", "//libc:__support_macros_properties_types", "//libc:hdr_math_macros", + "//libc:hdr_stdint_proxy", "//libc/test/UnitTest:LibcUnitTest", "//libc/test/UnitTest:fp_test_helpers", - "//libc/utils/MPFRWrapper:mpfr_impl", ], )