From: Andy Gocke Date: Tue, 2 Aug 2022 21:32:02 +0000 (-0700) Subject: Bring back live host change (#73095) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~7363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a3626e16efb4fb1ae75d806bf66f0769bd842c1;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Bring back live host change (#73095) This reverts commit 63692cd725a2bf36e896c78f9709c5474af0b6c1. Re-try the change to remove the usage of pre-built hosts and instead always use the live host. This PR doesn't contain the change to move the host into liveBuild placement as that would place the host in the shared framework packages instead of just in the runtime pack. This change also leaves the DotNetHost packages building, but not being consumed, because the packages may be used for symbol acquisition. The packages can probably be removed if the symbol problems are resolved. --- diff --git a/eng/Subsets.props b/eng/Subsets.props index fc75119..39ecf82 100644 --- a/eng/Subsets.props +++ b/eng/Subsets.props @@ -51,7 +51,7 @@ - clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools + clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools+host clr.iltools+clr.packages @@ -61,7 +61,8 @@ mono.llvm+ $(DefaultMonoSubsets)mono.wasmruntime+ $(DefaultMonoSubsets)mono.aotcross+ - $(DefaultMonoSubsets)mono.runtime+mono.corelib+mono.packages + $(DefaultMonoSubsets)mono.runtime+mono.corelib+mono.packages+ + $(DefaultMonoSubsets)host+ - https://github.com/dotnet/runtime - 214ca6db481923aa49bac2d2b75b9aca4041b304 - - - https://github.com/dotnet/runtime - 214ca6db481923aa49bac2d2b75b9aca4041b304 - https://github.com/dotnet/runtime 214ca6db481923aa49bac2d2b75b9aca4041b304 diff --git a/eng/Versions.props b/eng/Versions.props index 9d4b272..2a45d87 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -74,8 +74,6 @@ 6.0.0-preview.1.102 7.0.0-rc.1.22374.4 - 7.0.0-rc.1.22374.4 - 7.0.0-rc.1.22374.4 6.0.0 7.0.0-rc.1.22374.4 diff --git a/eng/pipelines/libraries/run-test-job.yml b/eng/pipelines/libraries/run-test-job.yml index c6fbe83..0d18eda 100644 --- a/eng/pipelines/libraries/run-test-job.yml +++ b/eng/pipelines/libraries/run-test-job.yml @@ -32,13 +32,14 @@ jobs: osGroup: ${{ parameters.osGroup }} osSubgroup: ${{ parameters.osSubgroup }} archType: ${{ parameters.archType }} + crossBuild: ${{ parameters.crossBuild }} framework: ${{ parameters.framework }} isOfficialBuild: ${{ parameters.isOfficialBuild }} liveRuntimeBuildConfig: ${{ parameters.liveRuntimeBuildConfig }} runtimeFlavor: ${{ parameters.runtimeFlavor }} runtimeVariant: ${{ parameters.runtimeVariant }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} - container: '' # we just send to helix, no need to use a container. + container: ${{ parameters.container }} condition: ${{ parameters.condition }} testScope: ${{ parameters.testScope }} runTests: true @@ -89,7 +90,7 @@ jobs: - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}: - script: $(_buildScript) - -subset libs.pretest + -subset host+libs.pretest $(_buildArguments) /p:RuntimeFlavor=${{ parameters.runtimeFlavor }} /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/overrideRuntimeFromLiveDrop.binlog diff --git a/src/libraries/externals.csproj b/src/libraries/externals.csproj index 415545b..a2fbff2 100644 --- a/src/libraries/externals.csproj +++ b/src/libraries/externals.csproj @@ -1,7 +1,5 @@  - - $(PackageRID) true $(NetCoreAppCurrent) @@ -9,7 +7,6 @@ true false true - true @@ -21,23 +18,23 @@ - + - - - + + + + + + Condition="Exists('$(DotNetHostBinDir)') and '$(TestNativeAot)' != 'true'"> true @@ -48,22 +45,7 @@ - - - - - - - - - - - - - @@ -78,7 +60,7 @@ SkipUnchangedFiles="true" UseHardlinksIfPossible="$(UseHardlink)" /> - + +