Skip to content

Commit

Permalink
aom: new musl-only patch to set min thread stack size
Browse files Browse the repository at this point in the history
The aom dependency implemented a minimum stack size for
debugging purposes in v3.8.0. This patch enables it for
production use, reducing the minimum from 1MB to 256 KB.

The previous patch was temporarily removed in de30aa6.
  • Loading branch information
lovell committed Jan 11, 2024
1 parent edd1fc4 commit cf2b7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/lin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ $CURL https://storage.googleapis.com/aom-releases/libaom-${VERSION_AOM}.tar.gz |
cd ${DEPS}/aom
if [ "${PLATFORM%-*}" == "linuxmusl" ]; then
# https://bugs.chromium.org/p/aomedia/issues/detail?id=2754
: # $CURL https://git.alpinelinux.org/aports/plain/main/aom/fix-stack-size-e53da0b.patch | patch -p1 # TODO: requires updated patch
$CURL https://gist.github.com/lovell/3e70b51079af2c9b78e5a0e6f6ad0e59/raw/92864bf57345f57cf32307dd3b399a6bd430b78e/aom-ensure-thread-stack-size-is-at-least-256-KB.patch | patch -p1
fi
mkdir aom_build
cd aom_build
Expand Down

0 comments on commit cf2b7f3

Please sign in to comment.