swigged.llvm 5.0.4

A C# wrapper API of LLVM-C for Windows 10 (x64), Ubuntu 16.04 (x64).

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package swigged.llvm -Version 5.0.4
dotnet add package swigged.llvm --version 5.0.4
paket add swigged.llvm --version 5.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Version 5.0.4
Removing support for 32-bit targets, upgrading to Net Standard 2.0. This means versions equal to and before Net Framework 4.6 and Net Core 1.1 are not supported.

* Version 5.0.3
Updating .targets file so that "copy" step of proper native library works regardless whether you "nuget"
for a Net Framework, Standard, or Core project. Rest of package is essentially unchanged.

* Version 5.0.2
Adding in ToString() functions for ValueRef and TypeRef for easier debugging.

* Version 5.0.1
Updating to LLVM 5.0. Check out LLVM Release Notes for changes in the API. http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html

* Version 4.0.14
Fix of 4.0.13 (wrong path).

* Version 4.0.13
Updated .targets file for builds on Windows, fixing override of PreBuildEvent.

* Version 4.0.12
Updated .targets file for builds on Windows.

* Version 4.0.11
Fixing problem with NuGet spec--apparently, a dll is referenced only with either the dlls in netstandard1.1 or netstandard1.5. A
very bad rule because swigged.llvm.dll is strictly a netstandard1.1 file, but it will not add the reference any other way.
Otherwise, the functionality is identical to 4.0.10.

* Version 4.0.10
General availability. Worked out version and dependencies for Net Framework from 4.5 less than or equal to 'your app NF version' less than or equal to 4.7. Added ORC api's.
Added in all targets for LLVM. Example tests include PTX code generation and running using ManagedCUDA on a GPU.

* Version 4.0.9-alpha
Working out dependencies and versions. Instead of hardwiring everything to fixed version, allow user to update to suit build.
* Version 4.0.8-alpha
Use "Swigged.LLVM.Helper.Adjust.Path();" before 1st LLVM call to alter PATH variable within process so that it can find swigged-llvm-native.dll without having to copy the dll around. There is no equivalent fix for Ubuntu unfortunately. You must still "dotnet publish -r ubuntu.16.04-x64" and copy swigged-llvm-native.so to the build output directory.
* Version 4.0.7-alpha
Added in Android builds for x86 and armeabi targets; cleaned up package directory structure.

* Version 4.0.6-alpha
Added in fixes for VerifyModule, CreateMCJITCompilerForModule, MCJITCompilerOptions, InitializeMCJITCompilerOptions, MyString.
Object files provided in this package are a Release build in Net Standard 1.1 (swigged-llvm library) and 1.6 (Helper library).

When building with Swigged.llvm, select Platform = "AnyCPU", config = "Debug" or "Release".

On Windows, in the properties for the executable, un-check "Prefer 32-bit" in Build properties, and check "Enable native code debugging". If you are using Net Core or Standard, this option is unavailable--I'm not sure why it is.
If you are building an app with Net Framework 4.5 through 4.6.1, you must manually copy the file swigged-llvm-native.dll to your executable directory. With 4.6.2 and beyond, it will find the library in your packages/ directory.
If you are delivering your app, you will need to copy the dll to the directory containing your app.

On Ubuntu, use Net Core to build your C# program. You may need to copy the swigged-llvm-native.so file to the directory containing your app executable.

For further information, see https://github.com/kaby76/swigged-llvm.

Version History

Version Downloads Last updated 35 2/5/2018 48 1/10/2018
5.0.4 (current version) 60 1/5/2018
5.0.3 70 10/23/2017
5.0.2 64 9/22/2017
5.0.1 59 9/16/2017
4.0.14 55 9/6/2017
4.0.13 51 9/6/2017
4.0.12 64 9/5/2017
4.0.11 121 6/18/2017
4.0.10 136 6/16/2017
4.0.9-alpha 74 5/26/2017
4.0.8-alpha 74 5/25/2017
4.0.7-alpha 76 5/24/2017
4.0.6-alpha 89 5/18/2017
4.0.5-alpha 78 5/11/2017
4.0.4-alpha 108 5/9/2017
4.0.3-alpha 75 5/8/2017 96 4/17/2017 98 4/6/2017