-
Notifications
You must be signed in to change notification settings - Fork 561
[Mono.Android] fix crash on startup with EnableLLVM #7188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -379,7 +379,7 @@ stages: | |
| testName: Mono.Android_Tests-Aot | ||
| project: tests/Mono.Android-Tests/Mono.Android-Tests.csproj | ||
| testResultsFiles: TestResult-Mono.Android_Tests-$(ApkTestConfiguration)-Aot.xml | ||
| extraBuildArgs: /p:AotAssemblies=True /p:EnableLlvm=True | ||
| extraBuildArgs: /p:AotAssemblies=True /p:EnableLLVM=True | ||
| artifactSource: bin/Test$(ApkTestConfiguration)/Mono.Android_Tests-Signed.apk | ||
| artifactFolder: AotLlvm | ||
|
|
||
|
|
@@ -691,13 +691,15 @@ stages: | |
|
|
||
| - template: yaml-templates/apk-instrumentation.yaml | ||
| parameters: | ||
| # TODO: disable LLVM test, see: https://github.com/dotnet/runtime/issues/68914 | ||
| # TODO: disable LLVM test, see: | ||
| # https://github.com/dotnet/runtime/issues/68914 | ||
| # https://github.com/dotnet/runtime/issues/73304 | ||
| condition: false | ||
| configuration: $(XA.Build.Configuration) | ||
| testName: Mono.Android.NET_Tests-AotLlvm | ||
| project: tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/Mono.Android.NET-Tests.csproj | ||
| testResultsFiles: TestResult-Mono.Android.NET_Tests-$(XA.Build.Configuration)AotLlvm.xml | ||
| extraBuildArgs: -p:TestsFlavor=AotLlvm -p:EnableLlvm=true | ||
| extraBuildArgs: -p:TestsFlavor=AotLlvm -p:EnableLLVM=true -p:AndroidEnableProfiledAot=false | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it necessary to disable profiled AOT? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one was: dotnet/runtime#73003 Using Profiled AOT and LLVM at the same time can hit: |
||
| artifactSource: bin/Test$(XA.Build.Configuration)/$(DotNetTargetFramework)-android/Mono.Android.NET_Tests-Signed.aab | ||
| artifactFolder: $(DotNetTargetFramework)-AotLlvm | ||
| useDotNet: true | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,10 +22,10 @@ | |
| <AndroidUseNegotiateAuthentication>true</AndroidUseNegotiateAuthentication> | ||
| <!-- | ||
| TODO: Fix excluded tests | ||
| For AOT, InetAccess excluded due to: https://github.com/dotnet/runtime/issues/56315 | ||
| For $(EnableLLVM), InetAccess excluded due to: https://github.com/dotnet/runtime/issues/56315 | ||
| --> | ||
| <ExcludeCategories>DotNetIgnore</ExcludeCategories> | ||
| <ExcludeCategories Condition=" '$(RunAOTCompilation)' == 'true' ">$(ExcludeCategories):InetAccess</ExcludeCategories> | ||
| <ExcludeCategories Condition=" '$(EnableLLVM)' == 'true' ">$(ExcludeCategories):InetAccess</ExcludeCategories> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since 0084162, this
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please also open an issue for the |
||
| <ExcludeCategories Condition=" '$(UseInterpreter)' == 'true' ">$(ExcludeCategories):IgnoreInterpreter</ExcludeCategories> | ||
| </PropertyGroup> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept these disabled because of: dotnet/runtime#73304
I think we should merge this with the tests disabled, because it does get things further.