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

Add CoreCLR runtime to the build #9863

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft

Conversation

grendello
Copy link
Contributor

This PR actually enables building of the CoreCLR host added to
main in #9572

The goal is to fix all the failing tests, possibly add new ones.

@grendello
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@grendello grendello force-pushed the dev/grendel/clr-host-enable branch 4 times, most recently from a29ba59 to a9f513f Compare March 5, 2025 21:43
@grendello
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@grendello grendello force-pushed the dev/grendel/clr-host-enable branch 2 times, most recently from b90d3d1 to aea3b79 Compare March 10, 2025 12:46
@grendello
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…eded

The target sets up environment for the NativeAOT ILC compiler and it requires to find llvm-objcopy
and objcopy (among others) utilities in the PATH. We have code that sets PATH up to point to the NDK
bin directory, but it runs too late to prevent errors when the setup target doesn't find all the
required binaries. It appears the target runs whether or not NativeAOT is used, and is dependent on
the NativeCompilationDuringPublish property being `true`, which is the default value, assigned to it
whenever ilccompiler targets are included in the build (which seems to be our case no matter which
android runtime we target in the given build).

Let's see if this commit helps.
@grendello grendello force-pushed the dev/grendel/clr-host-enable branch from f573582 to 15d87f9 Compare March 11, 2025 17:13
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.

1 participant