[llvm] [LLVM][DOCS] Add documentation for 'host' and 'Native' options in LLVM_TARGETS_TO_BUILD. (PR #111382)
Harrison Hao via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 06:41:52 PDT 2024
================
@@ -836,6 +836,12 @@ enabled sub-projects. Nearly all of these variable names begin with
The full list, as of March 2023, is:
``AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore``
+ You can also specify ``host`` or ``Native`` to automatically detect and
+ include the target corresponding to the host machine's architecture, or
+ use ``all`` to include all available targets.
----------------
harrisonGPU wrote:
Okay, thanks!
https://github.com/llvm/llvm-project/pull/111382
More information about the llvm-commits
mailing list