[PATCH] D53158: [buildbot, windows] Update the way the visual studio environment is set
Stella Stamenova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 11:56:25 PDT 2018
stella.stamenova added inline comments.
================
Comment at: zorg/buildbot/builders/Util.py:27
+ vs_path = subprocess.check_output(cmd).strip()
+ vcvars_command = pjoin(vs_path, 'VC', 'Auxiliary', 'Build', 'vcvarsall.bat')
+ else:
----------------
gkistanova wrote:
> Please do not use OS specific path handling, as this gets evaluated on the build master. OS build master is running under, and the OS where the build happens are usually different.
Ok, so this is not the right change then as vswhere needs to run on the OS where the build is going to happen - otherwise, we will not correctly detect the version of visual studio. Is there a way to specify that we want the command to run on the build slave?
Repository:
rL LLVM
https://reviews.llvm.org/D53158
More information about the llvm-commits
mailing list