Skip to content

Commit 984a275

Browse files
authored
[bazel][libc] Update Bazel rules for fmodbf16 math function that was added in 96b1dfb (#157143)
1 parent b946b2b commit 984a275

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3748,6 +3748,13 @@ libc_math_function(
37483748
],
37493749
)
37503750

3751+
libc_math_function(
3752+
name = "fmodbf16",
3753+
additional_deps = [
3754+
":__support_fputil_generic_fmod",
3755+
],
3756+
)
3757+
37513758
libc_math_function(
37523759
name = "fmodf",
37533760
additional_deps = [

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,11 @@ math_test(
738738
hdrs = ["FModTest.h"],
739739
)
740740

741+
math_test(
742+
name = "fmodbf16",
743+
hdrs = ["FModTest.h"],
744+
)
745+
741746
math_test(
742747
name = "fmodf",
743748
hdrs = ["FModTest.h"],

0 commit comments

Comments
 (0)