[llvm] [libc][bazel] Remove unneeded deps. (PR #130696)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 10 18:25:26 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Jorge Gorbe Moya (slackito)

<details>
<summary>Changes</summary>

The MPFRWrapper BUILD targets don't depend directly on gmp. MPFR itself does depend on gmp, but not the wrapper.

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


1 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel (-2) 


``````````diff
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 28922ba114740..79b7e146eb1ce 100644
--- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
@@ -48,7 +48,6 @@ libc_test_library(
         "//libc:__support_macros_properties_types",
         "//libc/test/UnitTest:fp_test_helpers",
         "//libc/utils/MPFRWrapper:mpfr_impl",
-        "@gmp//:gmp_",
     ],
 )
 
@@ -82,6 +81,5 @@ libc_test_library(
         "//libc/test/UnitTest:LibcUnitTest",
         "//libc/test/UnitTest:fp_test_helpers",
         "//libc/utils/MPFRWrapper:mpfr_impl",
-        "@gmp//:gmp_",
     ],
 )

``````````

</details>


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


More information about the llvm-commits mailing list