Windows x64 LLVM assert support + MSVC only for none cross compiler build. (#11946)
commitd42d675b81dfb035f1617fa76f1d4bdde71f9359
authorJohan Lorensson <lateralusx.github@gmail.com>
Fri, 14 Dec 2018 20:45:33 +0000 (14 15:45 -0500)
committerLudovic Henry <luhenry@microsoft.com>
Fri, 14 Dec 2018 20:45:33 +0000 (14 15:45 -0500)
treeb65601abd27be3525828c4bfa2108a35cb1ad9ce
parent1503ca49525e0846bd21e454dae1c5ae2e3afcb0
Windows x64 LLVM assert support + MSVC only for none cross compiler build. (#11946)

* Add support for LLVM asserts in internal LLVM build on Windows.

* Only build LLVM using MSVC if not cross compiling.

If not cross compiling, building runtime where host/target is Windows, only
build and use LLVM as part of msvc build (only supported configuration),
disabled on gcc build.

Enforce 64-bit LLVM support when building using Visual Studio solution file.

* Disable Windows LLVM Visual Studio build on unsupported configurations.

Automatically disable Windows LLVM build in Visual Studio. This enables
the option to configure using --enable-llvm but still build all runtime
configurations from within Visual Studio. A warning will be issued into
build logs when LLVM support is disabled for a specific build configuration.

* Fix so build-init always have cygconf.h available when needed.
configure.ac
mono/mini/mini-amd64.h
mono/mini/mini-x86.h
msvc/build-external-llvm.bat
msvc/build-external-llvm.vcxproj
msvc/build-init.vcxproj
msvc/mono.external.targets
msvc/mono.props
msvc/winsetup.bat