bazelbuild/bazel

Help needed in getting bazel build command working on Windows from a mapped network drive

Open

#28,321 创建于 2026年1月16日

在 GitHub 查看
 (20 评论) (0 反应) (0 负责人)Java (4,465 fork)batch import
P3area-Windowsawaiting-user-responsehelp wantedteam-OSS

仓库指标

Star
 (25,384 star)
PR 合并指标
 (平均合并 22天 20小时) (30 天内合并 77 个 PR)

描述

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 : https://bazel.build/start/cpp 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.

When I examine the command text file created in output base directory, within the server directory I see that the workspace-directory option to the bazel server command was empty. Has anyone seen this before and has recommendations on how to proceed?

Please let me know if more details are needed.

贡献者指南