-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Milestone
Description
I'd like to build this repo using mono as runtime similar to how it is built on s390x.
The build script doesn't provide a way to do that.
The s390x case is specially handled using PrimaryRuntimeFlavor:
Lines 28 to 31 in 1872ef5
| <PropertyGroup> | |
| <PrimaryRuntimeFlavor>CoreCLR</PrimaryRuntimeFlavor> | |
| <PrimaryRuntimeFlavor Condition="'$(TargetArchitecture)' == 's390x'">Mono</PrimaryRuntimeFlavor> | |
| </PropertyGroup> |
Then subsequent checking occurs as:
'$(RuntimeFlavor)' == '$(PrimaryRuntimeFlavor)')" -> coreCLR or mono on s390x
'$(RuntimeFlavor)' != '$(PrimaryRuntimeFlavor)')" -> mono not on s390x