From 36e834216bbc728637196cfa27e4d51854944175 Mon Sep 17 00:00:00 2001 From: Harry P Date: Tue, 18 Aug 2026 12:29:07 -0400 Subject: [PATCH 1/2] Declare Android host triples in skip-linux artifactbundle supportedTriples The static-MUSL skip binary runs fine on Android (bionic) hosts such as Termux, but the generated info.json only listed *-unknown-linux-gnu, so SwiftPM rejects the binary target there ('Tool skip is not supported on the target platform'). Add the Android host triples (generic + API 24, both arches) to each variant's supportedTriples. --- scripts/build_linux_plugin.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/build_linux_plugin.sh b/scripts/build_linux_plugin.sh index f623febc..665a2ce4 100755 --- a/scripts/build_linux_plugin.sh +++ b/scripts/build_linux_plugin.sh @@ -94,14 +94,16 @@ chmod +x ${BINDIR}/${TOOLNAME} VARIANTS="" for ARCH in "${ARCHS[@]}"; do SDK="${ARCH}-swift-linux-musl" - TRIPLE="${ARCH}-unknown-linux-gnu" + # the static-MUSL binary also runs on Android (bionic) hosts, so + # declare the Android host triples as well (os(Android) != os(Linux)) + TRIPLES="\"${ARCH}-unknown-linux-gnu\", \"${ARCH}-unknown-linux-android\", \"${ARCH}-unknown-linux-android24\"" if [[ -n "${VARIANTS}" ]]; then VARIANTS="${VARIANTS}," fi VARIANTS="${VARIANTS} { \"path\": \"${SDK}/${SKIPCMD}\", - \"supportedTriples\": [\"${TRIPLE}\"] + \"supportedTriples\": [${TRIPLES}] }" done From 55b009a5e28cf193c9baf94cab6208fd5acb1125 Mon Sep 17 00:00:00 2001 From: Harry P Date: Tue, 18 Aug 2026 14:35:30 -0400 Subject: [PATCH 2/2] Retrigger CLA check