test: Update boot universe build architectures

We build lua by default, so we don't need another build to build it
enabled w/o FORTH. That gives little value over the without forth
builds. Remove all mips, they are no longer relevant. Build aarch64
everywhere we build amd64 (except firewire which is x86 only). Build a
few more architectures once so we have at least one of every arch we
support in at least the default build. This should increase coverage
and still take less time than before.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-08 11:07:39 -06:00
parent 37dabb06e2
commit 9e9ba3cdbe

View File

@ -3,13 +3,9 @@
# $FreeBSD$
#
# Full list of all arches, but we only build a subset. All different mips add any
# value, and there's a few others we just don't support.
# Full list of all arches we don't build.
#
# mips/mipsel mips/mips mips/mips64el mips/mips64 mips/mipsn32 \
# mips/mipselhf mips/mipshf mips/mips64elhf mips/mips64hf \
# powerpc/powerpc powerpc/powerpc64 powerpc/powerpcspe \
# riscv/riscv64 riscv/riscv64sf
# powerpc/powerpcspe riscv/riscv64sf arm/armv6
#
# This script is expected to be run in stand (though you could run it anywhere
# in the tree). It does a full clean build. For stand you can do all the archs in
@ -45,7 +41,7 @@ dobuild()
echo "Fail (cleanup)"
continue
fi
if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make ${opt} -j 20 all" \
if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make ${opt} -j 40 all" \
>> $lf 2>&1; then
echo "Fail (build)"
continue
@ -58,6 +54,7 @@ cd $top/stand
# Build without forth
for i in \
arm64/aarch64 \
amd64/amd64 \
i386/i386 \
; do
@ -67,6 +64,7 @@ done
# Build without GELI
for i in \
arm64/aarch64 \
amd64/amd64 \
i386/i386 \
; do
@ -74,34 +72,24 @@ for i in \
dobuild $ta _.boot.${ta}.no_geli.log "WITHOUT_LOADER_GEIL=yes"
done
# Default build for a goodly selection of architectures
# Default build for a almost all architectures
for i in \
amd64/amd64 \
arm/armv7 \
arm64/aarch64 \
i386/i386 \
mips/mips mips/mips64 \
powerpc/powerpc powerpc/powerpc64 \
powerpc/powerpc \
powerpc/powerpc64 \
powerpc/powerpc64le \
riscv/riscv64 \
; do
ta=${i##*/}
dobuild $ta _.boot.${ta}.log ""
done
# Default build for a goodly selection of architectures with Lua
for i in \
amd64/amd64 \
arm/armv7 \
arm64/aarch64 \
i386/i386 \
mips/mips mips/mips64 \
powerpc/powerpc powerpc/powerpc64 \
; do
ta=${i##*/}
dobuild $ta _.boot.${ta}.lua.log "MK_LOADER_LUA=yes MK_FORTH=no"
done
# Build w/o ZFS
for i in \
arm64/aarch64 \
amd64/amd64 \
i386/i386 \
; do