[llvm] [libc][bazel] Add BUILD rules for float16 math functions. (PR #114187)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 08:46:17 PDT 2024
================
@@ -2797,13 +3068,28 @@ libc_math_function(
],
)
+libc_math_function(
+ name = "sinhf16",
+ additional_deps = [
+ ":expxf16",
+ ],
+)
+
libc_math_function(
name = "sinpif",
additional_deps = [
":sincosf_utils",
],
)
+libc_math_function(
+ name = "sinpif16",
+ additional_deps = [
----------------
lntue wrote:
I think you missed some additional dependency / header here:
```
$ bazel build --config=generic_clang --features=layering_
check @llvm-project//libc/...
INFO: Analyzed 1634 targets (87 packages loaded, 8315 targets configured).
...
external/llvm-project/libc/src/math/generic/sinpif16.cpp:12:10: fatal error: 'sincosf16_utils.h' file not found
#include "sincosf16_utils.h"
^~~~~~~~~~~~~~~~~~~
1 error generated.
```
https://github.com/llvm/llvm-project/pull/114187
More information about the llvm-commits
mailing list