Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 25, 2025

For a while now we have been mandating that bootstrap is run before emscripten can be used. This change removes most of the launcher scripts from git (since we can rely on bootstrap to create them).

This helps clean up the top level directory.

I've left emcc and em++ launchers in source control. If anyone runs these without first running bootstrap it will ask them to first run bootstrap.

@sbc100 sbc100 force-pushed the remove_entry_points branch from 61493c0 to 08ad6c3 Compare February 25, 2025 23:02
@sbc100 sbc100 requested a review from dschuff February 25, 2025 23:03
@sbc100
Copy link
Collaborator Author

sbc100 commented Feb 26, 2025

I think I'm going to merge this with the larger change to of moving the entry points to /bin

@sbc100 sbc100 marked this pull request as draft February 26, 2025 00:12
@sbc100 sbc100 force-pushed the remove_entry_points branch from 08ad6c3 to d49fd9a Compare August 9, 2025 13:52
@sbc100 sbc100 force-pushed the remove_entry_points branch from d49fd9a to 9df2c85 Compare August 11, 2025 21:39
@sbc100 sbc100 marked this pull request as ready for review August 11, 2025 21:39
@sbc100 sbc100 requested a review from RReverser August 11, 2025 21:39
@sbc100 sbc100 force-pushed the remove_entry_points branch 3 times, most recently from 49a5d15 to 1ac0f12 Compare August 12, 2025 00:07
@sbc100 sbc100 requested a review from kripken August 12, 2025 00:20
@sbc100 sbc100 enabled auto-merge (squash) August 12, 2025 00:33
For a while now we have been mandating that `bootstrap` is run before
emscripten can be used.  This change removes most of the launcher
scripts from git (since we can rely on bootstrap to create them).

This helps clean up the top level directory.

I've left `emcc` and `em++` launchers in source control.  If anyone runs
these without first running `bootstrap` it will ask them to first run
`bootstrap`.
@sbc100 sbc100 force-pushed the remove_entry_points branch from 1ac0f12 to 0912451 Compare August 12, 2025 15:25
@sbc100 sbc100 merged commit dfd6162 into emscripten-core:main Aug 12, 2025
30 checks passed
@sbc100 sbc100 deleted the remove_entry_points branch August 12, 2025 16:39
sbc100 added a commit to sbc100/emscripten that referenced this pull request Aug 19, 2025
Prior to emscripten-core#23761, when all the launcher script lived in git, our
emscripten-release builder was checking out the launchers scripts and
bundling them will `-rwxr-xr-x` permissions.

Once emscripten-core#23761, and `create_entry_points.py` was used to create them on
demand the `x` bit was lost except for the user.

Fixes: emscripten-core/emsdk#1583
sbc100 added a commit that referenced this pull request Aug 19, 2025
Prior to #23761, when all the launcher script lived in git, our
emscripten-release builder was checking out the launchers scripts and
bundling them will `-rwxr-xr-x` permissions.

Once #23761, and `create_entry_points.py` was used to create them on
demand the `x` bit was lost except for the user.

Fixes: emscripten-core/emsdk#1583
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.

3 participants