-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 beginnings of WebAssembly build support for mono. #33551
Conversation
fdc4655
to
19cbd13
Compare
Currently fails with: |
97577ca
to
cc0d78a
Compare
The mono build seems to work now, but the libraries build fails with: |
The docker image seems to contain cmake 3.10: |
src/mono/netcore/System.Private.CoreLib/System.Private.CoreLib.csproj
Outdated
Show resolved
Hide resolved
So changing the os to 'wasm' causes the packaging step to fail because it expects 'WebAssembly'. |
So the runtime build seems to work now but the libraries wasm build is broken by the bump of the docker image version. |
The wasm libraries build now fails with: |
735c94a
to
9522a56
Compare
# Conflicts: # eng/Subsets.props # eng/native/configureplatform.cmake # src/mono/Directory.Build.props # src/mono/mono.proj
export CLR_CC=$(which emcc) | ||
export CLR_CXX=$(which em++) |
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.
A nit, typically posix-y command -v
is preferred over which
in this repo. (same goes for which false
below)
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.
@am11 I tried that but it didn't work since we expect the full path in CLR_CC
and command -v
doesn't do that (for false
at least)
No description provided.