Skip to content

Commit 4fb7d22

Browse files
committed
[DOCS] Update for comments.
1 parent 90e97b6 commit 4fb7d22

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

llvm/docs/CMake.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -832,15 +832,14 @@ enabled sub-projects. Nearly all of these variable names begin with
832832
**LLVM_TARGETS_TO_BUILD**:STRING
833833
Semicolon-separated list of targets to build, or *all* for building all
834834
targets. Case-sensitive. Defaults to *all*. Example:
835-
``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC;host"``.
835+
``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
836836
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;host;Native``
837+
``AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore``
838838

839-
**Additional Options**:
840-
- **host**: Automatically detect and build the target corresponding to the host machine's architecture.
841-
842-
For example, on an x86_64 machine, `host` will map to `X86`.
843-
- **Native**: Alias for `host`, used interchangeably to specify the host architecture.
839+
You can also specify ``host`` or ``Native`` to automatically detect and include
840+
the target corresponding to the host machine's architecture. For example, on an
841+
x86_64 machine, specifying ``-DLLVM_TARGETS_TO_BUILD=host`` will include the
842+
``X86`` target.
844843

845844
**LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN**:BOOL
846845
If enabled, the compiler version check will only warn when using a toolchain

0 commit comments

Comments
 (0)