Skip to content

Commit

Permalink
Add clone of llvm-clang-x86_64-gcc-ubuntu builder that builds without…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
dyung authored Dec 17, 2024
1 parent 8b5b823 commit 76312c5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,24 @@
"-DLLVM_LIT_ARGS=--verbose",
"-DLLVM_TARGETS_TO_BUILD=AArch64"])},

{'name': "llvm-clang-x86_64-gcc-ubuntu-no-asserts",
'tags' : ["llvm", "clang", "clang-tools-extra", "compiler-rt", "lld", "cross-project-tests"],
'workernames': ["doug-worker-6"],
'builddir': "gcc-no-asserts",
'factory': UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory(
depends_on_projects=['llvm','clang','clang-tools-extra','compiler-rt','lld','cross-project-tests'],
extra_configure_args=[
"-DCMAKE_C_COMPILER=gcc",
"-DCMAKE_CXX_COMPILER=g++",
"-DCMAKE_BUILD_TYPE=Release",
"-DCLANG_ENABLE_CLANGD=OFF",
"-DLLVM_BUILD_RUNTIME=ON",
"-DLLVM_BUILD_TESTS=ON",
"-DLLVM_ENABLE_ASSERTIONS=OFF",
"-DLLVM_INCLUDE_EXAMPLES=OFF",
"-DLLVM_LIT_ARGS=--verbose",
"-DLLVM_USE_LINKER=lld"])},

# Polly builders.

{'name' : "polly-arm-linux",
Expand Down
3 changes: 3 additions & 0 deletions buildbot/osuosl/master/config/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ def get_all():
create_worker("doug-worker-4", properties={'jobs': 8}, max_builds=1),
create_worker("doug-worker-5", properties={'jobs': 8}, max_builds=1),

# Ubuntu 20.04, AMD Ryzen 5 PRO 3400GE, 32GB
create_worker("doug-worker-6", properties={'jobs': 8}, max_builds=1),

# XCore target, Ubuntu 20.04 x64 host
create_worker("xcore-ubuntu20-x64", properties={'jobs': 4}, max_builds=1),

Expand Down

0 comments on commit 76312c5

Please sign in to comment.