Skip to content

Commit 76312c5

Browse files
authored
Add clone of llvm-clang-x86_64-gcc-ubuntu builder that builds without assertions. (#277)
This adds a builder which is a clone of our existing llvm-clang-x86_64-gcc-ubuntu builder, except without assertions enabled. This is useful for finding tests that are added/updated but rely on (usually debug) information that isn't available when assertions are not enabled. This should help to catch those issues.
1 parent 8b5b823 commit 76312c5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,24 @@
10671067
"-DLLVM_LIT_ARGS=--verbose",
10681068
"-DLLVM_TARGETS_TO_BUILD=AArch64"])},
10691069

1070+
{'name': "llvm-clang-x86_64-gcc-ubuntu-no-asserts",
1071+
'tags' : ["llvm", "clang", "clang-tools-extra", "compiler-rt", "lld", "cross-project-tests"],
1072+
'workernames': ["doug-worker-6"],
1073+
'builddir': "gcc-no-asserts",
1074+
'factory': UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory(
1075+
depends_on_projects=['llvm','clang','clang-tools-extra','compiler-rt','lld','cross-project-tests'],
1076+
extra_configure_args=[
1077+
"-DCMAKE_C_COMPILER=gcc",
1078+
"-DCMAKE_CXX_COMPILER=g++",
1079+
"-DCMAKE_BUILD_TYPE=Release",
1080+
"-DCLANG_ENABLE_CLANGD=OFF",
1081+
"-DLLVM_BUILD_RUNTIME=ON",
1082+
"-DLLVM_BUILD_TESTS=ON",
1083+
"-DLLVM_ENABLE_ASSERTIONS=OFF",
1084+
"-DLLVM_INCLUDE_EXAMPLES=OFF",
1085+
"-DLLVM_LIT_ARGS=--verbose",
1086+
"-DLLVM_USE_LINKER=lld"])},
1087+
10701088
# Polly builders.
10711089

10721090
{'name' : "polly-arm-linux",

buildbot/osuosl/master/config/workers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ def get_all():
346346
create_worker("doug-worker-4", properties={'jobs': 8}, max_builds=1),
347347
create_worker("doug-worker-5", properties={'jobs': 8}, max_builds=1),
348348

349+
# Ubuntu 20.04, AMD Ryzen 5 PRO 3400GE, 32GB
350+
create_worker("doug-worker-6", properties={'jobs': 8}, max_builds=1),
351+
349352
# XCore target, Ubuntu 20.04 x64 host
350353
create_worker("xcore-ubuntu20-x64", properties={'jobs': 4}, max_builds=1),
351354

0 commit comments

Comments
 (0)