Don't build libunwind in static builds when it's not needed. (#19939)
* Don't build libunwind in static builds when it's not needed. * Fix job skip logic.
Austin S. Hemmelgarn committed
Mar 22, 2025 at 13:31 UTC
b800a845a9d9f01b22194b5d75cbe1c10f217137
2 files changed
+13
packaging/makeself/jobs/15-libucontext.install.sh
+7
@@ -5,6 +5,13 @@
5
. "$(dirname "${0}")/../functions.sh" "${@}" || exit 1
6
# Source of truth for all the packages we bundle in static builds
7
. "$(dirname "${0}")/../bundled-packages.version"
8
+
9
+
10
+case "${BUILDARCH}" in
11
+ armv6l|armv7l) ;;
12
+ *) exit 0 ;;
13
+esac
14
+
15
# shellcheck disable=SC2015
16
[ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Building libucontext" || true
17
packaging/makeself/jobs/20-libunwind.install.sh
+6
@@ -5,6 +5,12 @@
5
. "$(dirname "${0}")/../functions.sh" "${@}" || exit 1
6
# Source of truth for all the packages we bundle in static builds
7
. "$(dirname "${0}")/../bundled-packages.version"
8
+
9
+case "${BUILDARCH}" in
10
+ armv6l|armv7l) ;;
11
+ *) exit 0 ;;
12
+esac
13
+
14
# shellcheck disable=SC2015
15
[ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Building libunwind" || true
16