aminya / aminya/setup-cpp

Support emscripten

Open
#156 1 comment 0 reactions 0 assignees View on GitHub

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 (?)

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.