Skip to content
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

Set the CrossBuild property instead of the CROSSCOMPILE environment variable #18915

Merged
merged 4 commits into from
Mar 11, 2024

Conversation

jkoritzinsky
Copy link
Member

By setting CROSSCOMPILE, we're forcing all CoreCLR build steps to use the rootfs. We should pass the CrossBuild property instead which will allow the dotnet/runtime build targets to correctly specify which build steps will use the rootfs and which ones should use the host.

Fixes dotnet/source-build#3698

@jkoritzinsky
Copy link
Member Author

/azp run installer-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky jkoritzinsky requested review from a team as code owners March 7, 2024 22:40
@jkoritzinsky
Copy link
Member Author

/azp run installer-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run installer-unified-build-full

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@akoeplinger akoeplinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we still need #18294?

@jkoritzinsky
Copy link
Member Author

We might still need it as I don't remember how installer hooks up their crossbuilds.

@jkoritzinsky jkoritzinsky merged commit b6d8862 into dotnet:main Mar 11, 2024
22 checks passed
@jkoritzinsky jkoritzinsky deleted the no-crosscompile branch March 11, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[VMR] linux/mac-arm64 cross build fails w/ CoreCLR runtime
3 participants