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

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 07:32:01 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: None (google-llvm-bazel-bot)

<details>
<summary>Changes</summary>

This fixes 05d96d53559e0b2876dd6608152805f07ebcc195.



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


1 Files Affected:

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


``````````diff
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(

``````````

</details>


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


More information about the llvm-commits mailing list