aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2024-06-05 12:00:00 -0700
committerGitHub <noreply@github.com>2024-06-05 12:00:00 -0700
commit3d44926712389945468a566c9058b2e715f8f2ad (patch)
tree2301c236c86c0c3238b8d75bbf3e8ef45c6b8e4b /utils/bazel/llvm-project-overlay
parentc8d63516ac9e15831975392dd9f6b9ae6a31b21c (diff)
downloadllvm-3d44926712389945468a566c9058b2e715f8f2ad.zip
llvm-3d44926712389945468a566c9058b2e715f8f2ad.tar.gz
llvm-3d44926712389945468a566c9058b2e715f8f2ad.tar.bz2
[bazel] Sync config with main (#94521)
Diffstat (limited to 'utils/bazel/llvm-project-overlay')
-rw-r--r--utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl3
-rw-r--r--utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel1
-rw-r--r--utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel1
3 files changed, 4 insertions, 1 deletions
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 11d2e5a..9ec3a5e 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/test/UnitTest:fp_test_helpers",
"//libc:__support_cpp_algorithm",
"//libc:__support_fputil_basic_operations",
"//libc:__support_fputil_fenv_impl",
@@ -32,9 +33,9 @@ def math_test(name, hdrs = [], deps = [], **kwargs):
"//libc:__support_fputil_manipulation_functions",
"//libc:__support_fputil_nearest_integer_operations",
"//libc:__support_fputil_normal_float",
+ "//libc:__support_macros_properties_architectures",
"//libc:__support_math_extras",
"//libc:__support_uint128",
- "//libc/test/UnitTest:fp_test_helpers",
"//libc:hdr_math_macros",
] + deps,
**kwargs
diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
index 7d4b9978..eccea8f 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
@@ -117,6 +117,7 @@ math_test(
name = "llrintf128",
hdrs = ["RoundToIntegerTest.h"],
)
+
math_test(
name = "lroundf128",
hdrs = ["RoundToIntegerTest.h"],
diff --git a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
index 53a8c9b..6dd1fc4 100644
--- a/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/utils/MPFRWrapper/BUILD.bazel
@@ -46,6 +46,7 @@ libc_support_library(
"//libc:__support_cpp_type_traits",
"//libc:__support_fputil_fp_bits",
"//libc:__support_fputil_fpbits_str",
+ "//libc:__support_macros_properties_types",
"//libc:hdr_math_macros",
"//libc/test/UnitTest:LibcUnitTest",
"//libc/test/UnitTest:fp_test_helpers",