Skip to content

Commit 8d6784d

Browse files
committed
[bazel][libc][math] Add missing nan(f|l) deps
After 0504e93
1 parent 31626da commit 8d6784d

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

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

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ libc_support_library(
540540
":__support_cpp_bit",
541541
":__support_cpp_limits",
542542
":__support_cpp_optional",
543+
":__support_cpp_string_view",
543544
":__support_ctype_utils",
544545
":__support_fputil_dyadic_float",
545546
":__support_fputil_fenv_impl",
@@ -1874,11 +1875,29 @@ libc_math_function(name = "llroundf")
18741875

18751876
libc_math_function(name = "llroundl")
18761877

1877-
libc_math_function(name = "nan")
1878+
libc_math_function(
1879+
name = "nan",
1880+
additional_deps = [
1881+
":__support_str_to_float",
1882+
":errno",
1883+
],
1884+
)
18781885

1879-
libc_math_function(name = "nanf")
1886+
libc_math_function(
1887+
name = "nanf",
1888+
additional_deps = [
1889+
":__support_str_to_float",
1890+
":errno",
1891+
],
1892+
)
18801893

1881-
libc_math_function(name = "nanl")
1894+
libc_math_function(
1895+
name = "nanl",
1896+
additional_deps = [
1897+
":__support_str_to_float",
1898+
":errno",
1899+
],
1900+
)
18821901

18831902
libc_math_function(name = "nearbyint")
18841903

0 commit comments

Comments
 (0)