summaryrefslogtreecommitdiff
path: root/src/.nuget
diff options
context:
space:
mode:
authorDaniel Podder <dapodd@microsoft.com>2017-06-01 18:41:50 -0500
committerGitHub <noreply@github.com>2017-06-01 18:41:50 -0500
commit8f5d775cb4de2b3e765251106991940c09c0859e (patch)
tree333d3845d0529faf20bcecf5511d2b90185e5894 /src/.nuget
parent91329ceefd9efbde1f8486b0a098090e9a10adcb (diff)
downloadcoreclr-8f5d775cb4de2b3e765251106991940c09c0859e.tar.gz
coreclr-8f5d775cb4de2b3e765251106991940c09c0859e.tar.bz2
coreclr-8f5d775cb4de2b3e765251106991940c09c0859e.zip
Fix optdata restore functionality (#11935)
Fix optdata restore functionality (#11935) Bring back optdata restore functionality following the move to 2.0 BuildTools and csproj-based CLI. Disable a harmless warning that broke the Linux build when consuming PGO counts due to -Werr. Fix #11796 for master
Diffstat (limited to 'src/.nuget')
-rw-r--r--src/.nuget/optdata/nuget.config6
-rw-r--r--src/.nuget/optdata/optdata.csproj24
2 files changed, 30 insertions, 0 deletions
diff --git a/src/.nuget/optdata/nuget.config b/src/.nuget/optdata/nuget.config
new file mode 100644
index 0000000000..e747f7ecb9
--- /dev/null
+++ b/src/.nuget/optdata/nuget.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <packageSources>
+ <add key="myget.org dotnet-core-optimization-data" value="https://dotnet.myget.org/F/dotnet-core-optimization-data/api/v3/index.json" />
+ </packageSources>
+</configuration>
diff --git a/src/.nuget/optdata/optdata.csproj b/src/.nuget/optdata/optdata.csproj
new file mode 100644
index 0000000000..20e2a40ada
--- /dev/null
+++ b/src/.nuget/optdata/optdata.csproj
@@ -0,0 +1,24 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
+
+ <PropertyGroup>
+ <TargetFramework>netstandard</TargetFramework>
+ <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
+ <RuntimeIdentifiers>win7-x64;win7-x86;linux-x64</RuntimeIdentifiers>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="optimization.PGO.CoreCLR" Version="$(PgoDataPackageVersion)" Condition="'$(PgoDataPackageVersion)'!=''" />
+ <PackageReference Include="optimization.IBC.CoreCLR" Version="$(IbcDataPackageVersion)" Condition="'$(IbcDataPackageVersion)'!=''" />
+ </ItemGroup>
+
+ <Target Name="DumpPgoDataPackageVersion">
+ <Message Importance="high" Text="$(PgoDataPackageVersion)" />
+ </Target>
+
+ <Target Name="DumpIbcDataPackageVersion">
+ <Message Importance="high" Text="$(IbcDataPackageVersion)" />
+ </Target>
+
+</Project>