-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[wasm][aot] build tries to cross compile unrelated dlls from the publish folder #46856
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsIn effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651. Test suite
System_diagnostics_fileversioninfo_fail.txt ReproCheck out changes in #46651 runtime/eng/testing/ILLink.Descriptor.xunit.xml Lines 15 to 20 in f7f5046
Modify
|
Tagging subscribers to this area: @tommcdon, @krwq Issue DetailsIn effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651. Test suite
System_diagnostics_fileversioninfo_fail.txt ReproCheck out changes in #46651 runtime/eng/testing/ILLink.Descriptor.xunit.xml Lines 15 to 20 in f7f5046
Modify
|
This depends on a native library, which is why What is the expected behavior? |
Tagging subscribers to this area: @eiriktsarpalis Issue DetailsIn effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651. Test suite
System_diagnostics_fileversioninfo_fail.txt ReproCheck out changes in #46651 runtime/eng/testing/ILLink.Descriptor.xunit.xml Lines 15 to 20 in f7f5046
Modify
|
The problem is that We should either:
|
It also affects #52848. And probably ios device testing, too. basically anything that needs the AOT compiler |
In #52848 I defined a Lines 22 to 26 in 227847c
runtime/eng/testing/tests.mobile.targets Lines 169 to 175 in 227847c
|
@radical what is your plan here? |
Currently, we pick up all the files from the publish folder, where this assembly also ends up because it is in |
This needs some more work (a bit involved) to integrate with Publish at a more granular level. |
@radical, any progress? |
No. We should keep this for 7.0 milestone for now, but I'm not sure if we'll actually be able to get to it. This is dependent on better integration with |
The original issue here - that of runtime/src/tasks/AotCompilerTask/MonoAOTCompiler.cs Lines 603 to 607 in d7c8bc1
The broader issue of handling publish assets better, is separate from this. |
In effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651.
Test suite
System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj
fails on MonoAOTCompiler task withSystem_diagnostics_fileversioninfo_fail.txt
Repro
Check out changes in #46651
./build.sh -os Browser -arch wasm -c Release
Remove
runtime/eng/testing/ILLink.Descriptor.xunit.xml
Lines 15 to 20 in f7f5046
Modify
runtime/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.Unix.cs
Line 256 in 9538bee
./dotnet.sh build /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Release /p:EnableAggressiveTrimming=true /p:RunAOTCompilation=true src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj
The text was updated successfully, but these errors were encountered: