[llvm] c3e073b - Extended Documentation of LLVM_TARGETS_TO_BUILD by listing all possible values

Kristof Beyls via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 01:35:11 PDT 2022


Author: Adeel Ahmad
Date: 2022-10-10T10:34:48+02:00
New Revision: c3e073bcbdc523b0f758d44a89a6333e38bff863

URL: https://github.com/llvm/llvm-project/commit/c3e073bcbdc523b0f758d44a89a6333e38bff863
DIFF: https://github.com/llvm/llvm-project/commit/c3e073bcbdc523b0f758d44a89a6333e38bff863.diff

LOG: Extended Documentation of LLVM_TARGETS_TO_BUILD by listing all possible values

Differential Revision: https://reviews.llvm.org/D135431

Added: 
    

Modified: 
    llvm/docs/CMake.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst
index b2b17b0ad0be..28b6805f12e3 100644
--- a/llvm/docs/CMake.rst
+++ b/llvm/docs/CMake.rst
@@ -739,6 +739,8 @@ enabled sub-projects. Nearly all of these variable names begin with
   Semicolon-separated list of targets to build, or *all* for building all
   targets. Case-sensitive. Defaults to *all*. Example:
   ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
+  The full list, as of October 2022, is:
+  ``AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;Mips;MSP430;NVPTX;PowerPC;RISCV;Sparc;SystemZ;VE;WebAssembly;X86;XCore``
 
 **LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN**:BOOL
   If enabled, the compiler version check will only warn when using a toolchain


        


More information about the llvm-commits mailing list