StirlingLabs.LLVMSharp
14.0.6.44479
Prefix Reserved
Requires NuGet 4.3 or higher.
dotnet add package StirlingLabs.LLVMSharp --version 14.0.6.44479
NuGet\Install-Package StirlingLabs.LLVMSharp -Version 14.0.6.44479
<PackageReference Include="StirlingLabs.LLVMSharp" Version="14.0.6.44479" />
paket add StirlingLabs.LLVMSharp --version 14.0.6.44479
#r "nuget: StirlingLabs.LLVMSharp, 14.0.6.44479"
// Install StirlingLabs.LLVMSharp as a Cake Addin #addin nuget:?package=StirlingLabs.LLVMSharp&version=14.0.6.44479 // Install StirlingLabs.LLVMSharp as a Cake Tool #tool nuget:?package=StirlingLabs.LLVMSharp&version=14.0.6.44479
LLVMSharp is a multi-platform .NET Standard library for accessing the LLVM infrastructure. The bindings are auto-generated using ClangSharp parsing LLVM-C header files.
A nuget package for the project is provided here: https://www.nuget.org/packages/StirlingLabs.LLVMSharp.
A convenience package which provides the native libLLVM library for several platforms is provided here: https://www.nuget.org/packages/StirlingLabs.libLLVM
Nightly packages are available via the NuGet Feed URL: https://pkgs.clangsharp.dev/index.json
Source browsing is available via: https://source.clangsharp.dev/
Table of Contents
Code of Conduct
LLVMSharp and everyone contributing (this includes issues, pull requests, the wiki, etc) must abide by the .NET Foundation Code of Conduct: https://dotnetfoundation.org/about/code-of-conduct.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at conduct@dotnetfoundation.org.
License
Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See LICENSE.md in the repository root for more information.
Features
- Auto-generated using LLVM C headers files, and supports all functionality exposed by them (more than enough to build a full compiler)
- Type safe (LLVMValueRef and LLVMTypeRef are different types, despite being pointers internally)
- Nearly identical to LLVM C APIs, e.g. LLVMModuleCreateWithName in C, vs. LLVM.ModuleCreateWithName (notice the . in the C# API)
Building LLVMSharp
On Linux using .NET Core:
$ git clone http://github.com/dotnet/llvmsharp
$ cd LLVMSharp
$ dotnet build
On Windows using .NET Core
Note: - you need to run these commands from the Visual Studio Developer Command Prompt.
:> git clone http://github.com/dotnet/LLVMSharp
:> cd LLVMSharp
:> dotnet build
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- StirlingLabs.LLVMSharp.Interop (>= 14.0.6.44479)
-
.NETStandard 2.1
- StirlingLabs.LLVMSharp.Interop (>= 14.0.6.44479)
-
net5.0
- StirlingLabs.LLVMSharp.Interop (>= 14.0.6.44479)
-
net6.0
- StirlingLabs.LLVMSharp.Interop (>= 14.0.6.44479)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on StirlingLabs.LLVMSharp:
Package | Downloads |
---|---|
StirlingLabs.Utilities.Extensions
Common utilities used throughout the Stirling Labs C# codebase, including Native Library loading, debugging tools, Atomic operations, etc. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
14.0.6.44479 | 2,604 | 8/17/2022 |