Use global packages cache for local builds by default in CoreC… (dotnet/coreclr#27373)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Fri, 25 Oct 2019 21:10:10 +0000 (14:10 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2019 21:10:10 +0000 (14:10 -0700)
commit4988ba25cf94e2ccddfae3ad513615b50e72005d
treec163a5bf444e82af09cdc01d96731f7a5c148489
parent9c11ac4714a5456c0e80c54864f021527236ec82
Use global packages cache for local builds by default in CoreC… (dotnet/coreclr#27373)

* Get the product build to use the global package cache only.

* Move external.csproj out to the tests folder. Fix restore location so external.csproj correctly resolves its nuget-generated props/targets files.

* Fix typo.

* Fix expected failure case on platforms that don't support PGO/IBC.

* Don't error out if optimization data is not supported for the current platform.

* Fix casing that was causing the Linux x64 build to fail to find the pgo/ibc packages.

* Fix condition.

* Pass OS-Arch-Config to external test package restore.

* The platform-specific version of Microsoft.NETCore.CoreDisTools is an older version for non-Windows, so hardcode that version in stress_dependencies.csproj

Commit migrated from https://github.com/dotnet/coreclr/commit/f0887c4aea35f503dd212f0dab997f79d9f96f85
24 files changed:
src/coreclr/build-test.cmd
src/coreclr/build-test.sh
src/coreclr/build.cmd
src/coreclr/build.sh
src/coreclr/dir.common.props
src/coreclr/pgosupport.cmake
src/coreclr/src/.nuget/optdata/ibcmerge.csproj
src/coreclr/src/.nuget/optdata/optdata.csproj
src/coreclr/src/.nuget/packaging.props
src/coreclr/src/System.Private.CoreLib/CreateRuntimeRootILLinkDescriptorFile.targets
src/coreclr/src/System.Private.CoreLib/ILLink.targets
src/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/coreclr/tests/Directory.Build.props
src/coreclr/tests/build.proj
src/coreclr/tests/external/external.csproj [moved from src/coreclr/tests/src/Common/external/external.csproj with 85% similarity]
src/coreclr/tests/publishdependency.targets
src/coreclr/tests/scripts/optdata/bootstrap.py [deleted file]
src/coreclr/tests/scripts/optdata/optdata.csproj [deleted file]
src/coreclr/tests/setup-stress-dependencies.cmd
src/coreclr/tests/setup-stress-dependencies.sh
src/coreclr/tests/src/Common/stress_dependencies/stress_dependencies.csproj [deleted file]
src/coreclr/tests/src/dirs.proj
src/coreclr/tests/src/helixpublishwitharcade.proj
src/coreclr/tests/stress_dependencies/stress_dependencies.csproj [new file with mode: 0644]