From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
To: gdb-patches@sourceware.org
Cc: Sergio Durigan Junior <sergiodj@redhat.com>
Subject: [PATCH] Provide Solaris 11 buildbots
Date: Wed, 19 Sep 2018 11:23:00 -0000 [thread overview]
Message-ID: <ydda7odk9ye.fsf@CeBiTec.Uni-Bielefeld.DE> (raw)
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]
If the proposed Solaris 11 buildbots
https://sourceware.org/ml/gdb/2018-09/msg00004.html
are considered worthwhile, here's a patch to introduce them. It's
completely untested of course (I cannot even check syntactic validity),
and there are a couple of caveats:
* While a regular gdb build succeeds, a -g -D_GLIBCXX_DEBUG build as
used by the buildbot fails as reported in PR build/23676. This can be
avoided either by performing a -g -O build or with
--disable-unit-tests from Sergio's proposed patch.
* The buildslaves are configured to be compile-only at the moment: at
-j4, a build takes ca. 15 minutes, while make check takes 1h 15 due to
many timeouts (mostly in gdb.threads). Until those are resolved, it's
probably useless to run the tests.
* I couldn't find proper documentation for at least two fields:
** arch in config.json (slaves), seems to be unused AFAICT
** tags in config.json (builders)
Comments?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: sol11-buildbot.patch --]
[-- Type: text/x-patch, Size: 3222 bytes --]
diff --git a/lib/config.json b/lib/config.json
--- a/lib/config.json
+++ b/lib/config.json
@@ -43,7 +43,11 @@
{ "name" : "ubuntu-aarch64-1", "arch" : "aarch64", "jobs" : "4",
"admin" : "qiyaoltc@gmail.com" },
{ "name" : "ubuntu-trusty-aarch32-1", "arch" : "aarch32", "jobs" : "4",
- "admin" : "qiyaoltc@gmail.com" }
+ "admin" : "qiyaoltc@gmail.com" },
+ { "name" : "solaris11-amd64", "arch" : "x86_64", "jobs" : "4",
+ "admin" : "ro@cebitec.uni-bielefeld.de" },
+ { "name" : "solaris11-sparcv9", "arch" : "sparcv9", "jobs" : "4",
+ "admin" : "ro@cebitec.uni-bielefeld.de" }
],
"builders" : [ { "name" : "Fedora-x86_64-m64", "type" : "Plain_c64t64",
@@ -330,7 +334,21 @@
"builddir" : "ubuntu-aarch32-native-extended-gdbserver-m32",
"tags" : [ "ubuntu", "aarch32", "native-extended-gdbserver",
"m32", "MAIL" ],
- "slavenames" : [ "ubuntu-trusty-aarch32-1" ] }
+ "slavenames" : [ "ubuntu-trusty-aarch32-1" ] },
+
+ { "name" : "Solaris11-amd64-m64",
+ "arch_triplet" : "amd64-pc-solaris2.11",
+ "type" : "PlainSolaris_c64",
+ "builddir" : "solaris11-amd64-m64",
+ "tags" : [ "solaris", "solaris11", "x86_64", "m64", "TEST" ],
+ "slavenames" : [ "solaris11-amd64" ] },
+
+ { "name" : "Solaris11-sparcv9-m64",
+ "arch_triplet" : "sparcv9-sun-solaris2.11",
+ "type" : "PlainSolaris_c64",
+ "builddir" : "solaris11-sparcv9-m64",
+ "tags" : [ "solaris", "solaris11", "sparcv9", "m64", "TEST" ],
+ "slavenames" : [ "solaris11-sparcv9" ] }
],
"schedulers" : [ { "type" : "AnyBranchScheduler", "name" : "master",
@@ -388,7 +406,10 @@
"Ubuntu-AArch32-m32",
"Ubuntu-AArch32-native-gdbserver-m32",
- "Ubuntu-AArch32-native-extended-gdbserver-m32" ]
+ "Ubuntu-AArch32-native-extended-gdbserver-m32",
+
+ "Solaris11-amd64-m64",
+ "Solaris11-sparcv9-m64" ]
},
{ "type" : "Nightly", "name" : "racy",
@@ -481,7 +502,9 @@
"Ubuntu-AArch64-native-gdbserver-m64",
"Ubuntu-AArch32-m32",
"Ubuntu-AArch32-native-gdbserver-m32",
- "Ubuntu-AArch32-native-extended-gdbserver-m32" ]
+ "Ubuntu-AArch32-native-extended-gdbserver-m32",
+ "Solaris11-amd64-m64",
+ "Solaris11-sparcv9-m64" ]
}
]
}
diff --git a/master.cfg b/master.cfg
--- a/master.cfg
+++ b/master.cfg
@@ -1269,6 +1269,22 @@ class RunTestGDBPlainAIX (RunTestGDBAIX_
"""Compiling for AIX"""
pass
+# Classes needed for Solaris systems
+
+class RunTestGDBSolaris_Common (BuildAndTestGDBFactory):
+ """Common Solaris test configurations"""
+ def __init__ (self, **kwargs):
+ self.enable_targets_all = False
+ self.make_command = 'gmake'
+ self.run_testsuite = False
+ BuildAndTestGDBFactory.__init__ (self, **kwargs)
+
+class RunTestGDBPlainSolaris_c64 (RunTestGDBSolaris_Common):
+ """Compiling for Solaris"""
+ def __init__ (self, **kwargs):
+ self.extra_CFLAGS = [ '-m64' ]
+ self.extra_CXXFLAGS = self.extra_CFLAGS
+
# Classes needed for ARM (running on Aarch64, on Yao's buildslave)
class RunTestGDBARM_Common (BuildAndTestGDBFactory):
next reply other threads:[~2018-09-19 11:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-19 11:23 Rainer Orth [this message]
2018-09-19 19:46 ` Sergio Durigan Junior
2018-09-20 12:35 ` Rainer Orth
2018-09-20 14:10 ` Sergio Durigan Junior
2018-09-20 14:40 ` Sergio Durigan Junior
2018-09-20 14:44 ` Rainer Orth
2018-09-20 14:50 ` Sergio Durigan Junior
2018-09-20 17:55 ` Rainer Orth
2018-09-24 14:43 ` Rainer Orth
2018-09-24 15:25 ` Sergio Durigan Junior
2018-09-26 13:16 ` Sergio Durigan Junior
2018-09-26 13:33 ` Rainer Orth
2018-09-26 14:05 ` Sergio Durigan Junior
2018-10-05 8:48 ` Rainer Orth
2018-10-05 15:36 ` Sergio Durigan Junior
2018-09-21 8:51 ` Rainer Orth
2018-09-21 15:31 ` Sergio Durigan Junior
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=ydda7odk9ye.fsf@CeBiTec.Uni-Bielefeld.DE \
--to=ro@cebitec.uni-bielefeld.de \
--cc=gdb-patches@sourceware.org \
--cc=sergiodj@redhat.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).