Skip to content

maint(linux): fix locate_emscripten if $EMSCRIPTEN_BASE dir missing 🐘#14347

Merged
ermshiperete merged 1 commit intomasterfrom
maint/linux/13464_emscripten
Jul 23, 2025
Merged

maint(linux): fix locate_emscripten if $EMSCRIPTEN_BASE dir missing 🐘#14347
ermshiperete merged 1 commit intomasterfrom
maint/linux/13464_emscripten

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

If the $EMSCRIPTEN_BASE dir is missing (which usually points to emsdk/upstream/emscripten), but we have the emsdk root directory with emsdk/emsdk, we can have everything we need to install the desired emscripten version.

Issue #13464 describes an error where the upstream/emscripten directory was missing - probably because the build got interrupted while installing emscripten. This change fixes this.

Fixes: #13464
Test-bot: skip

@ermshiperete ermshiperete requested review from mcdurdin and rc-swag July 11, 2025 19:31
@github-project-automation github-project-automation bot moved this to Todo in Keyman Jul 11, 2025
@github-actions github-actions bot added resources/ linux/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Jul 11, 2025
@ermshiperete ermshiperete changed the title maint(linux): fix locate_emscripten if $EMSCRIPTEN_BASE dir missing maint(linux): fix locate_emscripten if $EMSCRIPTEN_BASE dir missing 🐘 Jul 11, 2025
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S7 milestone Jul 11, 2025
If the `$EMSCRIPTEN_BASE` dir is missing (which usually points to
`emsdk/upstream/emscripten`), but we have the `emsdk` root directory
with `emsdk/emsdk`, we can have everything we need to install the
desired emscripten version.

Issue #13464 describes an error where the `upstream/emscripten` directory
was missing - probably because the build got interrupted while installing
emscripten. This change fixes this.

Fixes: #13464
Test-bot: skip
@ermshiperete ermshiperete force-pushed the maint/linux/13464_emscripten branch from a7a2788 to e634f20 Compare July 11, 2025 19:37
@github-actions github-actions bot added linux/ and removed linux/ labels Jul 11, 2025
Copy link
Copy Markdown
Contributor

@rc-swag rc-swag left a comment

Choose a reason for hiding this comment

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

lgtm

@keyman-server keyman-server modified the milestones: A19S7, A19S8 Jul 20, 2025
Base automatically changed from maint/common/locate_emscr_tests to master July 23, 2025 13:59
@ermshiperete ermshiperete merged commit 0f9d4e4 into master Jul 23, 2025
29 checks passed
@ermshiperete ermshiperete deleted the maint/linux/13464_emscripten branch July 23, 2025 14:15
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jul 23, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.88-alpha

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

Labels

linux/ maint Maintenance work -- continuous integration, build scripts, infrastructure resources/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

chore(linux): ba-jammy-64-ta seems to have a broken emscripten setup now

4 participants