[Lldb-commits] [PATCH] D16695: Update LLDB Windows buildbot to use MSVC 2015 and Python 3.5
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 28 14:54:55 PST 2016
zturner created this revision.
zturner added a reviewer: gkistanova.
zturner added a subscriber: lldb-commits.
Hi Galina,
I've already got everything ready to go on the slave itself, so this CL can go in any time and it should start working. LMK if this looks ok.
http://reviews.llvm.org/D16695
Files:
buildbot/osuosl/master/config/builders.py
zorg/buildbot/builders/LLDBBuilder.py
Index: zorg/buildbot/builders/LLDBBuilder.py
===================================================================
--- zorg/buildbot/builders/LLDBBuilder.py
+++ zorg/buildbot/builders/LLDBBuilder.py
@@ -49,10 +49,10 @@
jobs="%(jobs)s",
# Source directory containing a built python
- python_source_dir=r'C:/src/python',
+ python_source_dir=r'C:/Python35',
# Default values for VS devenv and build configuration
- vs=r"""%VS120COMNTOOLS%""",
+ vs=r"""%VS140COMNTOOLS%""",
config='Release',
target_arch='x86',
@@ -91,26 +91,12 @@
doStepIf=cleanBuildRequested
))
- if config.lower() == 'release':
- python_lib = 'python27.lib'
- python_exe = 'python.exe'
- elif config.lower() == 'debug':
- python_lib = 'python27_d.lib'
- python_exe = 'python_d.exe'
-
- python_lib = os.path.join(python_source_dir, 'PCbuild', python_lib)
- python_exe = os.path.join(python_source_dir, 'PCbuild', python_exe)
- python_include = os.path.join(python_source_dir, 'Include')
-
# Use batch files instead of ShellCommand directly, Windows quoting is
# borked. FIXME: See buildbot ticket #595 and buildbot ticket #377.
f.addStep(batch_file_download.BatchFileDownload(name='cmakegen',
command=[cmake, "-G", "Ninja", "../llvm",
"-DCMAKE_BUILD_TYPE="+config,
- # Need to use our custom built version of python
- '-DPYTHON_LIBRARY=' + python_lib,
- '-DPYTHON_INCLUDE_DIR=' + python_include,
- '-DPYTHON_EXECUTABLE=' + python_exe,
+ '-DPYTHON_HOME=' + python_source_dir,
"-DCMAKE_INSTALL_PREFIX=../install"]
+ extra_cmake_args,
workdir=build_dir))
Index: buildbot/osuosl/master/config/builders.py
===================================================================
--- buildbot/osuosl/master/config/builders.py
+++ buildbot/osuosl/master/config/builders.py
@@ -519,7 +519,7 @@
# LLDB builders.
def _get_lldb_builders():
return [
- {'name': "lldb-x86-windows-msvc",
+ {'name': "lldb-x86-windows-msvc2015",
'slavenames': ["zturner-win2008"],
'builddir': "lldb-windows-x86",
'factory': LLDBBuilder.getLLDBWindowsCMakeBuildFactory(config='Debug')},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16695.46316.patch
Type: text/x-patch
Size: 2663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160128/9f6f6efa/attachment.bin>
More information about the lldb-commits
mailing list