This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Refactor coreclr packaging #9263
Merged
Merged
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1359351
Only consider /etc/os-release for distro info
ellismg 9497910
Refactor coreclr packaging
chcosta b7bd7ff
Default runtimeos, remove unused variables from jit pkgproj
chcosta 91dafc4
Cleanup jit package, remove redundant includes
chcosta 12a37e3
Use __distrorid, distrorid is not set on osx
chcosta f20878d
add arm packageplatform for ubuntu 14.04 and 16.04
chcosta 9d8b1f4
Add missing dependency to ilasm / ildasm packages, parse distrorid
chcosta ef57f44
Break projectreference traversal when building a lineup package
chcosta 5bfce2c
Fix index logic bug
chcosta b93cbfe
Update usage info
chcosta 8ce3fab
default derivedpackagetargetosgroup to __buildos
chcosta 458a972
tweak derivedpackagetargetosgroup definition
chcosta 6458745
Respond to PR feedback
chcosta cdb4728
Merge branch 'master' of https://github.com/dotnet/coreclr into refac…
chcosta 7f2137c
Always specify a default for derivedpackagetargetosgroup
chcosta 03a5ce1
Default distrorid on osx
chcosta 409ba7e
Fix typo
chcosta f361873
Add arch to distrorid
chcosta 8dcf966
Remove PackagePlatforms property
chcosta 6a54a44
Exclude binaries not built on armel
chcosta 5623099
change package_platform to platform
chcosta 3ec9032
Rename dir.targets -> dir.traversal.targets
chcosta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,4 @@ | |
</Target> | ||
|
||
<Target Name="Rebuild" DependsOnTargets="Clean;Build" /> | ||
|
||
</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
80 changes: 12 additions & 68 deletions
80
src/.nuget/Microsoft.NETCore.ILAsm/Microsoft.NETCore.ILAsm.pkgproj
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 |
---|---|---|
@@ -1,75 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> | ||
<PropertyGroup> | ||
<SkipPackageFileCheck>true</SkipPackageFileCheck> | ||
<SkipValidatePackage>true</SkipValidatePackage> | ||
<PackagePlatforms>x64;x86;arm64;arm;armel;</PackagePlatforms> | ||
<OutputPath>$(PackagesOutputPath)</OutputPath> | ||
<IncludeRuntimeJson>true</IncludeRuntimeJson> | ||
|
||
<PropertyGroup Condition="'$(PackageTargetRuntime)' == ''"> | ||
<IsLineupPackage Condition="'$(IsLineupPackage)' == ''">true</IsLineupPackage> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Microsoft.NETCore.Runtime.CoreCLR\Microsoft.NETCore.Runtime.CoreCLR.pkgproj" /> | ||
<ProjectReference Include="win\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="win\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>arm64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="win\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>x86</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="win\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>arm</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="linux\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="debian\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="debian\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>armel</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="fedora\23\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="fedora\24\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="opensuse\13.2\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="opensuse\42.1\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="rhel\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="ubuntu\14.04\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="ubuntu\14.04\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>arm</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="ubuntu\16.04\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="ubuntu\16.04\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>arm</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="ubuntu\16.10\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="alpine\3.4.3\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="tizen\4.0.0\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>armel</Platform> | ||
</ProjectReference> | ||
<ProjectReference Include="osx\Microsoft.NETCore.ILAsm.pkgproj"> | ||
<Platform>amd64</Platform> | ||
|
||
<ItemGroup Condition="'$(IsLineupPackage)' == 'true'"> | ||
<ProjectReference Include="..\Microsoft.NETCore.Runtime.CoreCLR\Microsoft.NETCore.Runtime.CoreCLR.pkgproj" > | ||
<!-- we should look at moving this into packaging.targets instead of having to carry this around for every pkgproj project reference --> | ||
<AdditionalProperties>%(ProjectReference.AdditionalProperties);IsLineupPackage=false</AdditionalProperties> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> | ||
|
||
<Import Condition="'$(_packageTargetOSGroup)' != ''" Project="$(MSBuildThisFileDirectory)runtime.$(_packageTargetOSGroup).$(MSBuildProjectName).props" /> | ||
|
||
<Import Project="$(MSBuildThisFileDirectory)..\..\..\dir.targets" /> | ||
</Project> |
29 changes: 0 additions & 29 deletions
29
src/.nuget/Microsoft.NETCore.ILAsm/alpine/3.4.3/Microsoft.NETCore.ILAsm.pkgproj
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
src/.nuget/Microsoft.NETCore.ILAsm/debian/Microsoft.NETCore.ILAsm.pkgproj
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
src/.nuget/Microsoft.NETCore.ILAsm/fedora/23/Microsoft.NETCore.ILAsm.pkgproj
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not GetDirectoryNameOfFileAbove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't want
..\..\dir.targets
, we want..\..\..\dir.targets
. This was part of the reason I had named..\..\dir.targets
as..\..\packaging.targets
.