-
Notifications
You must be signed in to change notification settings - Fork 715
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
Add documentation on how to use local emscripten #1291
Comments
I guess the docs that are here are supposed to mysteriously explain this in some other way, but |
The As for the docs at https://github.com/emscripten-core/emsdk#how-do-i-use-my-own-emscripten-github-fork-with-the-sdk, I agree they are perhpas out-of-date or confusing. They are referring to how using a custom branch in the "build-from-source" scenario which is different way to use emsdk. Most folks don't use that method so we should probably either remove or update the question. |
I don't understand this yet, I don't want to pass a " (but like, it's Sunday, I am ok getting a better answer during the week :p) |
The To use your emscripten just make sure it comes first in the PATH. Then you run |
In other words the |
Sorry, what are supposed the contents of this file? I think it's not being created. I am on Windows. I would like to create it by hand. |
The If you don't want to use emsdk and you want to build your own dependencies for some reason you can create a However, I would strongly recommend using emsdk since that avoids build the dependencies yourself. |
I had this question as well. I want to figure out why DWARF was not correctly generated. So I want to git clone the emscripten-core repository and debug. Briefly, I want:
What I tried:
Here is my final solution:
This install and activate the prebuilt dependencies.
This makes the dependencies available.
This might be optional. My project use this env var to locate emscripten CMake toolchain.
I don't know why this is required, but I have to do this. |
Your solution looks good. The The |
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
asemscripten/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 torm -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
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! 😆
The text was updated successfully, but these errors were encountered: