-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 arm64 wasm support #83677
Add arm64 wasm support #83677
Conversation
src/mono/mono.proj
Outdated
@@ -856,7 +856,7 @@ | |||
|
|||
<PropertyGroup> | |||
<_MonoSkipInitCompiler Condition="'$(RealTargetArchitecture)' != '' and '$(RealTargetArchitecture)' != '$(BuildArchitecture)'">false</_MonoSkipInitCompiler> | |||
<_MonoAotCrossOffsetsCommand Condition="'$(MonoUseCrossTool)' == 'true'">$(PythonCmd) $(MonoProjectRoot)mono/tools/offsets-tool/offsets-tool.py @(MonoAotCrossOffsetsToolParams, ' ')</_MonoAotCrossOffsetsCommand> | |||
<_MonoAotCrossOffsetsCommand Condition="'$(MonoUseCrossTool)' == 'true'">python $(MonoProjectRoot)mono/tools/offsets-tool/offsets-tool.py @(MonoAotCrossOffsetsToolParams, ' ')</_MonoAotCrossOffsetsCommand> |
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 should still use $(PythonCmd)
, so that it works on other platforms.
You can change it conditionally to python
on win/arm64.
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.
changed and tested with WASM CI for Arm64
https://github.com/Windows-on-ARM-Experiments/runtime/actions/runs/4798720517
The mono changes look ok. |
@eukarpov when you have a moment, can you please make the suggested change? @radekdoulik @vargaz if the changes look ok minus the suggested item to review, can you please approve? |
@@ -293,7 +293,6 @@ | |||
<_EmccLinkFlags Include="-s EXPORTED_RUNTIME_METHODS=$(_EmccExportedRuntimeMethods)" /> | |||
<_EmccLinkFlags Include="-s EXPORTED_FUNCTIONS=$(_EmccExportedFunctions)" /> | |||
<_EmccLinkFlags Include="--source-map-base http://example.com" /> | |||
<_EmccLinkFlags Include="-s STRICT_JS=1" /> | |||
<_EmccLinkFlags Include="-s WASM_BIGINT=1" /> |
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.
Is this needed/related ?
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.
Yes, it is a fix to resolve issue related to regression in the latest emscripten
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.
I think that latest emscripten doesn't allow it together with EXPORT_ES6=1
which is fine because that is always strict. I think @radekdoulik mentioned that last week.
@steveisok |
@radekdoulik @vargaz can one of you please approve if this is ready? |
No description provided.