File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -832,9 +832,14 @@ enabled sub-projects. Nearly all of these variable names begin with
832
832
**LLVM_TARGETS_TO_BUILD **:STRING
833
833
Semicolon-separated list of targets to build, or *all * for building all
834
834
targets. Case-sensitive. Defaults to *all *. Example:
835
- ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC" ``.
835
+ ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC;host " ``.
836
836
The full list, as of March 2023, is:
837
- ``AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore ``
837
+ ``AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore;host;Native ``
838
+
839
+ **Additional Options **:
840
+ - **host **: Automatically detect and build the target corresponding to the host machine's architecture.
841
+ For example, on an x86_64 machine, `host ` will map to `X86 `.
842
+ - **Native **: Alias for `host `, used interchangeably to specify the host architecture.
838
843
839
844
**LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN **:BOOL
840
845
If enabled, the compiler version check will only warn when using a toolchain
You can’t perform that action at this time.
0 commit comments