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

Fix local wasm build issues on Ubuntu 22.04 LTS #270

Merged
merged 4 commits into from
Nov 9, 2024
Merged

Conversation

iamazeem
Copy link
Collaborator

@iamazeem iamazeem commented Nov 8, 2024

  • Fix some build issues encountered locally
  • Fix README typo
  • Update alert message format for better UX e.g. two decimal places for elapsed time in milliseconds, etc.
  • Ignore generated files

Signed-off-by: Azeem Sajid [email protected]

@iamazeem iamazeem added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 8, 2024
@iamazeem iamazeem self-assigned this Nov 8, 2024
@iamazeem iamazeem requested a review from liquidaty November 8, 2024 11:00
@iamazeem
Copy link
Collaborator Author

iamazeem commented Nov 8, 2024

@liquidaty: Please review and merge. Thanks!

@iamazeem
Copy link
Collaborator Author

iamazeem commented Nov 8, 2024

I was able to compile with emconfigure and emmake like this:

$ CROSS_COMPILING=yes PREFIX=amd64-linux-wasm emconfigure ./configure CONFIGFILE=config.emcc --enable-pic --disable-pie
$ emmake make build CONFIGFILE=config.emcc CFLAGS="-msse2 -msimd128 -fpic -pthread" LDFLAGS="-fpic -pthread"
$ emmake make install CONFIGFILE=config.emcc

@liquidaty liquidaty merged commit f5944c2 into main Nov 9, 2024
11 checks passed
@liquidaty liquidaty deleted the wasm-updates branch November 9, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants