Skip to content

Commit

Permalink
Put back CG2 as the default SPC compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
trylek committed Nov 5, 2020
1 parent a286dde commit 4501b48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/coreclr/crossgen-corelib.proj
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@

<Target Name="Build">
<PropertyGroup>
<!-- When the 'Crossgen1' or 'Crossgen2' environment variable it set to 'true', -->
<!-- it will force the script to use the specified compiler to build System.Private.CoreLib. -->
<!-- In absence of these variables, the script uses its own default. -->
<UseCrossgen2ByDefault>true</UseCrossgen2ByDefault>

<UseCrossgen2 Condition="'$(Crossgen1)' == 'true'">false</UseCrossgen2>
<UseCrossgen2 Condition="'$(Crossgen2)' == 'true'">true</UseCrossgen2>
<UseCrossgen2 Condition="'$(UseCrossgen2)' == ''">false</UseCrossgen2>
<UseCrossgen2 Condition="'$(UseCrossgen2)' == ''">$(UseCrossgen2ByDefault)</UseCrossgen2>

<OSPlatformConfig>$(TargetOS).$(TargetArchitecture).$(Configuration)</OSPlatformConfig>
<RootBinDir>$(RepoRoot)\artifacts</RootBinDir>
Expand Down

0 comments on commit 4501b48

Please sign in to comment.