Skip to content

Commit 4132ab8

Browse files
committed
[bazel] Port for the libc change f8834ed
1 parent 074414f commit 4132ab8

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,21 @@ libc_math_function(
17271727
],
17281728
)
17291729

1730+
libc_math_function(
1731+
name = "cospif",
1732+
additional_deps = [
1733+
":__support_fputil_fma",
1734+
":__support_fputil_multiply_add",
1735+
":__support_fputil_nearest_integer",
1736+
":__support_fputil_polyeval",
1737+
":__support_fputil_rounding_mode",
1738+
":__support_macros_optimization",
1739+
":common_constants",
1740+
":explogxf",
1741+
":sincosf_utils",
1742+
],
1743+
)
1744+
17301745
libc_math_function(
17311746
name = "tanhf",
17321747
additional_deps = [

utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,15 @@ math_test(
698698
],
699699
)
700700

701+
math_test(
702+
name = "cospif",
703+
deps = [
704+
":sdcomp26094",
705+
"//libc:__support_cpp_array",
706+
"//libc/utils/MPFRWrapper:mpfr_wrapper",
707+
],
708+
)
709+
701710
math_test(
702711
name = "tanhf",
703712
deps = [

utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ math_test(
2121
hdrs = ["CeilTest.h"],
2222
)
2323

24+
math_test(
25+
name = "cospif",
26+
)
27+
2428
math_test(
2529
name = "floorf128",
2630
hdrs = ["FloorTest.h"],

0 commit comments

Comments
 (0)