-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 Separate platform & target #757
Conversation
e2092f9
to
27f8437
Compare
@sdmaclea it is not clear to me how we can ever build native components cross os, can you please share more details on how are we planning to do that? |
@janvorli This work is experimental at this point. |
src/coreclr/build.cmd
Outdated
@@ -128,6 +128,8 @@ if /i "%1" == "-x86" (set __BuildArchX86=1&set processedArgs=!pr | |||
if /i "%1" == "-arm" (set __BuildArchArm=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) | |||
if /i "%1" == "-arm64" (set __BuildArchArm64=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) | |||
|
|||
if /i "%1" == "-linux" (set __BuildOS=Linux&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option may imply general support. Maybe a special purpose flag would be better.
Make FEATURE_PAL depend on the platform
4004cba
to
dd5c3ef
Compare
Move the Crst member to the end of the structure for the cross OS DAC.
Remove multiple inheritance by dropping noncopyable This corrects the layout of the SHash structure on Windows to match Linux. The multiple inheritance was in serting an extra byte of padding in the structure layout.
dd5c3ef
to
aeadc93
Compare
This prototype worked, but this code needs to be polished before merging. Closing this in favor of smaller actionable PRs. |
Extend cross component build make system to allow cross OS build for some components.
Standardize on
Platform
andTarget
for the nomenclature (rename_Host_
to_Platform_
)Add
CLR_CMAKE_TARGET_*
Modify feature flag definition to depend on
CLR_CMAKE_TARGET_*
Modify crosscomponent make to handle
CLR_CMAKE_TARGET_OS
Set
CLR_CMAKE_TARGET_OS
in build.cmdAdd flag to set target OS to linux.
Remove stray sos reference