[libc] Add missing sqrt deps for layering checks
authorJordan Rupprecht <rupprecht@google.com>
Fri, 28 Jan 2022 20:07:19 +0000 (12:07 -0800)
committerJordan Rupprecht <rupprecht@google.com>
Fri, 28 Jan 2022 20:11:27 +0000 (12:11 -0800)
utils/bazel/llvm-project-overlay/libc/BUILD.bazel

index 90f216c..76a3a23 100644 (file)
@@ -124,7 +124,9 @@ cc_library(
     name = "__support_fputil_sqrt",
     hdrs = sqrt_hdrs,
     deps = [
+        ":__support_common",
         ":__support_fputil",
+        ":__support_standalone_cpp",
         ":libc_root",
     ],
 )
@@ -463,21 +465,21 @@ libc_math_function(
     name = "sqrt",
     additional_deps = [
         ":__support_fputil_sqrt",
-    ]
+    ],
 )
 
 libc_math_function(
     name = "sqrtf",
     additional_deps = [
         ":__support_fputil_sqrt",
-    ]
+    ],
 )
 
 libc_math_function(
     name = "sqrtl",
     additional_deps = [
         ":__support_fputil_sqrt",
-    ]
+    ],
 )
 
 libc_math_function(name = "copysign")