Skip to content

Conversation

lexi-nadia
Copy link
Contributor

No description provided.

@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Sep 5, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 5, 2025

@llvm/pr-subscribers-libc

Author: None (lexi-nadia)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/157143.diff

2 Files Affected:

  • (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+7)
  • (modified) utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel (+5)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index ee7e5cbf5febb..5df4394ca5d93 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -3748,6 +3748,13 @@ libc_math_function(
     ],
 )
 
+libc_math_function(
+    name = "fmodbf16",
+    additional_deps = [
+        ":__support_fputil_generic_fmod",
+    ],
+)
+
 libc_math_function(
     name = "fmodf",
     additional_deps = [
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 087c3a62472e6..07d95fb18e883 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
@@ -738,6 +738,11 @@ math_test(
     hdrs = ["FModTest.h"],
 )
 
+math_test(
+    name = "fmodbf16",
+    hdrs = ["FModTest.h"],
+)
+
 math_test(
     name = "fmodf",
     hdrs = ["FModTest.h"],

@rupprecht rupprecht changed the title Update Bazel rules for fmodbf16 math function that was added in 96b1dfb57fc822ea69bf75a8f0a69eb168776faa [bazel][libc] Update Bazel rules for fmodbf16 math function that was added in 96b1dfb57fc822ea69bf75a8f0a69eb168776faa Sep 5, 2025
@Sterling-Augustine Sterling-Augustine merged commit 984a275 into llvm:main Sep 5, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel libc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants