Skip to content

Commit fb01e2c

Browse files
authored
[release/5.0-preview2] Disable IBCMerge on OSX builds (#33394)
* Disable IBCMerge on mac across the board. * Update comment to include link to issue.
1 parent c993654 commit fb01e2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

eng/codeOptimization.targets

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
<IsEligibleForNgenOptimization>true</IsEligibleForNgenOptimization>
55
<IsEligibleForNgenOptimization Condition="'$(IsReferenceAssembly)' == 'true'">false</IsEligibleForNgenOptimization>
66
<IsEligibleForNgenOptimization Condition="'$(GeneratePlatformNotSupportedAssembly)' == 'true' or '$(GeneratePlatformNotSupportedAssemblyMessage)' != ''">false</IsEligibleForNgenOptimization>
7+
<!-- There's an issue causing IBCMerge failures because of mismatched MVIDs
8+
across many of our assemblies on Mac, so disable
9+
IBCMerge optimizations on Mac for now to unblock the offical build.
10+
See issue https://github.com/dotnet/runtime/issues/33303
11+
-->
12+
<IsEligibleForNgenOptimization Condition="'$(TargetOS)' == 'OSX'">false</IsEligibleForNgenOptimization>
713
</PropertyGroup>
814

915
<Target Name="SetApplyNgenOptimization"

0 commit comments

Comments
 (0)