From: Jose Fonseca Date: Mon, 13 Apr 2015 12:08:13 +0000 (+0100) Subject: docs: Improve LLVM_USE_CRT_xxx instructions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;ds=sidebyside;h=36ceda4eced243c1fab487b878e20944d1238d50;p=mesa.git docs: Improve LLVM_USE_CRT_xxx instructions. --- diff --git a/docs/llvmpipe.html b/docs/llvmpipe.html index 72db93aaf6e..f603bd64660 100644 --- a/docs/llvmpipe.html +++ b/docs/llvmpipe.html @@ -58,15 +58,37 @@ It's the fastest software rasterizer for Mesa.

- For Windows you will need to build LLVM from source with MSVC or MINGW - (either natively or through cross compilers) and CMake, and set the LLVM - environment variable to the directory you installed it to. + For Windows you will need to build LLVM from source with MSVC or MINGW + (either natively or through cross compilers) and CMake, and set the LLVM + environment variable to the directory you installed it to. LLVM will be statically linked, so when building on MSVC it needs to be built with a matching CRT as Mesa, and you'll need to pass - -DLLVM_USE_CRT_RELEASE=MTd for debug and checked builds, - -DLLVM_USE_CRT_RELEASE=MTd for profile and release builds. + -DLLVM_USE_CRT_xxx=yyy as described below. +

+ + + + + + + + + + + + + + + + + + + + +
LLVM build-typeMesa build-type
debug,checkedrelease,profile
Debug-DLLVM_USE_CRT_DEBUG=MTd-DLLVM_USE_CRT_DEBUG=MT
Release-DLLVM_USE_CRT_RELEASE=MTd-DLLVM_USE_CRT_RELEASE=MT
+

You can build only the x86 target by passing -DLLVM_TARGETS_TO_BUILD=X86 to cmake.