Skip to content

Commit a1b0d9a

Browse files
[PGO] Add Profcheck Buildbot (#551)
This patch adds the infrastructure for a buildbot for the profcheck configuration (LLVM_ENABLE_PROFCHECK=ON). This patch does not yet add machinery for excluding currently failing tests/other tests that we want to ignore. Issue #147390
1 parent 3d44af7 commit a1b0d9a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,6 +3558,24 @@
35583558
checkout_llvm_sources=False,
35593559
extra_args=["Windows"],
35603560
depends_on_projects=["clang-tools-extra", "clang", "libclc", "lld", "llvm", "mlir", "polly"])},
3561+
3562+
# Builders for the profcheck configuration
3563+
# These workers run builds with LLVM_ENABLE_PROFCHECK=ON to ensure
3564+
# that profile information is propagated correctly.
3565+
{'name' : "profcheck",
3566+
'workernames' : ["profcheck-b1", "profcheck-b2"],
3567+
'builddir': "profcheck-build",
3568+
'factory' : UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory(
3569+
clean=True,
3570+
depends_on_projects=['llvm'],
3571+
extra_configure_args=[
3572+
"-DCMAKE_BUILD_TYPE=Release",
3573+
"-DCMAKE_C_COMPILER_LAUNCHER=ccache",
3574+
"-DCMAKE_CXX_COMPILER_LAUNCHER=ccache",
3575+
"-DLLVM_ENABLE_ASSERTIONS=ON",
3576+
"-DLLVM_LIT_ARGS='--exclude-xfail'",
3577+
"-DLLVM_ENABLE_PROFCHECK=ON",
3578+
])},
35613579
]
35623580

35633581
# LLDB remote-linux builder env variables.

buildbot/osuosl/master/config/workers.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,12 @@ def get_all():
413413
create_worker("premerge-us-west-linux", properties={'jobs': 64}, max_builds=3),
414414
create_worker("premerge-us-west-windows", properties={'jobs': 64}, max_builds=3),
415415

416+
# Workers for the profcheck configuration
417+
# These workers run builds with LLVM_ENABLE_PROFCHECK=ON to ensure
418+
# that profile information is propagated correctly.
419+
create_worker("profcheck-b1", properties={'jobs': 64}, max_builds=1),
420+
create_worker("profcheck-b2", properties={'jobs': 64}, max_builds=1),
421+
416422
# FIXME: A placeholder for annoying worker which nobody could stop.
417423
# adding it avoid logs spammed by failed authentication for that worker.
418424
create_worker("mlir-ubuntu-worker0"),

0 commit comments

Comments
 (0)