You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've done this before a year ago, figured out the magic incantation to get Windows builds working. I'm trying to do it again (lost access to that wiki page), and I'm struggling, again. Bazel is a garbage system. I'm having to hack the python_configure.bzl to get it to recognize that Python.exe is actually an executable. PLEASE somebody actually start with a fresh Windows VM and outline the proper steps. So frustrating.
The text was updated successfully, but these errors were encountered:
Thanks much for the link, that'll help. I've gotten pretty far using Git Bash as the environment, MSYS was not doing the right thing for me. Running in a Windows cmd shell absolutely did not work. Newest versions of Bazel have very-breaking changes, and it seems pytorch depends on a newer version of Bazel than 5.0.0 that was originally used for Lyra. It's great tech, but the build process is garbage. There are some good things in that repo you mentioned. I'll post an update here for posterity once I get things working.
Leaving this here for future Windows devs. Lyra is very sensitive to Bazel versions. 5.0.0 did not work, but 5.3.2 does, 7.3.1 does not. Build systems are supposed to be agnostic to what they build. Sigh. Seems to me Bazel is increasing fragility of codebases, but hey, nobody asked my opinion. ;-)
I've done this before a year ago, figured out the magic incantation to get Windows builds working. I'm trying to do it again (lost access to that wiki page), and I'm struggling, again. Bazel is a garbage system. I'm having to hack the python_configure.bzl to get it to recognize that Python.exe is actually an executable. PLEASE somebody actually start with a fresh Windows VM and outline the proper steps. So frustrating.
The text was updated successfully, but these errors were encountered: