Skip to content

Commit 5b77f35

Browse files
authored
Add LLDB builder for x86_64/win target host -- lldb-x86_64-win. (#452)
Add a new builder for LLDB project to support x86_64/Windows target and host.
1 parent e7c3dc5 commit 5b77f35

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,6 +1455,50 @@
14551455
'-DLLDB_TEST_USER_ARGS=--skip-category=watchpoint',
14561456
'-DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=ON'])},
14571457

1458+
{'name': "lldb-x86_64-win",
1459+
'tags' : ["lldb"],
1460+
'workernames': ["as-builder-10"],
1461+
'builddir': "lldb-x86-64",
1462+
'factory': UnifiedTreeBuilder.getCmakeExBuildFactory(
1463+
depends_on_projects = ["llvm", "clang", "lld", "lldb"],
1464+
enable_runtimes = None,
1465+
checks = [
1466+
"check-lldb-unit",
1467+
"check-lldb-api",
1468+
"check-lldb-shell",
1469+
],
1470+
vs = "autodetect",
1471+
clean = True,
1472+
cmake_definitions = {
1473+
"CMAKE_BUILD_TYPE" : "Release",
1474+
"CMAKE_C_COMPILER_LAUNCHER" : "ccache",
1475+
"CMAKE_CXX_COMPILER_LAUNCHER" : "ccache",
1476+
"CMAKE_CXX_FLAGS" : "-D__OPTIMIZE__",
1477+
"CMAKE_MSVC_RUNTIME_LIBRARY" : "MultiThreadedDLL",
1478+
1479+
"LLVM_ENABLE_ASSERTIONS" : "ON",
1480+
"LLVM_INCLUDE_BENCHMARKS" : "OFF",
1481+
"LLVM_PARALLEL_LINK_JOBS" : 8,
1482+
"LLVM_LIT_ARGS" : "-v -vv --threads=32 --time-tests",
1483+
1484+
"LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS" : "ON",
1485+
"LLDB_ENABLE_SWIG" : "ON ",
1486+
"LLDB_ENABLE_LIBEDIT" : "OFF",
1487+
"LLDB_ENABLE_CURSES" : "OFF",
1488+
"LLDB_ENABLE_LZMA" : "OFF",
1489+
"LLDB_ENABLE_LIBXML2" : "OFF",
1490+
"LLDB_CAN_USE_LLDB_SERVER" : "ON",
1491+
},
1492+
env = {
1493+
'LLDB_USE_LLDB_SERVER' : "1",
1494+
'CCACHE_DIR' : util.Interpolate("%(prop:builddir)s/ccache-db"),
1495+
# TMP/TEMP within the build dir (to utilize a ramdisk).
1496+
'TMP' : util.Interpolate("%(prop:builddir)s/build"),
1497+
'TEMP' : util.Interpolate("%(prop:builddir)s/build"),
1498+
},
1499+
)
1500+
},
1501+
14581502
# LLD builders.
14591503

14601504
{'name' : "ppc64le-lld-multistage-test",

buildbot/osuosl/master/config/status.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ def getReporters():
259259
"llvm-clang-win-x-armv7l", "llvm-clang-win-x-aarch64",
260260
"llvm-nvptx-nvidia-ubuntu", "llvm-nvptx64-nvidia-ubuntu",
261261
"llvm-nvptx-nvidia-win", "llvm-nvptx64-nvidia-win",
262-
"lldb-remote-linux-ubuntu", "lldb-remote-linux-win"])
262+
"lldb-remote-linux-ubuntu", "lldb-remote-linux-win",
263+
"lldb-x86_64-win"])
263264
]),
264265
reporters.MailNotifier(
265266
fromaddr = status_email_fromaddr,
@@ -268,7 +269,8 @@ def getReporters():
268269
generators = [
269270
utils.LLVMDefaultBuildStatusGenerator(
270271
builders = [
271-
"lldb-remote-linux-ubuntu", "lldb-remote-linux-win"])
272+
"lldb-remote-linux-ubuntu", "lldb-remote-linux-win",
273+
"lldb-x86_64-win"])
272274
]),
273275
reporters.MailNotifier(
274276
fromaddr = status_email_fromaddr,

0 commit comments

Comments
 (0)