-
Notifications
You must be signed in to change notification settings - Fork 668
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
Bazel windows support #929
Conversation
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.
Nice one!
Mostly makes sense to me. The pip install
thing seems a little heavy weight, but if its just one once on first use I guess its fine.
Will leave the final lgtm to @walkingeyerobot
Haven't had a chance to dig into this fully yet, but looks good so far! I'll submit a full review later this week. |
Overall I'm happy with this. I'd like to eliminate the For a bit more context, a long time ago this was purely an asmjs toolchain. As such, it would only output a single file, which was a js file. When wasm support was added, suddenly we needed to output the .wasm and the .js files, but cc_binary wouldn't support that, so we decided to roll them into a tar, leaving in place the logic that if only a single file had been outputted we would simply copy it. Looking back, it would have been simpler and better to just always tar the result. |
Ok, I made #936 to remove the need to add the I think |
oh, and we need a test-bazel-windows on circleci |
Sorry for the delay, but you should be able to get away without the python dep now that #936 is merged |
@walkingeyerobot I've rebased against the latest main branch and added a (untested) circle CI job for windows with bazel. I didn't change |
This is almost certainly stuck on circleci. @zaucy I think you have to log in to circleci (no paid account required or anything) and then rebase, and that should be enough of a kick to actually run the tests. |
Head branch was pushed to by a user without write access
Looks like the windows test can't find python. maybe it's pointing to the wrong path somewhere? |
I couldn't seem to find if there was a |
@walkingeyerobot The bazel CI is passing now. I used Hope those changes are acceptable :) |
Thanks very much for this, and I appreciate your patience with the lengthy review! |
closes #814
scripts/update_bazel_workspace.sh
to calculate sha from.zip
archive for windows.bat
file equivalent scripts for use on windowscp
andfile
commands in favour of python modulesfiletype
dependency forwasm_binary.py
instead of relying onfile