[PATCH] D135431: Extended Documentation of LLVM_TARGETS_TO_BUILD by listing all possible values

Adeel Ahmad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 01:23:01 PDT 2022


adeelahmad81299 created this revision.
adeelahmad81299 added reviewers: kristof.beyls, thieta.
Herald added subscribers: s.egerton, simoncook, fedor.sergeev, dschuff.
Herald added a project: All.
adeelahmad81299 requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, aheejin.
Herald added a project: LLVM.

AT https://llvm.org/docs/CMake.html#frequently-used-llvm-related-variables listed all possible values for LLVM_TARGETS_TO_BUILD.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135431

Files:
  llvm/docs/CMake.rst


Index: llvm/docs/CMake.rst
===================================================================
--- llvm/docs/CMake.rst
+++ llvm/docs/CMake.rst
@@ -738,7 +738,8 @@
 **LLVM_TARGETS_TO_BUILD**:STRING
   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"``.
+  ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``. The full list 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135431.465998.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/1912c200/attachment.bin>


More information about the llvm-commits mailing list