Skip to content

Commit 7cda047

Browse files
committed
ci: fix/set MtouchUseLlvm=false to speed up the macOS build
1 parent 382fa2e commit 7cda047

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

integration-test/common.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ BeforeAll {
209209
<SentryUploadAndroidProguardMapping>true</SentryUploadAndroidProguardMapping>
210210
<AndroidLinkTool Condition=`" '`$(AndroidLinkTool)' == '' `">r8</AndroidLinkTool>
211211
<AndroidDexTool Condition=`" '`$(AndroidDexTool)' == '' `">d8</AndroidDexTool>
212+
<MtouchUseLlvm Condition=`"'`$(Configuration)' == 'Release'`">false</MtouchUseLlvm>
212213
</PropertyGroup>
213214
</Project>
214215
"@ | Out-File $name/Directory.Build.props

samples/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<!-- Workaround for hang on compile issue. See https://github.com/xamarin/xamarin-macios/issues/17825#issuecomment-1478568270. -->
10-
<PropertyGroup Condition="'$(Configuration)' == 'Release' And $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
10+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
1111
<MtouchUseLlvm>false</MtouchUseLlvm>
1212
</PropertyGroup>
1313

0 commit comments

Comments
 (0)