-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add llvm-project to source-build. * Add repo references to llvm-project. * Add source-build metadata. * Upgrade CI to CentOS Stream 8. * Fix the image name in the right place. * Patch llvm to use an MS.Build.Traversal that we have. * Add backport PR to patch. * Revert "Upgrade CI to CentOS Stream 8." This reverts commit 6bc2754. * Update to avoid new MSBuild warning that causes build failure. * We use code out of the LLVM directory. Copy the license file from there to the root to satisfy the license checker. * Add SourceBuild.props to llvm. * Update patches with backport PR pointers.
- Loading branch information
Showing
10 changed files
with
406 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project> | ||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> | ||
|
||
<PropertyGroup> | ||
<BuildCommand>$(ProjectDirectory)build$(ShellExtension) $(StandardSourceBuildArgs)</BuildCommand> | ||
|
||
<GlobalJsonFile>$(ProjectDirectory)global.json</GlobalJsonFile> | ||
<NuGetConfigFile>$(ProjectDirectory)NuGet.config</NuGetConfigFile> | ||
<OutputPlacementRepoApiImplemented>false</OutputPlacementRepoApiImplemented> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<RepositoryReference Include="arcade" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<UseSourceBuiltSdkOverride Include="@(ArcadeSdkOverride)" /> | ||
</ItemGroup> | ||
|
||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...ball/patches/llvm-project/0001-Upgrade-to-an-MS.Build.Traversal-version-we-have-a-r.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Chris Rummel <[email protected]> | ||
Date: Wed, 10 Aug 2022 13:44:31 -0500 | ||
Subject: [PATCH] Upgrade to an MS.Build.Traversal version we have a ref | ||
package for. | ||
|
||
Backport PR is https://github.com/dotnet/llvm-project/pull/241. | ||
|
||
--- | ||
global.json | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/global.json b/global.json | ||
index df77e9a199d6..19b99be1f71b 100644 | ||
--- a/global.json | ||
+++ b/global.json | ||
@@ -5,6 +5,6 @@ | ||
"msbuild-sdks": { | ||
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22367.1", | ||
"Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22367.1", | ||
- "Microsoft.Build.Traversal": "2.0.2" | ||
+ "Microsoft.Build.Traversal": "2.0.34" | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/SourceBuild/tarball/patches/llvm-project/0002-Update-for-new-MSBuild-warning.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Chris Rummel <[email protected]> | ||
Date: Wed, 10 Aug 2022 21:30:49 -0500 | ||
Subject: [PATCH] Update for new MSBuild warning. | ||
|
||
Backport PR: https://github.com/dotnet/llvm-project/pull/241. | ||
|
||
--- | ||
nuget/packages.builds | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/nuget/packages.builds b/nuget/packages.builds | ||
index a4d2bc03d454..85d860081e53 100644 | ||
--- a/nuget/packages.builds | ||
+++ b/nuget/packages.builds | ||
@@ -31,7 +31,7 @@ | ||
<ItemGroup> | ||
<!-- Pass the FileVersion calculated by _InitializeAssemblyVersion to referenced projects --> | ||
<ProjectReference Update="@(ProjectReference)" | ||
- AdditionalProperties="%(AdditionalProperties);FileVersion=$(FileVersion)" /> | ||
+ AdditionalProperties="%(ProjectReference.AdditionalProperties);FileVersion=$(FileVersion)" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |
Oops, something went wrong.