[PATCH] D123498: [clang] Adding Platform/Architecture Specific Resource Header Installation Targets

Phoebe Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 07:12:50 PDT 2022


pengfei added a comment.

> Maybe I can ask cmake to check for architecture/targets during configuration and select the headers automatically, but that is beyond the scope of this patch.

I'm not familar with cmake, but I guess it might be doable. I once verified the X86 headers by command `echo '#include <x86intrin.h>' | clang -x c -E - | grep '#.*clang.*h' | grep -o '[^\/]*\.h' |sort|uniq`.
Notice, targets like X86 doesn't have a single entry. But it still available with a bit more work.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123498/new/

https://reviews.llvm.org/D123498



More information about the cfe-commits mailing list