Repository navigation
Share NativeAotSupported check via arcade - #7004
Conversation
|
cc @akoeplinger please run linux-musl type of leg against this PR so we can see cross-build is intact. |
3c409d9 to
27bdea1
Compare
27bdea1 to
85b48c7
Compare
|
cc @baronfel, @MichalStrehovsky, similar to @DamianEdwards' aspnetcore approach #6798 but for SDK. We are sharing them via arcade to stay consistent. Single point to determine:
|
|
cc @JeremyKuhne for visibility - we'll likely want to adopt this pattern in MSBuild as well |
Co-authored-by: Adeel Mujahid <[email protected]>
MichalStrehovsky
left a comment
There was a problem hiding this comment.
Thank you! This is great. I expect the worst thing this could cause is an issue during CMake configure, but looking at the ARMv6 or s390 clr.iltools bringups, I expect it to be minor or nothing at all.
@akoeplinger I have not done changes to eng/common since the monorepo got introduced. Is this good to go from flow perspective? One thing I'm not sure about is the eng/common/native/LocateNativeCompiler.target being only present in sdk, we might need a copy in the other directories.
|
eng/common brings significant portion of shared engineering infra and it is on auto sync. I’ve only added files to SDK and runtime which I needed to successfully compile. |
The specific concern I have is that LocateNativeCompiler.targets only exists in sdk/eng/common/native/LocateNativeCompiler.targets but it's missing in arcade's eng/common. AFAIK arcade's eng/common is the source of truth and automation will make sure the subrepos match arcade. In the past it wasn't sufficient to put a file into a subrepo and expect it to land in arcade (e.g. yours dotnet/arcade#16756 that mirrored a file from dotnet/runtime's copy). |
|
It was sync'd with arcade as well https://github.com/dotnet/arcade/blob/56539035afb7a5b9ef1be4ec42aa654863995f08/eng/common/native/LocateNativeCompiler.targets. You are actually raising a good point; I had the same question and @ViktorHofer explained it to me. My understanding is, either:
Note that VMR's top-level eng/common is not the source-of-truth; arcade is as before. |
Ah, that's the key part I was missing, thanks! |
Shared with runtime and SDK.