Add patch since runtime sync is out of date & missing needed patch
This commit is contained in:
parent
33400c9394
commit
1400ef0277
1 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,41 @@
|
|||
--- ../dotnet/src/runtime/eng/SourceBuild.props 2024-02-07 11:01:33.807337902 -0500
|
||||
+++ eng/SourceBuild.props 2024-02-05 16:48:58.219933758 -0500
|
||||
@@ -15,6 +15,7 @@
|
||||
<!-- Split e.g. 'fedora.33-x64' into 'fedora.33' and 'x64'. -->
|
||||
<_targetRidPlatformIndex>$(TargetRid.LastIndexOf('-'))</_targetRidPlatformIndex>
|
||||
<TargetArch>$(TargetRid.Substring($(_targetRidPlatformIndex)).TrimStart('-'))</TargetArch>
|
||||
+ <TargetOS>$(TargetRid.Substring(0, $(_targetRidPlatformIndex)))</TargetOS>
|
||||
|
||||
<_hostRidPlatformIndex>$(_hostRid.LastIndexOf('-'))</_hostRidPlatformIndex>
|
||||
<_hostArch>$(_hostRid.Substring($(_hostRidPlatformIndex)).TrimStart('-'))</_hostArch>
|
||||
@@ -22,6 +23,17 @@
|
||||
<LogVerbosity Condition="'$(LogVerbosity)' == ''">minimal</LogVerbosity>
|
||||
</PropertyGroup>
|
||||
|
||||
+ <PropertyGroup Label="ShortStacks">
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'wasi'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'browser'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'ios'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'iossimulator'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'tvos'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'tvossimulator'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'maccatalyst'">true</ShortStack>
|
||||
+ <ShortStack Condition="'$(TargetOS)' == 'android'">true</ShortStack>
|
||||
+ </PropertyGroup>
|
||||
+
|
||||
<Target Name="GetRuntimeSourceBuildCommandConfiguration"
|
||||
BeforeTargets="GetSourceBuildCommandConfiguration">
|
||||
<PropertyGroup>
|
||||
@@ -29,9 +41,10 @@
|
||||
This allows to build the repository using './build.sh <args> /p:DotNetBuildFromSource=true'.
|
||||
Properties that control flags from source-build, and the expected output for source-build should be added to this file. -->
|
||||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)arch $(TargetArch)</InnerBuildArgs>
|
||||
- <InnerBuildArgs Condition=" '$(TargetArch)' != '$(_hostArch)' ">$(InnerBuildArgs) $(FlagParameterPrefix)cross</InnerBuildArgs>
|
||||
+ <InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)os $(TargetOS)</InnerBuildArgs>
|
||||
+ <InnerBuildArgs Condition="'$(TargetArch)' != '$(_hostArch)' and '$(ShortStack)' != 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)cross</InnerBuildArgs>
|
||||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)configuration $(Configuration)</InnerBuildArgs>
|
||||
- <InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)allconfigurations</InnerBuildArgs>
|
||||
+ <InnerBuildArgs Condition="'$(ShortStack)' != 'true'">$(InnerBuildArgs) $(FlagParameterPrefix)allconfigurations</InnerBuildArgs>
|
||||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)verbosity $(LogVerbosity)</InnerBuildArgs>
|
||||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)nodereuse $(ArcadeFalseBoolBuildArg)</InnerBuildArgs>
|
||||
<InnerBuildArgs>$(InnerBuildArgs) $(FlagParameterPrefix)warnAsError $(ArcadeFalseBoolBuildArg)</InnerBuildArgs>
|
Loading…
Reference in a new issue