[llvm] [libc] Fix bazel build (PR #81980)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 02:53:22 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Guillaume Chatelet (gchatelet)

<details>
<summary>Changes</summary>

Broken by #<!-- -->81819

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


2 Files Affected:

- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+5) 
- (modified) utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel (+2) 


``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 1518d7910299d0..1998c95dcbe9c5 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -891,6 +891,11 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_fixed_point_fx_rep",
+    hdrs = ["src/__support/fixed_point/fx_rep.h"],
+)
+
 libc_support_library(
     name = "__support_osutil_syscall",
     hdrs = ["src/__support/OSUtil/syscall.h"],
diff --git a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
index cffaa27d1df18e..fd4bf4a4db74cc 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
@@ -46,6 +46,7 @@ libc_support_library(
         "//libc:__support_cpp_string",
         "//libc:__support_cpp_string_view",
         "//libc:__support_cpp_type_traits",
+        "//libc:__support_fixed_point_fx_rep",
         "//libc:__support_fputil_fp_bits",
         "//libc:__support_fputil_fpbits_str",
         "//libc:__support_fputil_rounding_mode",
@@ -53,6 +54,7 @@ libc_support_library(
         "//libc:__support_stringutil",
         "//libc:__support_uint128",
         "//libc:errno",
+        "//libc:llvm_libc_macros_stdfix_macros",
         "//llvm:Support",
     ],
 )

``````````

</details>


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


More information about the llvm-commits mailing list