[patch] systemtap clang builder and more --disable-silent-rules
Frank Ch. Eigler
fche@elastic.org
Sat Jun 13 20:27:21 GMT 2026
commit d08b6ed1ae369c51d1a99b211ff5f67a39047d36 (HEAD -> main)
gpg: Signature made Sat 13 Jun 2026 04:26:09 PM EDT
gpg: using EDDSA key C60CFE9F27405101D06DE3B86D8D01ADE253B252
gpg: Good signature from "Frank Ch. Eigler <fche@sourceware.org>" [ultimate]
gpg: aka "Frank Ch. Eigler <fche@elastic.org>" [ultimate]
Primary key fingerprint: C60C FE9F 2740 5101 D06D E3B8 6D8D 01AD E253 B252
Author: Frank Ch. Eigler <fche@redhat.com>
Date: Sat Jun 13 16:26:09 2026 -0400
Add systemtap-fedrawhide-clang-x86_64 builder and cleanup make V=1
diff --git a/builder/master.cfg b/builder/master.cfg
index 0bada21cce6b..01fec82a3840 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -1208,13 +1208,15 @@ systemtap_scheduler = schedulers.SingleBranchScheduler(
change_filter=util.ChangeFilter(project="systemtap",
branch="master"),
reason="systemtap project master branch update",
- builderNames=["systemtap-fedrawhide-x86_64"])
+ builderNames=["systemtap-fedrawhide-x86_64",
+ "systemtap-fedrawhide-clang-x86_64"])
# "systemtap-gentoo-sparc"])
c['schedulers'].append(systemtap_scheduler)
systemtap_scheduler2 = schedulers.Nightly(
name='weekly systemtap rebuild',
- builderNames=["systemtap-fedrawhide-x86_64"],
+ builderNames=["systemtap-fedrawhide-x86_64",
+ "systemtap-fedrawhide-clang-x86_64"],
# "systemtap-gentoo-sparc"],
dayOfWeek=0, hour=0, minute=0) # monday morning midnight
c['schedulers'].append(systemtap_scheduler2)
@@ -5444,19 +5446,19 @@ systemtap_factory.addStep(steps.Configure(
logfiles={"config.log": "config.log"}))
systemtap_factory.addStep(steps.Compile(
workdir='stap-build',
- command=addOutputSync.withArgs(['make', 'V=1',
+ command=addOutputSync.withArgs(['make',
util.Interpolate('-j%(prop:maxcpus)s')]),
name='make',
haltOnFailure=True))
systemtap_factory.addStep(steps.Compile(
workdir='stap-build',
- command=['make', 'V=1', 'install', util.Interpolate('-j%(prop:maxcpus)s')],
+ command=['make', 'install', util.Interpolate('-j%(prop:maxcpus)s')],
name='make install',
haltOnFailure=True))
systemtap_factory.addStep(steps.Test(
workdir='stap-build',
command=['env', 'DEBUGINFOD_URLS=https://debuginfod.elfutils.org/ https://debuginfod.fedoraproject.org/ https://debuginfod.centos.org/',
- 'make', 'V=1', 'check', 'RUNTESTFLAGS=environment_sanity.exp'],
+ 'make', 'check', 'RUNTESTFLAGS=environment_sanity.exp'],
name='make check smoke test',
haltOnFailure=False, flunkOnFailure=True))
@@ -5526,7 +5528,7 @@ systemtap_factory.addStep(steps.Test(
systemtap_factory.addStep(steps.Test(
workdir='stap-build',
command=['env', 'DEBUGINFOD_URLS=https://debuginfod.elfutils.org/ https://debuginfod.fedoraproject.org/ https://debuginfod.centos.org/',
- 'make', 'V=1', 'check'], # but not installcheck - this is the unprivileged subset of the testsuite
+ 'make', 'check'], # but not installcheck - this is the unprivileged subset of the testsuite
name='make check',
doStepIf=doStepIfPreviousPassed,
haltOnFailure=False, flunkOnFailure=False)) # some failures are normal for stap
@@ -5546,6 +5548,66 @@ systemtap_fedrawhide_x86_64_builder = util.BuilderConfig(
factory=systemtap_factory)
c['builders'].append(systemtap_fedrawhide_x86_64_builder)
+systemtap_clang_factory = util.BuildFactory()
+systemtap_clang_factory.addStep(steps.Git(
+ repourl=systemtap_repourl,
+ workdir='systemtap',
+ mode='full', method='fresh',
+ retryFetch=True, retry=(30,3),
+ getDescription={'tags':True, 'always':True},
+ name="git checkout",
+ haltOnFailure=True))
+systemtap_clang_factory.addStep(steps.ShellCommand(
+ command=["rm", "-rf",
+ util.Interpolate ("%(prop:builddir)s/stap-build")],
+ name="rm -rf stap-build",
+ haltOnFailure=True))
+systemtap_clang_factory.addStep(steps.Configure(
+ workdir="stap-build",
+ command=["../systemtap/configure", util.Interpolate ("--prefix=%(prop:builddir)s/stap-build/INST"), "--disable-silent-rules", "CC=clang", "CXX=clang++"],
+ name="configure",
+ haltOnFailure=True,
+ logfiles={"config.log": "config.log"}))
+systemtap_clang_factory.addStep(steps.Compile(
+ workdir='stap-build',
+ command=addOutputSync.withArgs(['make',
+ util.Interpolate('-j%(prop:maxcpus)s')]),
+ name='make',
+ haltOnFailure=True))
+systemtap_clang_factory.addStep(steps.Compile(
+ workdir='stap-build',
+ command=['make', 'install', util.Interpolate('-j%(prop:maxcpus)s')],
+ name='make install',
+ haltOnFailure=True))
+systemtap_clang_factory.addStep(steps.Test(
+ workdir='stap-build',
+ command=['env', 'DEBUGINFOD_URLS=https://debuginfod.elfutils.org/ https://debuginfod.fedoraproject.org/ https://debuginfod.centos.org/',
+ 'make', 'check', 'RUNTESTFLAGS=environment_sanity.exp'],
+ name='make check smoke test',
+ haltOnFailure=False, flunkOnFailure=True))
+systemtap_clang_factory.addStep(steps.Test(
+ workdir='stap-build',
+ command=['env', 'DEBUGINFOD_URLS=https://debuginfod.elfutils.org/ https://debuginfod.fedoraproject.org/ https://debuginfod.centos.org/',
+ 'make', 'check'], # but not installcheck - this is the unprivileged subset of the testsuite
+ name='make check',
+ doStepIf=doStepIfPreviousPassed,
+ haltOnFailure=False, flunkOnFailure=False)) # some failures are normal for stap
+systemtap_clang_factory.addStep(steps.ShellCommand(
+ workdir="stap-build",
+ command=["rm", "-rf", "testsuite/.systemtap-buildbot/cache"], # ugly hardcoding bot username :-(
+ name="cleanup caches",
+ haltOnFailure=True))
+systemtap_clang_factory.addSteps(bunsen_logfile_upload_cpio_steps(["*.sum", "*.log"],
+ workdir="stap-build"))
+
+systemtap_fedrawhide_clang_x86_64_builder = util.BuilderConfig(
+ name="systemtap-fedrawhide-clang-x86_64",
+ collapseRequests=True,
+ workernames=["fedrawhide-x86_64"],
+ tags=["systemtap", "fedora", "x86_64", "clang"],
+ factory=systemtap_clang_factory)
+c['builders'].append(systemtap_fedrawhide_clang_x86_64_builder)
+
# systemtap_gentoo_sparc_builder = util.BuilderConfig(
# name="systemtap-gentoo-sparc",
# collapseRequests=True,
@@ -5584,12 +5646,12 @@ systemtap_privileged_factory.addStep(steps.Configure(
logfiles={"config.log": "config.log"}))
systemtap_privileged_factory.addStep(steps.Compile(
workdir='stap-build',
- command=addOutputSync.withArgs(['make', 'V=1']),
+ command=addOutputSync.withArgs(['make']),
name='make',
haltOnFailure=True))
systemtap_privileged_factory.addStep(steps.Compile(
workdir='stap-build',
- command=['make', 'V=1', 'install'],
+ command=['make', 'install'],
name='make install',
haltOnFailure=True))
systemtap_privileged_factory.addStep(steps.Test(
@@ -5600,7 +5662,7 @@ systemtap_privileged_factory.addStep(steps.Test(
systemtap_privileged_factory.addStep(steps.Test(
workdir='stap-build',
command=['env', 'DEBUGINFOD_URLS=https://debuginfod.elfutils.org/ https://debuginfod.fedoraproject.org/ https://debuginfod.centos.org/',
- 'make', 'V=1', 'check', 'RUNTESTFLAGS=environment_sanity.exp'],
+ 'make', 'check', 'RUNTESTFLAGS=environment_sanity.exp'],
name='make check smoke test',
haltOnFailure=False, flunkOnFailure=True))
systemtap_privileged_factory.addStep(steps.Test(
More information about the Buildbot
mailing list