Skip to content
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

Allow JS -> native dependencies to be specified in __deps. NFC #18849

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 25, 2023

Now that LLD_REPORT_UNDEFINED is always on, we can depend on JS library processing before link time. Extend the existing symbol list to be a list of symbols + native dependencies.

This way we can begin to move reverse dependencies out of deps_info.py and potentially one day completely remove that file. For now it is still needed because indirect dependencies can't be specified in the JS library code yet.

Replaces (and inspired by): #15982

@sbc100 sbc100 requested review from kripken and juj February 25, 2023 01:36
@sbc100 sbc100 force-pushed the remove_deps_info_py branch 5 times, most recently from e1c1b0c to abf6bb8 Compare February 27, 2023 16:08
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm % comments

emcc.py Outdated Show resolved Hide resolved
src/library_html5.js Show resolved Hide resolved
Now that LLD_REPORT_UNDEFINED is always on, we can depend on JS library
processing before link time.  Extend the existing symbol list to be
a list of symbols + native dependencies.

This way we can begin to move reverse dependencies out of deps_info.py
and potentially one day completely remove that file.  For now it is
still needed because indirect dependencies can't be specified in the JS
library code yet.

Replaces (and inspired by): #15982
@sbc100 sbc100 merged commit ca5f2bc into main Feb 27, 2023
@sbc100 sbc100 deleted the remove_deps_info_py branch February 27, 2023 21:12
sbc100 added a commit that referenced this pull request Feb 27, 2023
impact-maker pushed a commit to impact-maker/emscripten that referenced this pull request Mar 17, 2023
…ipten-core#18849)

Now that LLD_REPORT_UNDEFINED is always on, we can depend on JS library
processing before link time.  Extend the existing symbol list to be
a list of symbols + native dependencies.

This way we can begin to move reverse dependencies out of deps_info.py
and potentially one day completely remove that file.  For now it is
still needed because indirect dependencies can't be specified in the JS
library code yet.

Replaces (and inspired by): emscripten-core#15982
impact-maker pushed a commit to impact-maker/emscripten that referenced this pull request Mar 17, 2023
…ipten-core#18849)

Now that LLD_REPORT_UNDEFINED is always on, we can depend on JS library
processing before link time.  Extend the existing symbol list to be
a list of symbols + native dependencies.

This way we can begin to move reverse dependencies out of deps_info.py
and potentially one day completely remove that file.  For now it is
still needed because indirect dependencies can't be specified in the JS
library code yet.

Replaces (and inspired by): emscripten-core#15982
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