|
22 | 22 | that indicates tests should be run. Otherwise, they'll only be built.) |
23 | 23 | --> |
24 | 24 |
|
| 25 | + <!-- Determine the primary runtime flavor. This is usually CoreCLR, except on |
| 26 | + platforms (like s390x) where only Mono is supported. The primary runtime |
| 27 | + flavor is used to decide when to build the hosts and installers. --> |
| 28 | + <PropertyGroup> |
| 29 | + <PrimaryRuntimeFlavor>CoreCLR</PrimaryRuntimeFlavor> |
| 30 | + <PrimaryRuntimeFlavor Condition="'$(TargetArchitecture)' == 's390x'">Mono</PrimaryRuntimeFlavor> |
| 31 | + </PropertyGroup> |
| 32 | + |
25 | 33 | <PropertyGroup> |
26 | 34 | <DefaultSubsets>clr+mono+libs+host+packs</DefaultSubsets> |
27 | 35 | <DefaultSubsets Condition="'$(TargetsMobile)' == 'true'">mono+libs+packs</DefaultSubsets> |
28 | | - <!-- mono is not supported in source build. On Windows mono is supported for x86/x64 only. --> |
29 | | - <DefaultSubsets Condition="'$(DotNetBuildFromSource)' == 'true' or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' != 'x86' and '$(TargetArchitecture)' != 'x64')">clr+libs+host+packs</DefaultSubsets> |
| 36 | + <!-- In source build, mono is only supported as primary runtime flavor. On Windows mono is supported for x86/x64 only. --> |
| 37 | + <DefaultSubsets Condition="('$(DotNetBuildFromSource)' == 'true' and '$(PrimaryRuntimeFlavor)' != 'Mono') or ('$(TargetOS)' == 'windows' and '$(TargetArchitecture)' != 'x86' and '$(TargetArchitecture)' != 'x64')">clr+libs+host+packs</DefaultSubsets> |
30 | 38 | </PropertyGroup> |
31 | 39 |
|
32 | 40 | <!-- Init _subset here in to allow RuntimeFlavor to be set as early as possible --> |
|
35 | 43 | <_subset Condition="'$(Subset)' == ''">+$(DefaultSubsets)+</_subset> |
36 | 44 | </PropertyGroup> |
37 | 45 |
|
38 | | - <!-- Determine the primary runtime flavor. This is usually CoreCLR, except on |
39 | | - platforms (like s390x) where only Mono is supported. The primary runtime |
40 | | - flavor is used to decide when to build the hosts and installers. --> |
41 | | - <PropertyGroup> |
42 | | - <PrimaryRuntimeFlavor>CoreCLR</PrimaryRuntimeFlavor> |
43 | | - <PrimaryRuntimeFlavor Condition="'$(TargetArchitecture)' == 's390x'">Mono</PrimaryRuntimeFlavor> |
44 | | - </PropertyGroup> |
45 | | - |
46 | 46 | <PropertyGroup> |
47 | 47 | <RuntimeFlavor Condition="'$(TargetsMobile)' == 'true'">Mono</RuntimeFlavor> |
48 | 48 | <RuntimeFlavor Condition="'$(RuntimeFlavor)' == '' and ($(_subset.Contains('+mono+')) or $(_subset.Contains('+mono.runtime+'))) and (!$(_subset.Contains('+clr+')) and !$(_subset.Contains('+clr.runtime+')))">Mono</RuntimeFlavor> |
|
0 commit comments