Skip to content

Add documentation on how to use local emscripten #1291

@ericoporto

Description

@ericoporto

Hi,

I think the documentation here in the readme has unfortunately aged: https://github.com/emscripten-core/emsdk#how-do-i-use-my-own-emscripten-github-fork-with-the-sdk

I tried to instead just cd upstream/emscripten as emscripten/main dir doesn't exist, but that didn't work either, because that will instead switch the remote of the emsdk local git repo as whole. My hack so far has been to rm -rf emscripten && ln -s ../../emscripten (this surprisingly works in git-bash on windows!), which has my outer clone of emscripten.

There is an issue that I don't know how to install emsdk and activate it, with my fork and branch, without getting

error: BINARYEN_ROOT is set to empty value  C:\Users\user\git\emsdk\upstream\emscripten\.emscripten

I don't know what is the right approach but I guess there is a process everyone here uses - it's just everyone is so used they forgot to document! 😆

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions