Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jekoritz@microsoft.com>2019-12-13 21:30:58 +0300
committerGitHub <noreply@github.com>2019-12-13 21:30:58 +0300
commit2458930a6b03edc18618d0a614493cd589d44d23 (patch)
treee4cfa371a032741af3b5526f07c269ddb23bc530 /Directory.Build.targets
parent48a78bfa13e9c710851690621fc2c0fe1637802c (diff)
Local live-live builds (#494)
* Convert libraries and installer to use a live CoreCLR. * Installer uses a live libraries build for DLLs. * Remove newline in path. * Enable live-live builds to build required live dependencies when the dependencies are in the building subset/subset category. * Update path to coreclr output. * Fix typo in coreclr.proj. * Remove last usage of CoreCLRPDBOverridePath. * Update path of binplaced runtime to include OS and Arch. * Fix typo in coreclr/tests/src/Common/Directory.Build.targets. * Restore CoreFX shared framework from live build for CoreCLR test dependencies. * Remove dependency on Microsoft.NETCore.CoreCLR.TestDependencies package. * Enable referencing live builds of the OOB libraries by temporarily adding a new BinplaceConfiguration. Update test_dependencies in the CoreCLR tree to use that to restore OOB libraries. * Remove reference to System.Drawing.Common from NETClientPrimitives (the reference is only needed at runtime and Core_Root already has System.Drawing.Common). * Remove package-based checked CoreCLR + CoreFX test runs. In the live-live world, we'll run this test configuration by pointing the CoreFX test host build step at the artifacts from a checked CoreCLR build (possible in both local and CI builds). * Only copy the UCRT on Windows. * CoreCLR test build now builds against a live libraries sfx+oob ref assembly set. * Override GetCorePackagePaths target to not reference unused packages (breaks the live-live build on a clean system). * Remove live references to Microsoft.NETCore.Platforms now that it seems to be unneeded since the SDK now packages a RID graph. Use the live RID graph in test_runtime.csproj where we may actually be looking for the live RID graph. * Fix coreclr build arg generation bug that was causing build failures. * Remove references to Microsoft.NETCore.Platforms outside of package references from the installers. * Fix problems in installer build in live-live that were found from a clean build. * Remove unused dependency on Microsoft.NETCore.Targets. * Fix Microsoft.NETCore.App -> Microsoft.NETCore.Platforms dependency. * Remove Microsoft.NETCore.Targets version from Versions.props. * Remove unused deps.csproj file that was the last dependency on the packaged Microsoft.NETCore.Platforms package. * Fix OSGroup calculation for dependent projects off-Windows. * Fix construction of Microsoft.NETCore.App.Internal package. * Remove unneeded CoreRun copying. * Serialize subsets that have dependencies across subset groups. Don't use `<MSBuild />` tasks to rebuild subsets since we don't want to rebuild projects multiple times (coreclr was being built multiple times). * Cleanup from PR feedback. * Only copy libraries outputs to artifacts/bin/runtime. * Use the netcoreapp output directories for OOB-included references to libraries outputs. * Remove references to deleted old corefx override setup. * First pass to get new runtime pipeline using the local live-live infra (coreclr+libraries only for now). * Don't generate layout during test native build. * Fix ref assembly default binplacing for netcoreapp. * Remove msbuild goo around importing Subsets.props and Directory.Build.props only once each. This goo isn't needed anymore. * Fix disabling of binplacing for the target vertical to exclude only runtime.depproj and not exclude winrt.depproj. * Fix libraries test build. * Copy all paths used by the "ResolveLibrariesFromLocalBuild" target to publish from libraries build. * For shims, reference the System.Private.CoreLib directly from CoreCLR outputs instead of through runtime.depproj. * Hard-code the libraries configuration to release in coreclr test builds. * Resolve ReferenceFromRuntime items directly from the CoreCLR output instead of via the runtime.depproj project. * Fix test host generation. Fix running the XML Serialization generator as part of libraries test build. * Fix XmlSerializer.Generator.Tests again. * Don't look for CoreCLR files when using ReferenceFromRuntime and not using netcoreapp. * Crossgen-comparison should depend on a libraries build so we can populate Core_Root. * Add job dependency on libraries build from run-test-job to ensure we wait correctly. Otherwise we might have a race since the managed test build might depend on one libraries build while the test run depends on another. * Only resolve coreclr files from local build when targetting netcoreapp. * Add steps to download libraries build for crossgen-comparison. * Revive old method of resolving references to the runtime for building against old netcoreapp (ie netcoreapp 3.0). Fix correctly passing along aliases info. * Fix failing AllConfigurations leg that was due to the netcoreapp runtime.depproj getting binplaced in the runtime output folder. * Update eng/liveBuilds.targets Co-Authored-By: Davis Goodin <dagood@users.noreply.github.com> * HostArch->BuildArchitecture and share with installer. * Fix format nits. * Update YAML variable name. * Remove setting property to import liveBuilds.targets. * Upload docs and packages folders from libraries build * Inclue doc files in the Microsoft.NETCore.App.Internal package * Try making the runtime-installer pipeline live-live using the build-coreclr-and-libraries-job template. * Update artifacts download paths and msbuild properties for installer build. * Mark cross-component files as native. * Remove FrameworkPackageName to remove error about missing $(FrameworkPackageName).versions.txt file that other shared frameworks also don't generate. * Restore GetFilesFromPackageResolve override. * Don't clean the unpack folder for the libraries download. It wipes out the CoreCLR download. * Make sure that we restore the WinRT targetting pack during the installer build. * Add libraries package directory to RestoreSources for the case where the LibrariesConfiguration is different from the installer build configuration. * Don't pass OfficialBuildId unless it is an official build. We want to be consistent with the libraries build so our package versions match. * Give default value for OfficialBuildArg variable * Ensure installer tests can see the libraries-generated packages. Fix typo in TargetPath for CoreCLR assets (runtime instead of runtimes). Fix paths for CoreCLR cross-target files as well as crossgen to place them in the correct directories. * Add back FrameworkPackageName to get the partial platform manifest to generate.
Diffstat (limited to 'Directory.Build.targets')
-rw-r--r--Directory.Build.targets3
1 files changed, 2 insertions, 1 deletions
diff --git a/Directory.Build.targets b/Directory.Build.targets
index 7d40eb9ac30..a1589f9f5d5 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -8,6 +8,7 @@
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
</PropertyGroup>
+ <Import Project="$(RepositoryEngineeringDir)/liveBuilds.targets" />
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" Condition="'$(SkipImportArcadeSdkFromRoot)' != 'true'" />
<PropertyGroup>
@@ -18,4 +19,4 @@
<NETCoreAppMaximumVersion>$(MajorVersion).$(MinorVersion)</NETCoreAppMaximumVersion>
</PropertyGroup>
-</Project> \ No newline at end of file
+</Project>