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

[WIP] Cross compile testing for crossgen2 #41487

Closed

Conversation

davidwrighton
Copy link
Member

Add testing for cross compilation from one arch to another, with tests that cover the full set of Pri0 assemblies

This initial effort targets Arm64 Windows, but I believe will naturally work for covering X64 to all other architecture testing. Once this is in, we can build some cross OS testing

This builds upon the other PR I'm working on #41126 so, please ignore all changes in the first commit here.

…WinX64

Fix unix to windows cross target build issues

Build rules to build all possible altjits

New build subset rules

Adjust naming to clrjit_targetos_targetarch_hostarch

Fix subsets build so that clr subset compiles properly

Swap crossgen2 to use new clrjit dlls
- Also add support for building x64 hosted crossgen2 into all non-x64 builds
  - Allows for running live built crossgen2 during further compilation and test steps

Use target defintions and properties to simplify logic

Stop using subdirectories for cross targeting jits and such

Consolidate all standalone jit building to use the function instead of a separate cmakelists.txt file

Fix build break, and apply formatting patch

Address code review feedback, and fix pgo build and armel jit build

Fix Windows Arm build, and don't compile clrjit as altjit, ever

Fix crossgen2 packaging on Unix

Code review feedback
Add arm64 crossgen2 cross compilation test to crossgen2 test pipeline

Fix yml
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
@davidwrighton davidwrighton deleted the CrossCompileTesting branch April 20, 2021 17:44
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