From 0c952f866fd26e836dc86d6c7613ad758261e06d Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 5 Mar 2024 18:39:01 +0100 Subject: [PATCH 1/2] Condition source-build only stuff on source-build --- eng/SourceBuild.props | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index 550215bd643..d3fe1c691e7 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) From 6c085a45c0de5a79d3c0fd32a858661782b2c2fb Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Tue, 5 Mar 2024 19:15:10 +0100 Subject: [PATCH 2/2] Update SourceBuild.props --- eng/SourceBuild.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props index d3fe1c691e7..3bfd9f80fc4 100644 --- a/eng/SourceBuild.props +++ b/eng/SourceBuild.props @@ -26,7 +26,7 @@ --tfm $(SourceBuildBootstrapTfm)