Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of CMake variables
authorDylan McKay <me@dylanmckay.io>
Wed, 1 Dec 2021 08:33:31 +0000 (21:33 +1300)
committerDylan McKay <me@dylanmckay.io>
Wed, 1 Dec 2021 08:38:59 +0000 (21:38 +1300)
commitec15b7307f54ab5203f3fbf134e0b57deeb2a93f
tree24895ff33ef4ee6270353ab733fd83c0fd6652c9
parent3a6c4f307bd0273c72cbf7e5ed571c4021678295
Add 'LLVM_DEFAULT_TARGET_TRIPLE' to the documented list of CMake variables

I always forget this variable, and the distinction between
'LLVM_TARGET_ARCH', and this variable is only documented on the 'cross
compiling' page, which I never spot and always end up searching through
the codebase for.

This patch adds the variable to the Sphinx CMake documentation so that
it is easily findable in the official LLVM docs.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D96014
llvm/docs/CMake.rst