Closed VSadov closed 1 year ago
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas See info in area-owners.md if you want to be subscribed.
Author: | VSadov |
---|---|
Assignees: | - |
Labels: | `area-NativeAOT-coreclr` |
Milestone: | - |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Author: | VSadov |
---|---|
Assignees: | - |
Labels: | `area-CodeGen-coreclr`, `untriaged`, `area-NativeAOT-coreclr` |
Milestone: | - |
I'll take a look, I think jit-diff currently hit the same assert
Why is this bug?
build.cmd clr+libs+libs.tests -rc Checked -lc Release /p:TestNativeAot=true
This command seems to take a lot of time, still building for me.. (and consumes a lot of space). Is it possible to generate rsp for a specific libs tests without it?
You can omit +libs.tests
and instead go to the specific libraries/.../test directory and run dotnet build /t:Test -c Release /p:TestNativeAot=true
there. Most of the workflows from https://github.com/dotnet/runtime/blob/main/docs/workflow/testing/libraries/testing.md work for native AOT - just need to add /p:TestNativeAot=true
to all command lines.
To repro - just build tests with chk runtime config (like
build.cmd clr+libs+libs.tests -rc Checked -lc Release /p:TestNativeAot=true
)A more direct repro is to just compile one test:
"C:\naot02\runtime\artifacts\bin\coreclr\windows.x64.Checked\ilc-published\\ilc" @"C:\naot02\runtime\artifacts\obj\System.Numerics.Vectors.Tests\Release\net7.0\native\System.Numerics.Vectors.Tests.ilc.rsp
The command fails with: