-
Notifications
You must be signed in to change notification settings - Fork 77
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
Initial WebAssembly support. #175
base: master
Are you sure you want to change the base?
Commits on Feb 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8f0a9d3 - Browse repository at this point
Copy the full SHA 8f0a9d3View commit details
Commits on Feb 25, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for 8883f64 - Browse repository at this point
Copy the full SHA 8883f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for c888196 - Browse repository at this point
Copy the full SHA c888196View commit details -
WebAssembly: Use unix locks when threads enabled.
When compiling with `-s USE_PTHREADS` in emscripten, Posix threads and locks are available (assuming the WebAssembly VM supports this extension). This can be detected at compile time by checking for the preprocessor definition `__EMSCRIPTEN_PTHREADS__`. In the absence of this definition, we request a single threaded configuration which falls back to the implementation in `lockan.c`. This works when building `mps.c`, but does not work when using the older Makefile-based build system as when building `lockix.c` as a standalone file, `mpstd.h` is not included prior to the relevant portion of `config.h` being processed.
Configuration menu - View commit details
-
Copy full SHA for 3e4f95c - Browse repository at this point
Copy the full SHA 3e4f95cView commit details
Commits on Feb 26, 2023
-
Initial take on CI for emscripten.
This uses GitHub actions and installs the Emscripten SDK's latest version and activates it. At some point, this should probably change to a fixed version that is periodically incremented once some baseline support level is determined. This is just compiling and running what's needed for `amsss` for now until other pieces are in place for building and running more of everything.
Configuration menu - View commit details
-
Copy full SHA for 1a2c28c - Browse repository at this point
Copy the full SHA 1a2c28cView commit details -
WebAssembly: Initial support for make-based build.
This fails still due to threaded tests being built and that failing.
Configuration menu - View commit details
-
Copy full SHA for 34d59e4 - Browse repository at this point
Copy the full SHA 34d59e4View commit details -
testthr.h: Follow the pthreads path for emscripten.
Note that this is only valid as noted in a fixme comment when threads are enabled in emscripten (which is not the default).
Configuration menu - View commit details
-
Copy full SHA for 537848b - Browse repository at this point
Copy the full SHA 537848bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2fed67 - Browse repository at this point
Copy the full SHA c2fed67View commit details
Commits on Feb 27, 2023
-
WebAssembly: Initial support will be single-threaded.
WebAssembly doesn't support `mprotect()` or signals. This will make it hard to support multithreaded or incremental collection for now.
Configuration menu - View commit details
-
Copy full SHA for 5dadc7c - Browse repository at this point
Copy the full SHA 5dadc7cView commit details