sim: run: move linking into top-level
authorMike Frysinger <vapier@gentoo.org>
Thu, 3 Nov 2022 11:19:13 +0000 (18:19 +0700)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 Nov 2022 13:00:56 +0000 (20:00 +0700)
commitc0c25232da12f3985041cded1bb7e761d4d0cd1e
treeb1886508998af5eeda176ae1bedc71a016cf89a7
parent59d8576e4ff7e6467fab3ea894baa72c8400e22a
sim: run: move linking into top-level

Automake will run each subdir individually before moving on to the next
one.  This means that the linking phase, a single threaded process, will
not run in parallel with anything else.  When we have to link ~32 ports,
that's 32 link steps that don't take advantage of parallel systems.  On
my really old 4-core system, this cuts a multi-target build from ~60 sec
to ~30 sec.  We eventually want to move all compile+link steps to this
common dir anyways, so might as well move linking now for a nice speedup.

We use noinst_PROGRAMS instead of bin_PROGRAMS because we're taking care
of the install ourselves rather than letting automake process it.
40 files changed:
sim/Makefile.am
sim/Makefile.in
sim/aarch64/local.mk [new file with mode: 0644]
sim/arm/local.mk
sim/avr/local.mk [new file with mode: 0644]
sim/bfin/local.mk [new file with mode: 0644]
sim/bpf/local.mk
sim/common/Make-common.in
sim/common/local.mk
sim/configure
sim/configure.ac
sim/cr16/local.mk
sim/cris/local.mk
sim/d10v/local.mk
sim/erc32/Makefile.in
sim/erc32/local.mk
sim/example-synacor/local.mk [new file with mode: 0644]
sim/frv/local.mk
sim/ft32/local.mk [new file with mode: 0644]
sim/h8300/local.mk [new file with mode: 0644]
sim/iq2000/local.mk
sim/lm32/local.mk
sim/m32c/local.mk
sim/m32r/local.mk
sim/m68hc11/local.mk
sim/mcore/local.mk [new file with mode: 0644]
sim/microblaze/local.mk [new file with mode: 0644]
sim/mips/local.mk [new file with mode: 0644]
sim/mn10300/local.mk
sim/moxie/local.mk
sim/msp430/local.mk [new file with mode: 0644]
sim/or1k/local.mk
sim/ppc/Makefile.in
sim/ppc/local.mk
sim/pru/local.mk [new file with mode: 0644]
sim/riscv/local.mk [new file with mode: 0644]
sim/rl78/local.mk [new file with mode: 0644]
sim/rx/local.mk
sim/sh/local.mk
sim/v850/local.mk