bazelbuild/bazel

System-specific environment variables on Windows pollute remote cache

Open

#3500 aperta il 3 ago 2017

Vedi su GitHub
 (16 commenti) (0 reazioni) (0 assegnatari)Java (4465 fork)batch import
P4help wantedteam-Remote-Exectype: bug

Metriche repository

Star
 (25.384 star)
Metriche merge PR
 (Merge medio 22g 20h) (77 PR mergiate in 30 g)

Descrizione

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

Guida contributor