From: Mike Frysinger via Gdb-patches <gdb-patches@sourceware.org>
To: Andrew Burgess <andrew.burgess@embecosm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] sim: testsuite: push $arch out to targets
Date: Tue, 9 Feb 2021 00:25:44 -0500 [thread overview]
Message-ID: <YCIc2B99lA+IsZ8B@vapier> (raw)
In-Reply-To: <20210208121245.GG265215@embecosm.com>
On 08 Feb 2021 12:12, Andrew Burgess wrote:
> I don't really understand what your end vision is.
my ultimate end point has a number of features:
* one sim/configure script (no subdir configures)
* no recursive make (e.g. sim/Makefile.am includes sim/<port>/*.mk)
* a single `run` program that optionally supports all arches
* removal of all target tuple checking everywhere (other than the
sim/configure.ac for selecting which ports to enable)
* a parallel testsuite
* no dejagnu
* uses automake's test harness
* all ports using common/ modules for functionality instead of their
own ad-hoc implementations (e.g. memory from sim-core instead of
the port doing its own malloc)
the benefits of this:
* faster build & test for all configurations
* support for --enable-targets=all like gdb and other projects already
support so they can do a single binary build for different targets
* easier build tests for us as we don't need 30+ separate build dirs
when we want to change common sim code, just a single build dir
* reduction in duplication & effort so we don't have to maintain all
the various ad-hoc implementations of the same (functional) models
* easier for end users as they only need one `run` and not multiple
ones to support every target
* reduction of hand curated build files -- automake's Makefile.am is
much smaller than our hand-written Makefile.in's today
but i can't do this all at once, and tbh i don't have an exact road
map written out. i have these high level goals in mind and that's
what i'm meandering towards piece by piece. i try to always move
forward, but at worse, only move a bit laterally.
> I don't agree that this is the right intermediate state to move to.
> Sure, sometimes things have to get worse before they can get better,
> but this feels like an even stronger argument for putting all of the
> "worse" into a single central location, rather than replicating it all
> over the place.
in my final vision, neither of these things would exist which is why i'm
not super enthused about moving around the centralized logic. i would
still want to throw it away eventually (given my end states above), so
doing it this way in the meantime seems fine to me. the code is frozen
either way until it's deleted.
> Given you clearly have more time for sim/ right now I think you should
> just commit this and move on, I suspect we're never going to agree on
> this one, and as its just an opinion thing I don't see the point in
> arguing it any further.
hopefully the follow up improvements make it easier to live with some
of this tech debt in the interim.
> If this ever causes problems in the future we just revisit this
> conversation at that point :)
sure, life is fluid, and we should always adapt as makes sense
-mike
next prev parent reply other threads:[~2021-02-09 5:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 16:09 Mike Frysinger via Gdb-patches
2021-01-18 9:52 ` Andrew Burgess
2021-01-18 18:01 ` Mike Frysinger via Gdb-patches
2021-01-20 19:53 ` Tom Tromey
2021-01-21 0:37 ` Mike Frysinger via Gdb-patches
2021-01-22 16:29 ` Tom Tromey
2021-01-23 4:35 ` Mike Frysinger via Gdb-patches
2021-01-23 17:33 ` Tom Tromey
2021-01-25 5:34 ` Mike Frysinger via Gdb-patches
2021-01-21 9:22 ` Andrew Burgess
2021-01-22 6:36 ` Mike Frysinger via Gdb-patches
2021-01-31 1:27 ` Mike Frysinger via Gdb-patches
2021-01-31 10:54 ` Andrew Burgess
2021-01-31 19:41 ` Mike Frysinger via Gdb-patches
2021-02-06 17:16 ` Mike Frysinger via Gdb-patches
2021-02-08 12:12 ` Andrew Burgess
2021-02-09 5:25 ` Mike Frysinger via Gdb-patches [this message]
2021-01-18 17:54 ` [PATCH 1/2] sim: switch top level to automake Mike Frysinger via Gdb-patches
2021-01-18 17:54 ` [PATCH 2/2] sim: testsuite: merge into toplevel automake Mike Frysinger via Gdb-patches
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=YCIc2B99lA+IsZ8B@vapier \
--to=gdb-patches@sourceware.org \
--cc=andrew.burgess@embecosm.com \
--cc=vapier@gentoo.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