Skip to content

[mono] Fix output directory for cross compilers if OutputRID is overridden#109932

Merged
akoeplinger merged 1 commit intodotnet:mainfrom
akoeplinger:fix-cross
Nov 19, 2024
Merged

[mono] Fix output directory for cross compilers if OutputRID is overridden#109932
akoeplinger merged 1 commit intodotnet:mainfrom
akoeplinger:fix-cross

Conversation

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Nov 18, 2024

This happens e.g. in the VMR where OutputRID is set globally. We assumed in monoaotcross.proj that the inner mono cross compiler runtime build would put files into a path that matches the target RID but we were using OutputRID in the inner build.

Instead use the preexisting MonoAotCrossDir property.

Also fix marking DotNetBuildMonoCrossAOT=true as a ShortStack build.

@ghost ghost added the area-Build-mono label Nov 18, 2024
akoeplinger added a commit to akoeplinger/sdk that referenced this pull request Nov 18, 2024
…idden

This happens e.g. in the VMR where OutputRID is set globally. We assumed in monoaotcross.proj that the inner mono cross compiler runtime build would put files into a path that matches the target RID but we were using OutputRID in the inner build.

Instead use the preexisting MonoAotCrossDir property.

Also fix marking DotNetBuildMonoCrossAOT=true as a ShortStack build.
@akoeplinger
Copy link
Member Author

/ba-g timeouts are unrelated

@akoeplinger akoeplinger merged commit 6accd39 into dotnet:main Nov 19, 2024
@akoeplinger akoeplinger deleted the fix-cross branch November 19, 2024 14:22
mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request Dec 10, 2024
…idden (dotnet#109932)

This happens e.g. in the VMR where OutputRID is set globally. We assumed in monoaotcross.proj that the inner mono cross compiler runtime build would put files into a path that matches the target RID but we were using OutputRID in the inner build.

Instead use the preexisting MonoAotCrossDir property.

Also fix marking DotNetBuildMonoCrossAOT=true as a ShortStack build.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants