Skip to content

Commit 8bd302b

Browse files
authored
ci: fix/set MtouchUseLlvm=false to speed up the macOS build (#4677)
1 parent 382fa2e commit 8bd302b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-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

test/Sentry.Maui.Device.TestApp/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>false</IsPackable>
7+
<MtouchUseLlvm Condition="'$(Configuration)' == 'Release'">false</MtouchUseLlvm>
78
</PropertyGroup>
89

910
<ItemGroup>

0 commit comments

Comments
 (0)