Getting bazel build command working on Windows from a mapped network drive

12 views
Skip to first unread message

Shubham Srivastava

unread,
10:05 AM (2 hours ago) 10:05 AM
to bazel-discuss
Can someone provide me guidance on how to invoke bazel from a mapped network drive that holds my bazel workspace?

I have a very simple setup based on the Bazel tutorial examples mentioned here Bazel Tutorial: Build a C++ Project. This setup along with the examples of bazel build works from my local drive but when I move this setup to the network drive and run bazel build command from the workspace directory the bazel command just stalls. I have observed that when I do this the bazel server doesn't even start.

To investigate more when I examined the command text file created in output base directory, I saw that the workspace-directory option to the bazel server command was empty. Has anyone seen this before and has recommendations on how to proceed?

Best,
Shubham
Reply all
Reply to author
Forward
0 new messages