From f9c2721f738f26e119d87dde464a46037735ca8e Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 28 Feb 2024 08:30:57 +0100 Subject: [PATCH] Update SourceBuild.props Condition targets that change what to build based on the source-build flags so that when building the repository inside the VMR for unified-build, we build everything and don't bootstrap. --- eng/SourceBuild.props | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 550215bd643..3bfd9f80fc4 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -11,7 +11,9 @@ The build script passes in the full path of the sln to build. This must be overridden in order to build the cloned source in the inner build. --> - + $(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)\Microsoft.FSharp.Compiler.sln" @@ -23,7 +25,8 @@ --> + BeforeTargets="RunInnerSourceBuildCommand" + Condition="'$(ArcadeBuildFromSource)' == 'true' or '$(DotNetBuildSourceOnly)' == 'true'"> --tfm $(SourceBuildBootstrapTfm)