[llvm] [bazel] Port #94218 (PR #94390)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 12:45:44 PDT 2024


https://github.com/keith created https://github.com/llvm/llvm-project/pull/94390

None

>From aeba64b4b0c9f2dff4d9a66b829522887524df64 Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Tue, 4 Jun 2024 19:44:53 +0000
Subject: [PATCH] [bazel] Port #94218

---
 .../libc/test/src/math/libc_math_test_rules.bzl                  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl b/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
index da4964bd89824..11d2e5aa340f6 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
@@ -25,6 +25,7 @@ def math_test(name, hdrs = [], deps = [], **kwargs):
         srcs = [test_name + ".cpp"] + hdrs,
         libc_function_deps = ["//libc:func_name".replace("func_name", name)],
         deps = [
+            "//libc:__support_cpp_algorithm",
             "//libc:__support_fputil_basic_operations",
             "//libc:__support_fputil_fenv_impl",
             "//libc:__support_fputil_fp_bits",



More information about the llvm-commits mailing list