diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-09-13 22:18:38 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-09-13 22:18:38 +0000 |
commit | a9ff1392ea5d21b2dd9fbe37a0f268b2834211d0 (patch) | |
tree | 92c96d1e53d8fe9556bd93072415ac604e6354ea /docs/CMake.html | |
parent | 422094c38dfe6878de40f4ad443dcd77542fac22 (diff) |
CMake: New user-settable variable LLVM_TARGET_ARCH useful when
cross-compiling.
Patch by Xerxes RĂ„nby!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CMake.html')
-rw-r--r-- | docs/CMake.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/CMake.html b/docs/CMake.html index 741e8dac0b..25f471081f 100644 --- a/docs/CMake.html +++ b/docs/CMake.html @@ -273,6 +273,13 @@ option is available only on some 64-bits unix systems. Defaults to OFF.</dd> + <dt><b>LLVM_TARGET_ARCH</b>:STRING</dt> + <dd>LLVM target to use for native code generation. This is required + for JIT generation. It defaults to "host", meaning that it shall + pick the architecture of the machine where LLVM is being built. If + you are cross-compiling, set it to the target architecture + name.</dd> + <dt><b>LLVM_TABLEGEN</b>:STRING</dt> <dd>Full path to a native TableGen executable (usually named <i>tblgen</i>). This is intented for cross-compiling: if the @@ -311,6 +318,9 @@ <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling#Information_how_to_set_up_various_cross_compiling_toolchains">this section</a> for a quick solution.</p> +<p>Also see the <a href="#llvmvars">LLVM-specific variables</a> + section for variables used when cross-compiling.</p> + </div> <!-- *********************************************************************** --> |