Skip to content

Commit 1e5ca97

Browse files
[libc][bazel] Fix missing fmodbf16 dependency (llvm#157149)
Tests were failing due to a missing dependency on fputil/bfloat16.
1 parent 07d0225 commit 1e5ca97

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3751,6 +3751,7 @@ libc_math_function(
37513751
libc_math_function(
37523752
name = "fmodbf16",
37533753
additional_deps = [
3754+
":__support_fputil_bfloat16",
37543755
":__support_fputil_generic_fmod",
37553756
],
37563757
)

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,12 @@ math_test(
740740

741741
math_test(
742742
name = "fmodbf16",
743-
hdrs = ["FModTest.h"],
743+
hdrs = [
744+
"FModTest.h",
745+
],
746+
deps = [
747+
"//libc:__support_fputil_bfloat16",
748+
],
744749
)
745750

746751
math_test(

0 commit comments

Comments
 (0)