-
Notifications
You must be signed in to change notification settings - Fork 71
Windows support #39
Comments
I investigated, and neither TravisCI nor CircleCI have Windows support. So I may try Kokoro, which has the downside that it's only accessible to Googlers. |
@damienmg is it possible to add this to Bazel CI? |
windows-x86_64 is the node name to select a windows slave. You can also just add it to your PR and iterate over your PR until the windows port works well. |
And yes we can add google/subpar to our ci, see https://github.com/bazelbuild/continuous-integration/blob/master/docs/owner.md for the documentation (basically on our CI we add it and you have to add @bazel-io to have write access to the repository, the rest is just fiddling the configuration and can be done on a PR). |
For whomever will work on this issue: if making |
While building a project on windows I received this error: Hope this can be of some help.
Thank you. |
Hi @laszlocsomor - can you share how resolve long path issues. |
Hi @j143 , I don't think this error is related to long paths. Python3 always prints Windows paths in stack traces with the @mattmoor 's in his original post was referring to Line 55 in a32c278
The line numbers in your stack trace do not line up with the current version of From the error message, this looks like an encoding error. It might be fixed in the latest version of the file. To try that, you should use a newer version of subpar. And I believe you need to update your Could you show me the definition of the |
2.with the command
|
In the I don't know if that will help though (I don't work on |
Thank you @laszlocsomor . I am pasting the log file, so somebody might help.
|
Does anyone know if there's been any progress here? |
Does anyone have an update on this ? any workaround? |
I spent some time on this last week and I want to share my findings. The root of the issue - as I understand it, is that the built PAR file can never be run directly on Windows. i.e, you can't So the next best thing is to invoke it as: And that's the change we need to make in the starlark rule that invokes the compiler: https://github.com/google/subpar/blob/master/subpar.bzl#L94 Of course, the version of python we use should be inferred via the There is one wrinkle to be aware of - in the "bootstrap" phase - i.e when you are building the compiler.par. Here we are actually running a (This has some overlap with PR #128) |
Opening this as a general tracking issue for PAR support for Bazel on Windows.
The first issue I'm hitting seems to be where the PAR compiler parses the stub file.
The text was updated successfully, but these errors were encountered: