Skip to content

Commit

Permalink
Updating to LLVM v12.0.0 (#165)
Browse files Browse the repository at this point in the history
* Updating Clang/LLVM to 12.0.0

* Splitting the main project into LLVMSharp and LLVMSharp.Interop

* master -> main
  • Loading branch information
tannergooding committed May 28, 2021
1 parent a40e0ce commit fbdb2db
Show file tree
Hide file tree
Showing 261 changed files with 1,033 additions and 536 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Expand Up @@ -42,8 +42,8 @@
<ContinuousIntegrationBuild Condition="'$(BUILD_BUILDNUMBER)' != ''">true</ContinuousIntegrationBuild>
<PackageOutputPath>$(BaseArtifactsPath)pkg/$(Configuration)/</PackageOutputPath>
<Product>LLVMSharp</Product>
<VersionPrefix>11.0.0</VersionPrefix>
<VersionSuffix>beta2</VersionSuffix>
<VersionPrefix>12.0.0</VersionPrefix>
<VersionSuffix>beta1</VersionSuffix>
<VersionSuffix Condition="'$(BUILD_REASON)' == 'PullRequest'">pr</VersionSuffix>
</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.targets
Expand Up @@ -28,11 +28,11 @@

<!-- Package versions for package references across all projects -->
<ItemGroup>
<PackageReference Update="libLLVM" Version="11.0.0" />
<PackageReference Update="libLLVM" Version="12.0.0" />
<PackageReference Update="Microsoft.Bcl.HashCode" Version="1.1.1" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.10.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.0.0" />
<PackageReference Update="NUnit" Version="3.13.1" />
<PackageReference Update="NUnit" Version="3.13.2" />
<PackageReference Update="NUnit3TestAdapter" Version="3.17.0" />
<PackageReference Update="System.Memory" Version="4.5.4" />
</ItemGroup>
Expand Down
33 changes: 20 additions & 13 deletions LLVMSharp.sln
Expand Up @@ -86,16 +86,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.osx-x64", "
packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec = packages\libLLVM\libLLVM.runtime.osx-x64\libLLVM.runtime.osx-x64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.sles-x64", "libLLVM.runtime.sles-x64", "{8C0E6B8A-9FFD-43A1-9324-CA4B8DE997C8}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.sles-x64\libLLVM.runtime.sles-x64.nuspec = packages\libLLVM\libLLVM.runtime.sles-x64\libLLVM.runtime.sles-x64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.16.04-x64", "libLLVM.runtime.ubuntu.16.04-x64", "{9F3C3619-32D3-489E-BE7A-92FEE299DE34}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.ubuntu.16.04-x64\libLLVM.runtime.ubuntu.16.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.16.04-x64\libLLVM.runtime.ubuntu.16.04-x64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.18.04-x64", "libLLVM.runtime.ubuntu.18.04-x64", "{481409E0-F009-4583-B587-7D6915E9B16E}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.ubuntu.18.04-x64\libLLVM.runtime.ubuntu.18.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.18.04-x64\libLLVM.runtime.ubuntu.18.04-x64.nuspec
Expand All @@ -116,6 +106,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-x86", "
packages\libLLVM\libLLVM.runtime.win-x86\libLLVM.runtime.win-x86.nuspec = packages\libLLVM\libLLVM.runtime.win-x86\libLLVM.runtime.win-x86.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.ubuntu.21.04-x64", "libLLVM.runtime.ubuntu.21.04-x64", "{1808D302-0067-4121-964C-2CBAFB8A957A}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.ubuntu.21.04-x64\libLLVM.runtime.ubuntu.21.04-x64.nuspec = packages\libLLVM\libLLVM.runtime.ubuntu.21.04-x64\libLLVM.runtime.ubuntu.21.04-x64.nuspec
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libLLVM.runtime.win-arm64", "libLLVM.runtime.win-arm64", "{19DB05E9-59B6-45E9-B47D-62913F7DF9A8}"
ProjectSection(SolutionItems) = preProject
packages\libLLVM\libLLVM.runtime.win-arm64\libLLVM.runtime.win-arm64.nuspec = packages\libLLVM\libLLVM.runtime.win-arm64\libLLVM.runtime.win-arm64.nuspec
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LLVMSharp.Interop", "sources\LLVMSharp.Interop\LLVMSharp.Interop.csproj", "{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -130,6 +132,10 @@ Global
{293C5F55-2CB1-4398-946B-8AD8E37D7FEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{293C5F55-2CB1-4398-946B-8AD8E37D7FEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{293C5F55-2CB1-4398-946B-8AD8E37D7FEE}.Release|Any CPU.Build.0 = Release|Any CPU
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -144,12 +150,13 @@ Global
{A7F2EA37-BFBA-4659-969D-E9A4A696E10A} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{16539CB8-8AC7-4AD0-9D54-8EE615B2FCF3} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{D4550E5E-9485-4480-B2B6-9503EEC935BF} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{8C0E6B8A-9FFD-43A1-9324-CA4B8DE997C8} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{DC151BEE-774F-4032-8D2F-F3360F7F4D82} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{9F3C3619-32D3-489E-BE7A-92FEE299DE34} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{481409E0-F009-4583-B587-7D6915E9B16E} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{DC151BEE-774F-4032-8D2F-F3360F7F4D82} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{E785DDD0-B9CD-4412-8A3C-4E65C601168C} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{540AB7F4-29FD-462A-8791-259764FD4950} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{1808D302-0067-4121-964C-2CBAFB8A957A} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{19DB05E9-59B6-45E9-B47D-62913F7DF9A8} = {9D46FF1C-E09F-4063-A97D-C09F26310B67}
{CEA0F0C9-DF25-446B-8F55-FB629BD1D3E6} = {62B5C536-C224-4EE1-972F-05F732B5980B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {75550D8C-A492-4ED3-8387-206830F8B21E}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -4,10 +4,10 @@ LLVMSharp is a multi-platform .NET Standard library for accessing the LLVM infra

| Job | Debug Status | Release Status |
| --- | ------------ | -------------- |
| Windows x86 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=windows_debug_x86)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=windows_release_x86)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) |
| Windows x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=windows_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=windows_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) |
| Ubuntu 16.04 x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=ubuntu_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=ubuntu_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) |
| MacOS x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=macos_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=master&jobName=macos_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=master) |
| Windows x86 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=windows_debug_x86)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=windows_release_x86)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) |
| Windows x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=windows_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=windows_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) |
| Ubuntu 16.04 x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=ubuntu_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=ubuntu_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) |
| MacOS x64 | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=macos_debug_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) | [![Build Status](https://dev.azure.com/ms/LLVMSharp/_apis/build/status/microsoft.LLVMSharp?branchName=main&jobName=macos_release_x64)](https://dev.azure.com/ms/LLVMSharp/_build/latest?definitionId=156&branchName=main) |

[![Join the chat at https://gitter.im/mjsabby/LLVMSharp](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mjsabby/LLVMSharp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.freebsd.11-x64</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>freebsd 11 x64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.freebsd.11-x86</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>freebsd 11 x86 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.linux-arm</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>linux arm native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.linux-arm64</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>linux arm64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.osx-x64</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>osx x64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.ubuntu.18.04-x64</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>ubuntu 18.04 x64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.ubuntu.20.04-x64</id>
<version>11.0.0</version>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>ubuntu 20.04 x64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
Expand Down
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata minClientVersion="2.12">
<id>libLLVM.runtime.ubuntu.16.04-x64</id>
<version>11.0.0</version>
<id>libLLVM.runtime.ubuntu.21.04-x64</id>
<version>12.0.0</version>
<authors>Microsoft and Contributors</authors>
<owners>Microsoft and Contributors</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">Apache-2.0</license>
<license type="expression">Apache-2.0 WITH LLVM-exception</license>
<projectUrl>https://github.com/microsoft/llvmsharp</projectUrl>
<description>ubuntu 16.04 x64 native library for libLLVM.</description>
<copyright>Copyright © University of Illinois at Urbana-Champaign</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-11.0.0" />
<description>ubuntu 21.04 x64 native library for libLLVM.</description>
<copyright>Copyright © LLVM Project</copyright>
<repository type="git" url="https://github.com/llvm/llvm-project" branch="llvmorg-12.0.0" />
</metadata>
<files>
<file src="..\libLLVM\LICENSE.TXT" target="LICENSE.TXT" />
<file src="libLLVM.so" target="runtimes\ubuntu.16.04-x64\native\libLLVM.so" />
<file src="libLLVM.so" target="runtimes\ubuntu.21.04-x64\native\libLLVM.so" />
</files>
</package>

0 comments on commit fbdb2db

Please sign in to comment.