-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
emscripten has traditionally been configured by a config file
in the current users home directory. emsdk has an --embedded option
that puts the config file within the SDK itself. This is useful for
users who have multiple emscripten installations and/or checkout and
want to have different configuration file for each one.
We should search for .emscripten by default alongside the emscripten
source code, and use the local configuration if found. This will allow
emsdk and other packagers to ship config files inside the emscripten
directory. emsdk and other packages don't need or want a user config
file since they tend to package things in known paths.
The plan is to move towards embedded config (and cache for that matter)
in several stages:
- Switch emsdk --embedded to store the config in the emscripten folder
directly rather than in the emsdk dir. This will allow a different
config for each emscripten version. - Have emscripten, by default, look for a local config file.
- Make --embedded the default for emsdk.
- Stop exporting EM_CONFIG in emsdk (since the config can be found
automatically now). - Have emscripten write the "new user" config file locally by default.
- Default to a local "cache" directory in emscripten.
- Stop supporting config files in $HOME.
kripken and bvibber
Metadata
Metadata
Assignees
Labels
No labels