0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-14 09:38:34 +00:00

Don't build libunwind in static builds when it's not needed. ()

* Don't build libunwind in static builds when it's not needed.

* Fix job skip logic.
This commit is contained in:
Austin S. Hemmelgarn 2025-03-22 13:31:39 -04:00 committed by GitHub
parent c619d46e2c
commit b800a845a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,13 @@
. "$(dirname "${0}")/../functions.sh" "${@}" || exit 1
# Source of truth for all the packages we bundle in static builds
. "$(dirname "${0}")/../bundled-packages.version"
case "${BUILDARCH}" in
armv6l|armv7l) ;;
*) exit 0 ;;
esac
# shellcheck disable=SC2015
[ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Building libucontext" || true

View file

@ -5,6 +5,12 @@
. "$(dirname "${0}")/../functions.sh" "${@}" || exit 1
# Source of truth for all the packages we bundle in static builds
. "$(dirname "${0}")/../bundled-packages.version"
case "${BUILDARCH}" in
armv6l|armv7l) ;;
*) exit 0 ;;
esac
# shellcheck disable=SC2015
[ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Building libunwind" || true