Fix bazel rule for __support_fputil_fma when using header modules.
authorJorge Gorbe Moya <jgorbe@google.com>
Fri, 8 Apr 2022 23:26:21 +0000 (16:26 -0700)
committerJorge Gorbe Moya <jgorbe@google.com>
Fri, 8 Apr 2022 23:28:31 +0000 (16:28 -0700)
commitac1235dda60abe24d30c0236d1f19f4e1ab01dd5
tree1f8800d86726682426704b7c0b9395db7571921f
parent549e118e93c666914a1045fde38a2cac33e1e445
Fix bazel rule for __support_fputil_fma when using header modules.

Putting __support/FPUtil/x86_64/FMA.h in `hdrs` will trigger a
compilation action for that header, and it will always `#error` out for
non-FMA targets. Move these platform-specific headers that are
conditionally included to `textual_hdrs` instead.
utils/bazel/llvm-project-overlay/libc/BUILD.bazel