fixing release pipeline #35

Merged
Koda merged 1 commits from release--pipeline into main 2026-07-15 22:48:18 +01:00
+8 -2
View File
@@ -110,13 +110,19 @@ make defconfig
build_jobs=$(nproc) build_jobs=$(nproc)
case $build_host in case $build_host in
aarch64|arm64|armv7l|armv8l) aarch64|arm64|armv7l|armv8l)
(( build_jobs <= 2 )) || build_jobs=2 # The x86-64 SDK host tools run through QEMU on ARM. In particular,
# concurrent mbedTLS links can leave partially written libraries behind;
# a later serial retry then packages that corrupted output. Build serially
# from a clean SDK extraction instead.
make -j1 package/openuf/compile V=sc
;; ;;
esac *)
if ! make -j"$build_jobs" package/openuf/compile; then if ! make -j"$build_jobs" package/openuf/compile; then
echo "parallel build failed; retrying serially with verbose diagnostics" >&2 echo "parallel build failed; retrying serially with verbose diagnostics" >&2
make -j1 package/openuf/compile V=sc make -j1 package/openuf/compile V=sc
fi fi
;;
esac
mapfile -t packages < <(find bin/packages -type f -name "openuf-${version}-*.apk") mapfile -t packages < <(find bin/packages -type f -name "openuf-${version}-*.apk")
if [[ ${#packages[@]} -ne 1 ]]; then if [[ ${#packages[@]} -ne 1 ]]; then