File tree Expand file tree Collapse file tree 8 files changed +14
-7
lines changed Expand file tree Collapse file tree 8 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 3434 <OtherFlags Condition =" '$(BuildNoRealsig)' != 'true'" >$(OtherFlags) --realsig+</OtherFlags >
3535 </PropertyGroup >
3636
37+ <PropertyGroup >
38+ <!-- Set PublishReadyToRun to speed up the build. -->
39+ <EnablePublishReadyToRun >true</EnablePublishReadyToRun >
40+ <!-- Crossgen2 is not built with source-built Mono-based .NET SDKs. -->
41+ <EnablePublishReadyToRun Condition =" '$(SourceBuildUseMonoRuntime)' == 'true'" >false</EnablePublishReadyToRun >
42+ </PropertyGroup >
43+
3744 <Import Project =" $(RepoRoot)/Directory.Build.props.user" Condition =" Exists('$(RepoRoot)/Directory.Build.props.user')" />
3845
3946 <PropertyGroup Condition =" '$(BUILDING_USING_DOTNET)' == 'true'" >
Original file line number Diff line number Diff line change 77 </PropertyGroup >
88
99 <PropertyGroup >
10- <PublishReadyToRun >true </PublishReadyToRun >
10+ <PublishReadyToRun >$(EnablePublishReadyToRun) </PublishReadyToRun >
1111 <RuntimeIdentifier >$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier >
1212 </PropertyGroup >
1313
Original file line number Diff line number Diff line change 88 </PropertyGroup >
99
1010 <PropertyGroup >
11- <PublishReadyToRun >true </PublishReadyToRun >
11+ <PublishReadyToRun >$(EnablePublishReadyToRun) </PublishReadyToRun >
1212 <RuntimeIdentifier >$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier >
1313 </PropertyGroup >
1414
Original file line number Diff line number Diff line change 88 </PropertyGroup >
99
1010 <PropertyGroup >
11- <PublishReadyToRun >true </PublishReadyToRun >
11+ <PublishReadyToRun >$(EnablePublishReadyToRun) </PublishReadyToRun >
1212 <RuntimeIdentifier >$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier >
1313 </PropertyGroup >
1414
Original file line number Diff line number Diff line change 4040 -bl enables the binlogs for the tools and Proto builds, which make debugging failures here easier
4141 -->
4242 <Exec
43- Command =" ./build.sh --bootstrap --skipBuild -bl $(SourceBuildBootstrapTfmArg)"
43+ Command =" ./build.sh --bootstrap --skipBuild -bl $(SourceBuildBootstrapTfmArg) /p:SourceBuildUseMonoRuntime=$(SourceBuildUseMonoRuntime) "
4444 WorkingDirectory =" $(InnerSourceBuildRepoRoot)"
4545 EnvironmentVariables =" @(InnerBuildEnv);DotNetBuildFromSource=true" />
4646 </Target >
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ function BuildSolution {
279279 fi
280280
281281 BuildMessage=" Error building tools"
282- local args=" publish $repo_root /proto.proj $blrestore $bltools /p:Configuration=Proto /p:ArcadeBuildFromSource=$source_build "
282+ local args=" publish $repo_root /proto.proj $blrestore $bltools /p:Configuration=Proto /p:ArcadeBuildFromSource=$source_build $properties "
283283 echo $args
284284 " $DOTNET_INSTALL_DIR /dotnet" $args # $args || exit $?
285285 fi
Original file line number Diff line number Diff line change 1010
1111 <PropertyGroup Condition =" '$(Configuration)' == 'Proto'" >
1212 <TargetFramework >$(FSharpNetCoreProductTargetFramework)</TargetFramework >
13- <PublishReadyToRun >true </PublishReadyToRun >
13+ <PublishReadyToRun >$(EnablePublishReadyToRun) </PublishReadyToRun >
1414 <RuntimeIdentifier >$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier >
1515 </PropertyGroup >
1616
Original file line number Diff line number Diff line change 1010
1111 <PropertyGroup Condition =" '$(Configuration)' == 'Proto'" >
1212 <TargetFramework >$(FSharpNetCoreProductTargetFramework)</TargetFramework >
13- <PublishReadyToRun >true </PublishReadyToRun >
13+ <PublishReadyToRun >$(EnablePublishReadyToRun) </PublishReadyToRun >
1414 <RuntimeIdentifier >$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier >
1515 </PropertyGroup >
1616
You can’t perform that action at this time.
0 commit comments