-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[cmake] Fix path to "emscan-deps" on windows #25953
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
Conversation
|
test-mac-arm64 is a false negative - test was skipped according to circleci. |
sbc100
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
IIUC this bug should only effect windows since EMCC_SUFFIX is empty otherwise. I'm not sure what you mean by "no bash script".. emscan-deps should have |
That is how it appears on my system. |
|
If your system is windows then its currently expected that we ship only the It seems they maybe some reason to ship both though. i.e. msys support? |
Yes, my system is Windows and this appears to be the case (although I don't think MSys2 support would be a reason... The tools are already cross-compilers, why run a cross-compiler for a non-Linux platform on MSys2? |
Is this good or bad that this separate command prompt opens? Sounds like maybe not what you want? I think for WSL users you should probably just install linux version of the SDK. Trying to use the windows SDK from WSL sounds like something we don't currently test/support. |
Agreed.
Erm... Opening a separate command prompt when I already executed it from a command prompt isn't what I want. In fact with Windows Terminal it closes right after finishing the command. To fix this, just... don't ship with Bash scripts. This only happened with emcc and I just had to specify the |
No, we should remove it before shipping. We include the bash script in the git repository so that folks who do a an initial |
i.e. don't install .bat files unless we are running on windows. See emscripten-core#25953 (comment)
On windows you can still run bash scripts through the git bash terminal, while I havent done it with emscripten I did that for other projects when using Claude Code which uses git bash as terminal and runs bash scripts and only runs .bat files with the "cmd /c xyz.bat" command. In such cases having the bash files is convenient, while not impossible to workaround though. |
COMMENT: on my download of emscripten there is no bash script for "scan deps"... is this intentional?