[all-commits] [llvm/llvm-project] ac1235: Fix bazel rule for __support_fputil_fma when using...

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Fri Apr 8 16:29:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac1235dda60abe24d30c0236d1f19f4e1ab01dd5
      https://github.com/llvm/llvm-project/commit/ac1235dda60abe24d30c0236d1f19f4e1ab01dd5
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  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.




More information about the All-commits mailing list