[llvm] [libc] Fix bazel build (PR #81980)
Guillaume Chatelet via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 02:52:26 PST 2024
https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/81980
None
>From c42c92d47e353d11bf8a23984cc068258c28fbe0 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Fri, 16 Feb 2024 10:52:02 +0000
Subject: [PATCH] [libc] Fix bazel build
---
utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 5 +++++
.../llvm-project-overlay/libc/test/UnitTest/BUILD.bazel | 2 ++
2 files changed, 7 insertions(+)
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",
],
)
More information about the llvm-commits
mailing list