Skip to content

Commit

Permalink
Bump libwavpack
Browse files Browse the repository at this point in the history
Now that we build on arm mac natively we can enable arm
optimisations.
Also, this bump is important because without this the build
tries to include openssl
  • Loading branch information
ankith26 committed Apr 20, 2024
1 parent d970232 commit 3881002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions buildconfig/manylinux-build/docker_base/wavpack/build-wavpack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e -x

cd $(dirname `readlink -f "$0"`)

WAVPACK_VERSION=5.6.0
WAVPACK_VERSION=5.7.0
WAVPACK="wavpack-${WAVPACK_VERSION}"

curl -sL --retry 10 https://github.com/dbry/WavPack/releases/download/${WAVPACK_VERSION}/${WAVPACK}.tar.xz > ${WAVPACK}.tar.xz
Expand All @@ -12,13 +12,7 @@ sha512sum -c wavpack.sha512
tar xf ${WAVPACK}.tar.xz
cd ${WAVPACK}

if [[ "$MAC_ARCH" == "arm64" ]]; then
# As of now, wavpack builds fail on arm64 cross compilation when ASM
# optimisations are enabled, so disable it
export WAVPACK_EXTRA_M1_FLAGS="-DWAVPACK_ENABLE_ASM=OFF"
fi

cmake . $PG_BASE_CMAKE_FLAGS $WAVPACK_EXTRA_M1_FLAGS
cmake . $PG_BASE_CMAKE_FLAGS

make
make install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7421eff1f6e18f2e698b367ca48f6773456d0fcb53241be70149a87eff2cdf14dd8a82845a016f59ed32c7df494d018e6e23495709d3a56500b0660f177d5c0f wavpack-5.6.0.tar.xz
63ef6eb5ff71bf6417175691e8377624ade02619c761d80e265c8e0e7305bfe22eeaa1402e36d20c13d20847279f95150ac014019688389da1b87b86558446bd wavpack-5.7.0.tar.xz

0 comments on commit 3881002

Please sign in to comment.