Skip to content

Merge tools now that OS-specific keys are possible - #1768

Open
sbc100 wants to merge 1 commit into
mainfrom
merge_configs
Open

Merge tools now that OS-specific keys are possible#1768
sbc100 wants to merge 1 commit into
mainfrom
merge_configs

Conversation

@sbc100

@sbc100 sbc100 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Since #1761 we now have os-specific keys so we don't need separate entries in these cases anymore.

@sbc100
sbc100 requested review from juj and kripken August 4, 2026 23:14
Comment thread emsdk_manifest.json Outdated
sbc100 added a commit that referenced this pull request Aug 5, 2026
Rename the `uses` tool property to `deps` in `emsdk.py` and
`emsdk_manifest.json`. See #1768 for an example of when this name makes
more sense. We also use the term "deps" in emscripten already so this is
more consistent.

Update `--uses` flag description and parsing in `emsdk list` to use
`--deps`.
Since #1761 we now have os-specific keys so we don't need separate
entries in these cases anymore.
@sbc100
sbc100 requested a review from kripken August 5, 2026 20:51
Comment thread emsdk.py
return self.url is not None
# Tools/SDKs without an explicit 'os' filter are compatible if they specify
# a download URL *or* have dependencies.
return self.url is not None or bool(self.deps)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason this is needed is the previously the "sdks" were listed as one-per-os, but now there is just a single one with deps and deps_linux.

Prior to this change the return statement above on line 1963 would always fire for SDKs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants