[llvm] [Bazel] Fixes 05d96d5 (PR #185660)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 07:31:19 PDT 2026


https://github.com/google-llvm-bazel-bot created https://github.com/llvm/llvm-project/pull/185660

This fixes 05d96d53559e0b2876dd6608152805f07ebcc195.



>From d106854502b3f2dd97e369513bae43a71d2717ee Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Tue, 10 Mar 2026 14:31:08 +0000
Subject: [PATCH] Fix Bazel build for 05d96d5

---
 .../llvm-project-overlay/libc/BUILD.bazel     | 66 ++++++++++++++++++-
 1 file changed, 64 insertions(+), 2 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index c4ce8adee3e47..9a0a70b13cae9 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -986,6 +986,15 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_frac128",
+    hdrs = ["src/__support/frac128.h"],
+    deps = [
+        ":__support_big_int",
+        ":__support_macros_config",
+    ],
+)
+
 libc_support_library(
     name = "__support_sign",
     hdrs = ["src/__support/sign.h"],
@@ -3365,6 +3374,50 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_math_sincos_integer_utils",
+    hdrs = ["src/__support/math/sincos_integer_utils.h"],
+    deps = [
+        ":__support_big_int",
+        ":__support_cpp_bit",
+        ":__support_fputil_fp_bits",
+        ":__support_fputil_multiply_add",
+        ":__support_fputil_polyeval",
+        ":__support_frac128",
+        ":__support_macros_config",
+        ":__support_macros_optimization",
+        ":__support_math_extras",
+    ],
+)
+
+libc_support_library(
+    name = "__support_math_cos_integer_eval",
+    hdrs = ["src/__support/math/cos_integer_eval.h"],
+    deps = [
+        ":__support_cpp_bit",
+        ":__support_fputil_fenv_impl",
+        ":__support_fputil_fp_bits",
+        ":__support_frac128",
+        ":__support_macros_config",
+        ":__support_macros_optimization",
+        ":__support_math_sincos_integer_utils",
+    ],
+)
+
+libc_support_library(
+    name = "__support_math_sin_integer_eval",
+    hdrs = ["src/__support/math/sin_integer_eval.h"],
+    deps = [
+        ":__support_cpp_bit",
+        ":__support_fputil_fenv_impl",
+        ":__support_fputil_fp_bits",
+        ":__support_frac128",
+        ":__support_macros_config",
+        ":__support_macros_optimization",
+        ":__support_math_sincos_integer_utils",
+    ],
+)
+
 libc_support_library(
     name = "__support_math_cos",
     hdrs = ["src/__support/math/cos.h"],
@@ -6247,7 +6300,11 @@ libc_math_function(
 
 libc_math_function(
     name = "cos",
-    additional_deps = [":__support_math_cos"],
+    additional_deps = [
+        ":__support_macros_properties_cpu_features",
+        ":__support_math_cos",
+        ":__support_math_cos_integer_eval",
+    ],
 )
 
 libc_math_function(
@@ -7840,7 +7897,12 @@ libc_math_function(
 
 libc_math_function(
     name = "sin",
-    additional_deps = [":__support_math_sin"],
+    additional_deps = [
+        ":__support_macros_optimization",
+        ":__support_macros_properties_cpu_features",
+        ":__support_math_sin",
+        ":__support_math_sin_integer_eval",
+    ],
 )
 
 libc_math_function(



More information about the llvm-commits mailing list