diff options
author | lateralusX <lateralusx.github@gmail.com> | 2018-06-14 13:43:51 +0300 |
---|---|---|
committer | lateralusX <lateralusx.github@gmail.com> | 2018-06-20 14:38:49 +0300 |
commit | d37796c71c6aa45c8712d77248d3889b5e474ea8 (patch) | |
tree | 5385ccf1192885bf97868341b6fb12386b9bf59e /msvc/build-init.vcxproj.filters | |
parent | 9b9e4f4bb6d579cd70ed8f2667a5d2edef67dc26 (diff) |
Add LLVM AOT/Full AOT support on Windows x64.
Uses mono LLVM master branch, build using cmake and VisualStudio 2015/2017.
Commit adds support for AOT/Full AOT LLVM codegen for Windows x64 Visual Studio
build mono runtime. Normal configure/make using cygwin won’t support LLVM and will
trigger an error if configured.
In order to build using LLVM first mono LLVM master branch must be build using
static linked LLVM configuration (dynamic loading can be added later),
NOTE mono LLVM build needs to include the following commit,
https://github.com/mono/llvm/commit/9b92b4b87607e137266f84dc307181b8842fe54a
in order to successfully build on Windows x64.
Build mono LLVM branch using the following cmake configuration:
-DCMAKE_BUILD_TYPE=Release
-DLLVM_ENABLE_ZLIB=OFF
-DLLVM_TARGETS_TO_BUILD="X86"
-DCMAKE_CROSSCOMPILING=False
-DCMAKE_SYSTEM_NAME=Windows
Use cmake with -G "Visual Studio 14 2015 Win64" to generate VS 2015 x64
targets. NOTE, if mono runtime is build using VS 2017, then LLVM should
be build using the same VS version using -G "Visual Studio 15 2017 Win64"
To enable LLVM build in mono.sln, set MONO_ENABLE_LLVM to “true” and make
sure MONO_LLVM_INSTALL_DIR_PREFIX points to the install directory used in
LLVM build above, default msvc/dist/llvm. Above LLVM properties can also
be set if build using msbuild.
A sample LLVM configure script has been included in msvc/llvm-cmake-config.bat.
Diffstat (limited to 'msvc/build-init.vcxproj.filters')
-rw-r--r-- | msvc/build-init.vcxproj.filters | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/msvc/build-init.vcxproj.filters b/msvc/build-init.vcxproj.filters index bcde289799b..4cdc322a7b1 100644 --- a/msvc/build-init.vcxproj.filters +++ b/msvc/build-init.vcxproj.filters @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClInclude Include="..\eglib\config.h" />
<ClInclude Include="..\config.h" />
</ItemGroup>
</Project>
\ No newline at end of file |