[llvm] [libc] fix missing macro dependency in bazel (PR #86298)

Schrodinger ZHU Yifan via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 08:54:20 PDT 2024


https://github.com/SchrodingerZhu created https://github.com/llvm/llvm-project/pull/86298

![image](https://github.com/llvm/llvm-project/assets/20108837/94cb5718-3526-4bae-8a79-f5b1d19b352d)


>From 73ae0182f442b9c06b1f1c214dc23ad87ce0baad Mon Sep 17 00:00:00 2001
From: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: Fri, 22 Mar 2024 11:53:42 -0400
Subject: [PATCH] [libc] fix missing macro dependency in bazel

---
 .../llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel      | 1 +
 1 file changed, 1 insertion(+)

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 803010e8b3add5..5f59d70ecc16d0 100644
--- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
@@ -46,6 +46,7 @@ libc_support_library(
         "//libc:__support_cpp_type_traits",
         "//libc:__support_fputil_fp_bits",
         "//libc:__support_fputil_fpbits_str",
+        "//libc:llvm_libc_macros_math_macros",
         "//libc/test/UnitTest:LibcUnitTest",
         "//libc/test/UnitTest:fp_test_helpers",
         "//libc/utils/MPFRWrapper:mpfr_impl",



More information about the llvm-commits mailing list