public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: debugedit@sourceware.org, Mark Wielaard <mark@klomp.org>
Subject: [COMMITTED] Add debugedit clang builder
Date: Wed, 15 May 2024 18:27:47 +0200	[thread overview]
Message-ID: <20240515162748.145900-1-mark@klomp.org> (raw)

Same as a regular debugedit-x86_64-fedora builder, but configured with
env CC=clang.
---
 builder/master.cfg | 53 ++++++++++++++++++++++++++++++++++++----------
 1 file changed, 42 insertions(+), 11 deletions(-)

diff --git a/builder/master.cfg b/builder/master.cfg
index eab53df7fe43..36a5b4ca0555 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -841,6 +841,7 @@ debugedit_scheduler = schedulers.SingleBranchScheduler(
                       "debugedit-fedora-arm64",
                       "debugedit-gentoo-sparc",
                       "debugedit-fedora-x86_64",
+                      "debugedit-fedora-clang-x86_64",
                       "debugedit-rawhide-x86_64",
                       "debugedit-debian-testing-x86_64",
                       "debugedit-debian-amd64",
@@ -1684,19 +1685,28 @@ bzip2_debian_testing_x86_64_builder = util.BuilderConfig(
 c['builders'].append(bzip2_debian_testing_x86_64_builder)
 
 # debugedit build steps, factory and builders
+debugedit_step_package_name = steps.SetProperty(name="set package name",
+                                                property="package_name",
+                                                value="debugedit")
+
+debugedit_step_git = steps.Git(repourl=debugedit_repourl,
+                               mode='full', method='fresh',
+                               retryFetch=True, retry=(30,3),
+                               getDescription={'tags':True, 'always':True},
+                               name="git checkout",
+                               haltOnFailure=True)
+
+debugedit_configure_clang_step = steps.Configure(command=["./configure",
+                                                          "--enable-maintainer-mode"],
+                                                 env={'CC': 'clang'},
+                                                 name="configure",
+                                                 haltOnFailure=True,
+                                                 logfiles={"config.log":
+                                                           "config.log"})
 
 debugedit_factory = util.BuildFactory()
-debugedit_factory.addStep(
-        steps.SetProperty(name="set package name",
-                          property="package_name",
-                          value="debugedit"));
-debugedit_factory.addStep(steps.Git(
-        repourl=debugedit_repourl,
-        mode='full', method='fresh',
-        retryFetch=True, retry=(30,3),
-        getDescription={'tags':True, 'always':True},
-        name="git checkout",
-        haltOnFailure=True))
+debugedit_factory.addStep(debugedit_step_package_name)
+debugedit_factory.addStep(debugedit_step_git)
 debugedit_factory.addStep(autoreconf_step)
 debugedit_factory.addStep(configure_step)
 debugedit_factory.addStep(getversion_step)
@@ -1706,6 +1716,18 @@ debugedit_factory.addStep(make_distcheck_testsuite_step)
 debugedit_factory.addSteps(bunsen_logfile_upload_cpio_steps(["*.at", "*.log", "*atlocal"]))
 debugedit_factory.addStep(make_clean_step)
 
+debugedit_factory_clang = util.BuildFactory()
+debugedit_factory_clang.addStep(debugedit_step_package_name)
+debugedit_factory_clang.addStep(debugedit_step_git)
+debugedit_factory_clang.addStep(autoreconf_step)
+debugedit_factory_clang.addStep(debugedit_configure_clang_step)
+debugedit_factory_clang.addStep(getversion_step)
+debugedit_factory_clang.addStep(make_step)
+debugedit_factory_clang.addStep(make_check_testsuite_step)
+debugedit_factory_clang.addStep(make_distcheck_testsuite_step)
+debugedit_factory_clang.addSteps(bunsen_logfile_upload_cpio_steps(["*.at", "*.log", "*atlocal"]))
+debugedit_factory_clang.addStep(make_clean_step)
+
 
 debugedit_alma_x86_64_builder = util.BuilderConfig(
         name="debugedit-alma-x86_64",
@@ -1738,6 +1760,15 @@ debugedit_fedora_x86_64_builder = util.BuilderConfig(
         factory=debugedit_factory)
 c['builders'].append(debugedit_fedora_x86_64_builder)
 
+debugedit_fedora_clang_x86_64_builder = util.BuilderConfig(
+        name="debugedit-fedora-clang-x86_64",
+	properties={'container-file':
+		    readContainerFile('fedora-latest')},
+	workernames=vm_workers,
+        tags=["debugedit", "fedora", "clang", "x86_64"],
+        factory=debugedit_factory_clang)
+c['builders'].append(debugedit_fedora_clang_x86_64_builder)
+
 debugedit_debian_amd64_builder = util.BuilderConfig(
         name="debugedit-debian-amd64",
 	properties={'container-file':
-- 
2.45.0


                 reply	other threads:[~2024-05-15 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240515162748.145900-1-mark@klomp.org \
    --to=mark@klomp.org \
    --cc=buildbot@sourceware.org \
    --cc=debugedit@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).