swigged.llvm 5.0.3

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

Install-Package swigged.llvm -Version 5.0.3
dotnet add package swigged.llvm --version 5.0.3
paket add swigged.llvm --version 5.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* 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
5.0.3 (current version) 45 10/23/2017
5.0.2 51 9/22/2017
5.0.1 44 9/16/2017
4.0.14 42 9/6/2017
4.0.13 37 9/6/2017
4.0.12 50 9/5/2017
4.0.11 107 6/18/2017
4.0.10 122 6/16/2017
4.0.9-alpha 60 5/26/2017
4.0.8-alpha 60 5/25/2017
4.0.7-alpha 62 5/24/2017
4.0.6-alpha 74 5/18/2017
4.0.5-alpha 62 5/11/2017
4.0.4-alpha 94 5/9/2017
4.0.3-alpha 60 5/8/2017
4.0.1.2-alpha 80 4/17/2017
4.0.1.1-alpha 82 4/6/2017