[libc-commits] [libc] [llvm] [libc][math] Move hypot to shared/math and make it constexpr (PR #177588)

Chinmay Ingle via libc-commits libc-commits at lists.llvm.org
Thu Mar 5 04:26:20 PST 2026


chinmayingle wrote:

Hi  @bassiounix,
the [Bazel Checks / Bazel Build/Test (pull_request)](https://github.com/llvm/llvm-project/actions/runs/22342056882/job/64726640707?pr=177588)Failing after 19m
is failing with the following in the logs
```
"ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/generic/bf16fmul.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/generic/bf16fmul.cpp'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/generic/bf16fmul.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmul.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/generic/bf16fmul.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmul.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/generic/bf16fmul.cpp failed: 3 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/bf16fmul.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmul.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/bf16fmul.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmul.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4888:19: Compiling libc/src/math/bf16fmul.h failed: 2 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/generic/bf16fmulf128.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/generic/bf16fmulf128.cpp'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/generic/bf16fmulf128.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf128.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/generic/bf16fmulf128.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf128.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/generic/bf16fmulf128.cpp failed: 3 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/bf16fmulf128.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf128.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/bf16fmulf128.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf128.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4902:19: Compiling libc/src/math/bf16fmulf128.h failed: 2 input file(s) do not exist
[17,908 / 34,515] 12 / 3327 tests; Compiling libc/test/src/__support/char_vector_test.cpp; 0s remote-cache ... (64 actions, 0 running)
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/bf16fmulf.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/bf16fmulf.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/bf16fmulf.h failed: 2 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/generic/bf16fmulf.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/generic/bf16fmulf.cpp'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/generic/bf16fmulf.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/generic/bf16fmulf.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmulf.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4895:19: Compiling libc/src/math/generic/bf16fmulf.cpp failed: 3 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/generic/bf16fmull.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/generic/bf16fmull.cpp'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/generic/bf16fmull.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmull.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/generic/bf16fmull.cpp failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmull.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/generic/bf16fmull.cpp failed: 3 input file(s) do not exist
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/bf16fmull.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmull.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/bf16fmull.h failed: missing input file '@@+_repo_rules+llvm-project//libc:src/math/bf16fmull.h'
ERROR: /home/gha/.cache/bazel/_bazel_gha/7e8ec8c8c4975cf00cc8d263f2c10e24/external/+_repo_rules+llvm-project/libc/BUILD.bazel:4909:19: Compiling libc/src/math/bf16fmull.h failed: 2 input file(s) do not exist
"
```
I have not updated or modified any of these files, as shown by the git diff.
I am not sure why I am seeing this error. Can I please request you to check this once!
thanks!

https://github.com/llvm/llvm-project/pull/177588


More information about the libc-commits mailing list