bazelbuild/bazel

System-specific environment variables on Windows pollute remote cache

Open

#3,500 创建于 2017年8月3日

在 GitHub 查看
 (16 评论) (0 反应) (0 负责人)Java (4,465 fork)batch import
P4help wantedteam-Remote-Exectype: bug

仓库指标

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

描述

Description of the problem / feature request / question:

When building C++ rules on Windows with MSVC, system-specific environment variables are part of the inputs, i.e.

SET TEMP=C:\Users\<my_user>\AppData\Local\Temp
SET TMP=C:\Users\<my_user>\AppData\Local\Temp
SET PATH="...;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Bitvise SSH Client;..."

For remote caching, this prevents sharing outputs between different systems.

Environment info

  • Operating System: Windows 10

  • Bazel version (output of bazel info release): release 0.5.4rc1

Have you found anything relevant by searching the web?

https://groups.google.com/forum/#!topic/bazel-discuss/4GV8lJzfeGQ

贡献者指南