diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-04-20 14:03:56 -0700 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-05-03 13:53:34 -0700 |
commit | bb25183c7a7c3cd4ad1e77b74938af2b13537c27 (patch) | |
tree | 7c1e9975a991910c165b7f0e2b3a41d67a9271b5 /src | |
parent | 92f671fe9f0fc583805d4f9c3116126444dabcf4 (diff) | |
download | coreclr-bb25183c7a7c3cd4ad1e77b74938af2b13537c27.tar.gz coreclr-bb25183c7a7c3cd4ad1e77b74938af2b13537c27.tar.bz2 coreclr-bb25183c7a7c3cd4ad1e77b74938af2b13537c27.zip |
Create JIT packages during the build.
Diffstat (limited to 'src')
10 files changed, 292 insertions, 0 deletions
diff --git a/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.builds b/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.builds new file mode 100644 index 0000000000..a0a56fd4b6 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.builds @@ -0,0 +1,41 @@ +<?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> + <!-- This property must be set to the same value as $(PackageOutputPath) for the nuspecs and nupkgs to be binplaced to the intended location. --> + <OutputPath>$(PackageOutputPath)</OutputPath> + </PropertyGroup> + + <!-- We always build the identity/redirection package. However, the platform specific runtime-*.nupkg is built based upon the target OS we are building the product for. --> + <ItemGroup> + <Project Include="Microsoft.NETCore.Jit.pkgproj"> + </Project> + <Project Condition="'$(TargetsWindows)' == 'true'" Include="win/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>Windows_NT</OSGroup> + <Platform>amd64</Platform> + </Project> + <Project Condition="'$(TargetsWindows)' == 'true'" Include="win/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>Windows_NT</OSGroup> + <Platform>x86</Platform> + </Project> + <Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroName)' == 'rhel'" Include="rhel/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>Linux</OSGroup> + <Platform>amd64</Platform> + </Project> + <Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroName)' == 'debian'" Include="debian/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>Linux</OSGroup> + <Platform>amd64</Platform> + </Project> + <Project Condition="'$(TargetsLinux)' == 'true' and '$(DistroName)' == 'ubuntu'" Include="ubuntu/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>Linux</OSGroup> + <Platform>amd64</Platform> + </Project> + <Project Condition="'$(TargetsOSX)' == 'true'" Include="osx/Microsoft.NETCore.Jit.pkgproj"> + <OSGroup>OSX</OSGroup> + <Platform>amd64</Platform> + </Project> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..3ff2bd7ea0 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,39 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <SkipValidatePackage>true</SkipValidatePackage> + <PackagePlatforms>x64;x86;arm</PackagePlatforms> + <OutputPath>$(PackagesOutputPath)</OutputPath> + <IncludeRuntimeJson>true</IncludeRuntimeJson> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="win\Microsoft.NETCore.Jit.pkgproj"> + <Platform>amd64</Platform> + </ProjectReference> + <ProjectReference Include="win\Microsoft.NETCore.Jit.pkgproj"> + <Platform>x86</Platform> + </ProjectReference> + <ProjectReference Include="win\Microsoft.NETCore.Jit.pkgproj"> + <Platform>arm</Platform> + </ProjectReference> + <ProjectReference Include="rhel\Microsoft.NETCore.Jit.pkgproj"> + <Platform>amd64</Platform> + </ProjectReference> + <ProjectReference Include="debian\Microsoft.NETCore.Jit.pkgproj"> + <Platform>amd64</Platform> + </ProjectReference> + <ProjectReference Include="osx\Microsoft.NETCore.Jit.pkgproj"> + <Platform>amd64</Platform> + </ProjectReference> + <ProjectReference Include="ubuntu\Microsoft.NETCore.Jit.pkgproj"> + <Platform>amd64</Platform> + </ProjectReference> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/_.pdb b/src/.nuget/Microsoft.NETCore.Jit/_.pdb new file mode 100644 index 0000000000..139597f9cb --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/_.pdb @@ -0,0 +1,2 @@ + + diff --git a/src/.nuget/Microsoft.NETCore.Jit/debian/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/debian/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..8e38632fba --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/debian/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,38 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <PackageTargetRuntime>debian.8-$(PackagePlatform)</PackageTargetRuntime> + <!-- only build for x64 --> + <PackagePlatforms>x64;</PackagePlatforms> + </PropertyGroup> + + <ItemGroup> + <NativeSplittableBinary Include="$(BinDir)libclrjit.so"/> + + <ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)"/> + + <File Include="@(ArchitectureSpecificNativeFile)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + </File> + </ItemGroup> + + <ItemGroup Condition="'$(__BuildType)' == 'Release'"> + <ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')"/> + + <AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll"/> + <ArchitectureSpecificNativeSymbol Include="..\_.pdb"/> + + <File Include="@(ArchitectureSpecificNativeSymbol)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + <IsSymbolFile>true</IsSymbolFile> + </File> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/descriptions.json b/src/.nuget/Microsoft.NETCore.Jit/descriptions.json new file mode 100644 index 0000000000..411e67b4d7 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/descriptions.json @@ -0,0 +1,12 @@ +[ + { + "Name": "RuntimePackage", + "Description": "Internal implementation package not meant for direct consumption. Please do not reference directly.", + "CommonTypes": [ ] + }, + { + "Name": "Microsoft.NETCore.Jit", + "Description": "The .NET JIT compiler.", + "CommonTypes": [ ] + } +] diff --git a/src/.nuget/Microsoft.NETCore.Jit/dir.props b/src/.nuget/Microsoft.NETCore.Jit/dir.props new file mode 100644 index 0000000000..6346d267da --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/dir.props @@ -0,0 +1,12 @@ +<?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" /> + + <!-- Packaging properties --> + <PropertyGroup> + <PreReleaseLabel>rc3</PreReleaseLabel> + <PackageDescriptionFile>$(MSBuildThisFileDirectory)descriptions.json</PackageDescriptionFile> + + <!-- NOTE: for various required properties, we use the values from the imported dir.props. --> + </PropertyGroup> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/osx/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/osx/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..c395aafba7 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/osx/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,38 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <PackageTargetRuntime>osx.10.10-$(PackagePlatform)</PackageTargetRuntime> + <!-- only build for x64 --> + <PackagePlatforms>x64;</PackagePlatforms> + </PropertyGroup> + + <ItemGroup> + <NativeSplittableBinary Include="$(BinDir)libclrjit.dylib"/> + + <ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)"/> + + <File Include="@(ArchitectureSpecificNativeFile)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + </File> + </ItemGroup> + + <ItemGroup Condition="'$(__BuildType)' == 'Release'"> + <ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dwarf')"/> + + <AdditionalLibPackageExcludes Include="%2A%2A\%2A.dwarf"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dylib"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll"/> + <ArchitectureSpecificNativeSymbol Include="..\_.pdb"/> + + <File Include="@(ArchitectureSpecificNativeSymbol)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + <IsSymbolFile>true</IsSymbolFile> + </File> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/rhel/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/rhel/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..e67ae361fe --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/rhel/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,38 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <PackageTargetRuntime>rhel.7-$(PackagePlatform)</PackageTargetRuntime> + <!-- only build for x64 --> + <PackagePlatforms>x64;</PackagePlatforms> + </PropertyGroup> + + <ItemGroup> + <NativeSplittableBinary Include="$(BinDir)libclrjit.so"/> + + <ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)"/> + + <File Include="@(ArchitectureSpecificNativeFile)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + </File> + </ItemGroup> + + <ItemGroup Condition="'$(__BuildType)' == 'Release'"> + <ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')"/> + + <AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll"/> + <ArchitectureSpecificNativeSymbol Include="..\_.pdb"/> + + <File Include="@(ArchitectureSpecificNativeSymbol)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + <IsSymbolFile>true</IsSymbolFile> + </File> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/ubuntu/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/ubuntu/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..9f58736c0f --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/ubuntu/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,38 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <PackageTargetRuntime>ubuntu.14.04-$(PackagePlatform)</PackageTargetRuntime> + <!-- only build for x64 --> + <PackagePlatforms>x64;</PackagePlatforms> + </PropertyGroup> + + <ItemGroup> + <NativeSplittableBinary Include="$(BinDir)libclrjit.so"/> + + <ArchitectureSpecificNativeFile Include="@(NativeSplittableBinary)"/> + + <File Include="@(ArchitectureSpecificNativeFile)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + </File> + </ItemGroup> + + <ItemGroup Condition="'$(__BuildType)' == 'Release'"> + <ArchitectureSpecificNativeSymbol Include="@(NativeSplittableBinary -> '%(Identity).dbg')"/> + + <AdditionalLibPackageExcludes Include="%2A%2A\%2A.dbg"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.so"/> + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll"/> + <ArchitectureSpecificNativeSymbol Include="..\_.pdb"/> + + <File Include="@(ArchitectureSpecificNativeSymbol)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + <IsSymbolFile>true</IsSymbolFile> + </File> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> diff --git a/src/.nuget/Microsoft.NETCore.Jit/win/Microsoft.NETCore.Jit.pkgproj b/src/.nuget/Microsoft.NETCore.Jit/win/Microsoft.NETCore.Jit.pkgproj new file mode 100644 index 0000000000..449df76391 --- /dev/null +++ b/src/.nuget/Microsoft.NETCore.Jit/win/Microsoft.NETCore.Jit.pkgproj @@ -0,0 +1,34 @@ +<?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> + <Version>1.0.2</Version> + <SkipPackageFileCheck>true</SkipPackageFileCheck> + <MinOSForArch>win7</MinOSForArch> + <MinOSForArch Condition="$(PackagePlatform.StartsWith('arm'))">win8</MinOSForArch> + <PackageTargetRuntime>$(MinOSForArch)-$(PackagePlatform)</PackageTargetRuntime> + </PropertyGroup> + + <ItemGroup> + <ArchitectureSpecificNativeFile Include="$(BinDir)clrjit.dll"/> + + <File Include="@(ArchitectureSpecificNativeFile)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + </File> + </ItemGroup> + + <ItemGroup> + <ArchitectureSpecificNativeSymbol Include="@(ArchitectureSpecificNativeFile -> '%(RelativeDir)PDB\%(FileName).pdb')"/> + + <AdditionalSymbolPackageExcludes Include="%2A%2A\%2A.dll"/> + <ArchitectureSpecificNativeSymbol Include="..\_.pdb"/> + + <File Include="@(ArchitectureSpecificNativeSymbol)"> + <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath> + <IsSymbolFile>true</IsSymbolFile> + </File> + </ItemGroup> + + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> +</Project> |