swigged.llvm 4.0.14

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

There is a newer version of this package available.
See the version list below for details.
Install-Package swigged.llvm -Version 4.0.14
dotnet add package swigged.llvm --version 4.0.14
<PackageReference Include="swigged.llvm" Version="4.0.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add swigged.llvm --version 4.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: swigged.llvm, 4.0.14"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install swigged.llvm as a Cake Addin
#addin nuget:?package=swigged.llvm&version=4.0.14

// Install swigged.llvm as a Cake Tool
#tool nuget:?package=swigged.llvm&version=4.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* 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.

On Android, use Visual Studio and add a reference to the SO library files to your Xamarin Forms App. Make sure the directory structure is followed. See https://developer.xamarin.com/guides/android/advanced_topics/using_native_libraries/ for details. Other information can be found at https://blogs.msdn.microsoft.com/vcblog/2015/02/23/developing-xamarin-android-native-applications/ https://developer.xamarin.com/guides/ios/advanced_topics/native_interop/ https://blog.xamarin.com/build-and-debug-c-libraries-in-xamarin-android-apps-with-visual-studio-2015/ .
Note, Android x86 is the only compatible target, as I haven't been able to get Android on ARM to build.

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

NuGet packages (1)

Showing the top 1 NuGet packages that depend on swigged.llvm:

Package Downloads
Campy
A compiler, runtime, and API for GP-GPU computing using C# or any other NET language, for Windows and Ubuntu x64.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
70.0.1 1,059 9/23/2018
70.0.0 510 8/29/2018
6.0.6 969 5/2/2018
6.0.5 604 4/18/2018
6.0.4 893 4/4/2018
6.0.3 986 3/9/2018
6.0.0.2-alpha 590 2/5/2018
6.0.0.1-alpha 612 1/10/2018
5.0.4 712 1/5/2018
5.0.3 698 10/23/2017
5.0.2 693 9/22/2017
5.0.1 733 9/16/2017
4.0.14 740 9/6/2017
4.0.13 741 9/6/2017
4.0.12 902 9/5/2017
4.0.11 699 6/18/2017
4.0.10 828 6/16/2017
4.0.9-alpha 503 5/26/2017
4.0.8-alpha 477 5/25/2017
4.0.7-alpha 547 5/24/2017
4.0.6-alpha 537 5/18/2017
4.0.5-alpha 496 5/11/2017
4.0.4-alpha 607 5/9/2017
4.0.3-alpha 529 5/8/2017
4.0.1.2-alpha 620 4/17/2017
4.0.1.1-alpha 600 4/6/2017
Show less