Skip to content

Commit 537b654

Browse files
authored
Fix libc BUILD.bazel after commit 8741412 (#133980)
Recent changes add dependencies to some atan functions. Edit bazel build file to look more like the CMake file. See 8741412
1 parent adba14a commit 537b654

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1914,6 +1914,19 @@ libc_support_library(
19141914
],
19151915
)
19161916

1917+
libc_support_library(
1918+
name = "atan_utils",
1919+
hdrs = ["src/math/generic/atan_utils.h"],
1920+
deps = [
1921+
":__support_integer_literals",
1922+
":__support_fputil_double_double",
1923+
":__support_fputil_dyadic_float",
1924+
":__support_fputil_multiply_add",
1925+
":__support_fputil_polyeval",
1926+
":__support_macros_optimization",
1927+
],
1928+
)
1929+
19171930
libc_support_library(
19181931
name = "log_range_reduction",
19191932
hdrs = ["src/math/generic/log_range_reduction.h"],
@@ -2313,7 +2326,7 @@ libc_math_function(
23132326
":__support_fputil_double_double",
23142327
":__support_fputil_nearest_integer",
23152328
":__support_macros_optimization",
2316-
":inv_trigf_utils",
2329+
":atan_utils",
23172330
],
23182331
)
23192332

@@ -2331,7 +2344,7 @@ libc_math_function(
23312344
additional_deps = [
23322345
":__support_fputil_double_double",
23332346
":__support_fputil_nearest_integer",
2334-
":inv_trigf_utils",
2347+
":atan_utils",
23352348
],
23362349
)
23372350

0 commit comments

Comments
 (0)