public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: David Abdurachmanov <david.abdurachmanov@gmail.com>,
	Mark Wielaard <mark@klomp.org>
Subject: [PATCH] Add starfive-riscv builder
Date: Mon, 18 Dec 2023 01:57:26 +0100	[thread overview]
Message-ID: <20231218005726.12566-1-mark@klomp.org> (raw)

This adds a little riscv board, StarFive VisionFive V2 with 4 cores
and 8GB memory. For now it only does elfutils (try) builds. But
should be able to handle some other projects. It currently runs the
vendor Debian image, which is based on the linux kernel 5.12 and
gcc 12.
---
 buildbot.config.sample |  1 +
 builder/master.cfg     | 26 ++++++++++++++++++++++++++
 htdocs/index.html.post |  2 +-
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/buildbot.config.sample b/buildbot.config.sample
index 8befa77..9e1fd52 100644
--- a/buildbot.config.sample
+++ b/buildbot.config.sample
@@ -26,6 +26,7 @@ fedora-arm64=frob
 gentoo-sparc=frob
 gentoo-sparc-big=frob
 osuosl-debian-arm64=frob
+starfive-riscv=frob
 
 # Users
 bb_admin=frob
diff --git a/builder/master.cfg b/builder/master.cfg
index 04c54da..561b1ee 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -98,6 +98,15 @@ debian_arm64_worker = worker.Worker("debian-arm64",
                                     notify_on_missing='mark@klomp.org');
 c['workers'].append(debian_arm64_worker)
 
+# riscv board, StarFive VisionFive V2, 8GB memory, 4 cores
+starfive_riscv_worker = worker.Worker("starfive-riscv",
+                                    getpw("starfive-riscv"),
+                                    max_builds=1,
+                                    properties={'ncpus': 4, 'maxcpus': 4},
+                                    keepalive_interval=900,
+                                    notify_on_missing='mark@klomp.org');
+c['workers'].append(starfive_riscv_worker)
+
 # s390x VM hosted by Marist university, running under mark user account
 fedora_s390x_worker = worker.Worker("fedora-s390x",
                                     getpw("fedora-s390x"),
@@ -517,6 +526,7 @@ elfutils_scheduler = schedulers.SingleBranchScheduler(
                       "elfutils-fedora-s390x",
                       "elfutils-debian-ppc64",
                       "elfutils-fedora-ppc64le",
+                      "elfutils-debian-riscv",
                       "elfutils-opensusetw-x86_64",
                       "elfutils-opensuseleap-x86_64"])
 c['schedulers'].append(elfutils_scheduler)
@@ -540,6 +550,7 @@ elfutils_try_scheduler = schedulers.AnyBranchScheduler(
                       "elfutils-try-fedora-s390x",
                       "elfutils-try-debian-ppc64",
                       "elfutils-try-fedora-ppc64le",
+                      "elfutils-try-debian-riscv",
                       "elfutils-try-opensusetw-x86_64",
                       "elfutils-try-opensuseleap-x86_64"])
 c['schedulers'].append(elfutils_try_scheduler)
@@ -2177,6 +2188,21 @@ elfutils_try_fedora_ppc64le_builder = util.BuilderConfig(
         factory=elfutils_factory_mu)
 c['builders'].append(elfutils_try_fedora_ppc64le_builder)
 
+elfutils_debian_riscv_builder = util.BuilderConfig(
+        name="elfutils-debian-riscv",
+        workernames=["starfive-riscv"],
+        tags=["elfutils", "debian", "riscv"],
+        factory=elfutils_factory)
+c['builders'].append(elfutils_debian_riscv_builder)
+
+elfutils_try_debian_riscv_builder = util.BuilderConfig(
+        name="elfutils-try-debian-riscv",
+        collapseRequests=True,
+        workernames=["starfive-riscv"],
+        tags=["elfutils-try", "debian", "riscv"],
+        factory=elfutils_factory)
+c['builders'].append(elfutils_try_debian_riscv_builder)
+
 elfutils_opensusetw_x86_64_builder = util.BuilderConfig(
         name="elfutils-opensusetw-x86_64",
 	properties={'container-file':
diff --git a/htdocs/index.html.post b/htdocs/index.html.post
index 0df4bad..7982865 100644
--- a/htdocs/index.html.post
+++ b/htdocs/index.html.post
@@ -8,7 +8,7 @@
 	  Horák</li>
 	<li>Thomas Fitzsimmons for the debian-ppc64 worker</li>
 	<li>Mark Wielaard for the centos-x86_64, debian-i386,
-	  debian-arm64 and debian-armhf workers</li>
+	  debian-arm64, debian-armhf and starfive-riscv workers</li>
 	<li>Frank Eigler for the fedrawhide-x86_64 worker</li>
 	<li>IBM for the ibm_power8, ibm_power9 and ibm_power10 workers</li>
 	<li>OSUOSL for the x86_64 bbo1, bbo2 and fedora-arm64 workers</li>
-- 
2.39.3


                 reply	other threads:[~2023-12-18  0:57 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=20231218005726.12566-1-mark@klomp.org \
    --to=mark@klomp.org \
    --cc=buildbot@sourceware.org \
    --cc=david.abdurachmanov@gmail.com \
    /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).