Skip to content

Commit

Permalink
[VMR] Enable passing through MonoCrossAOTTargetOS and BuildMonoAOTCro…
Browse files Browse the repository at this point in the history
…ssCompilerOnly

Required for dotnet/source-build#3902
  • Loading branch information
akoeplinger committed Nov 11, 2024
1 parent 643ffd8 commit 07cc1dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/DotNetBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
<InnerBuildArgs Condition="'$(DotNetBuildMonoEnableLLVM)' != ''">$(InnerBuildArgs) /p:MonoEnableLLVM=$(DotNetBuildMonoEnableLLVM)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildMonoAOTEnableLLVM)' != ''">$(InnerBuildArgs) /p:MonoAOTEnableLLVM=$(DotNetBuildMonoAOTEnableLLVM)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildMonoBundleLLVMOptimizer)' != ''">$(InnerBuildArgs) /p:MonoBundleLLVMOptimizer=$(DotNetBuildMonoBundleLLVMOptimizer)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildMonoCrossAOTTargetOS' != ''">$(InnerBuildArgs) /p:MonoCrossAOTTargetOS=$(DotNetBuildMonoCrossAOTTargetOS)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(DotNetBuildMonoAOTCrossCompilerOnly' != ''">$(InnerBuildArgs) /p:BuildMonoAOTCrossCompilerOnly=$(DotNetBuildMonoAOTCrossCompilerOnly)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(PgoInstrument)' == 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)pgoinstrument</InnerBuildArgs>

<!-- This prop needs to be passed to the inner build manually as the BaseInnerSourceBuildCommand gets overridden above -->
Expand Down

0 comments on commit 07cc1dd

Please sign in to comment.