'Generic Commit'
Some checks failed
dropshell-build / build (push) Failing after 4m7s

This commit is contained in:
Your Name 2025-06-02 09:44:49 +12:00
parent ac56b01ae0
commit 22a109e4b4

View File

@ -161,6 +161,7 @@ function build() {
# if have the -m option, then build for multiple architectures
if [ $MULTIBUILD -eq 1 ]; then
echo "Building for multiple architectures"
# get all the architectures from the musl-cross-make directory
local musl_toolchains
mapfile -t musl_toolchains < <(ls -d "${MUSL_ROOT_PATH}/"*)
@ -176,14 +177,15 @@ function build() {
buildthis="true"
fi
if [ "$buildthis" = "true" ]; then
echo "Building for $arch with $tchain"
set_current_arch "$tchain"
echo "Building for toolchain $arch from $tchain"
set_current_arch "$arch"
build_arch "$CMAKE_DIR"
else
echo "Skipping $tchain"
fi
done
else
echo "Building for host architecture $HOSTARCH"
set_current_arch "$HOSTARCH-linux-musl-native"
build_arch "$CMAKE_DIR"
fi