[llvm] [bazel] Port #150303 some more (PR #150358)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 19:03:27 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Jordan Rupprecht (rupprecht)

<details>
<summary>Changes</summary>



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


3 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+5-1) 
- (modified) utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel (+2) 
- (modified) utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel (+4-2) 


``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index b125de1659b9f..eb6afed3518d5 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 f16570efa9c7b..5f50b10516fb5 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 5a41ef489f182..64f783791eea7 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",
     ],
 )

``````````

</details>


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


More information about the llvm-commits mailing list