-
Notifications
You must be signed in to change notification settings - Fork 694
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
Catch-22: Running bootstrap.py requires Binaryen in config, but it's not there until having installed Emscripten #1475
Comments
Yes, the idea is the bootstrap.py is run only by those using emscripten directly via git and/or those producing binary packages. The users of emsdk (or the unity equivalent) should not be expected to run the boostrap process because, by definition, they already have all the dependencies they need. Do you use |
Yes, that's right.
That would be a good way I think. Do you recall off the top of your head what bootstrap.py is currently needing Binaryen for? |
The problem is that simply importing Too many things depend on doing things like The alternative change is to delay running of bootstrap until after we have a valid emscripten config file.. presumably emscripten depends (in the emsdk sense) on both binaryen and llvm, so those tools do exist at the time when you run bootstrap, but they just are not in a config file. Perhaps we could create a config file before we run bootstrap in emsdk.py? That soltuion might be quicker to get running. |
I realize now my PR #1444 is botched up.
When run on a clean installation (git clone and then
emsdk install sdk-main64bit
), the bootstrap.py step fails, because it needs to see .emscripten_config generated to find Binaryen.But .emscripten_config cannot be generated until the SDK has been installed and activated. Need to figure something else out.
For Unity use, we absolutely cannot have the bootstrap.py functionality at all: Emscripten will be installed into a read-only directory in the filesystem, so everything is frozen. So it is desirable to be able to have emsdk run bootstrap.py in some form during installation stage.
The text was updated successfully, but these errors were encountered: