Support emscripten
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 276
- Forks
- 37
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 12
Description
Similar to llvm, install emscripten in ~/emscripten (?)
- Install on Linux
- Ubuntu:
apt-get install emscripten? - Arch: https://archlinux.org/packages/community/x86_64/emscripten/
- Fedora:
dnf install emscripten?
- Ubuntu:
- Windows: https://community.chocolatey.org/packages/emscripten ???
- MacOS: https://formulae.brew.sh/formula/emscripten ???
- add
./emsdk_env.shin to~/.cpprc(?) @aminya
See docker in project_options ...
# Get the emsdk repo
git clone https://github.com/emscripten-core/emsdk.git /root/emsdk
# Download and install the latest SDK tools.
/root/emsdk/emsdk install latest
# Make the "latest" SDK "active" for the current user. (writes .emscripten file)
/root/emsdk/emsdk activate latest
# Get emscripten repo, for Emscripten.cmake
git clone https://github.com/emscripten-core/emscripten /root/emscripten
Example:
.\setup_cpp_windows --compiler emscripten --cmake true --ninja true --ccache true --vcpkg true
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing LLVM setup with the setup_cpp_windows --compiler emscripten example and the linked docker/Dockerfile.emscripten. Resolve installation and environment setup for Linux, Windows, and macOS, including the proposed ~/.cpprc entry. Done means the Emscripten compiler setup works across the listed platforms with the documented CMake, Ninja, ccache, and vcpkg options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, docker, git
- Domain
- build-system, compilers, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100