Skip to content

Commit

Permalink
Fix download paths
Browse files Browse the repository at this point in the history
The paths in the script don't match the existing library paths
and what NativeLoader expects
  • Loading branch information
martint committed Jul 3, 2024
1 parent 3b4a4b1 commit 9171a9c
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions bin/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,80 +56,80 @@ download_macos()
download_linux \
"https://deb.debian.org/debian/pool/main/s/snappy/libsnappy1v5_1.2.1-1_amd64.deb" \
"/usr/lib/x86_64-linux-gnu/libsnappy.so.1.2.1" \
"Linux-amd64/libsnappy.so"
"linux-amd64/libsnappy.so"

download_linux \
"https://deb.debian.org/debian/pool/main/s/snappy/libsnappy1v5_1.2.1-1_arm64.deb" \
"/usr/lib/aarch64-linux-gnu/libsnappy.so.1.2.1" \
"Linux-aarch64/libsnappy.so"
"linux-aarch64/libsnappy.so"

download_linux \
"https://deb.debian.org/debian/pool/main/s/snappy/libsnappy1v5_1.2.1-1_ppc64el.deb" \
"/usr/lib/powerpc64le-linux-gnu/libsnappy.so.1.2.1" \
"Linux-ppc64le/libsnappy.so"
"linux-ppc64le/libsnappy.so"

download_macos \
snappy 1.1.10 libsnappy.1.1.10.dylib amd64 Mac_OS_X-x86_64/libsnappy.dylib
snappy 1.1.10 libsnappy.1.1.10.dylib amd64 macos-amd64/libsnappy.dylib

download_macos \
snappy 1.1.10 libsnappy.1.1.10.dylib arm64 Mac_OS_X-aarch64/libsnappy.dylib
snappy 1.1.10 libsnappy.1.1.10.dylib arm64 macos-aarch64/libsnappy.dylib

# Zstandard
download_linux \
"https://deb.debian.org/debian/pool/main/libz/libzstd/libzstd1_1.5.6+dfsg-1_amd64.deb" \
"/usr/lib/x86_64-linux-gnu/libzstd.so.1.5.6" \
"Linux-amd64/libzstd.so"
"linux-amd64/libzstd.so"

download_linux \
"https://deb.debian.org/debian/pool/main/libz/libzstd/libzstd1_1.5.6+dfsg-1_arm64.deb" \
"/usr/lib/aarch64-linux-gnu/libzstd.so.1.5.6" \
"Linux-aarch64/libzstd.so"
"linux-aarch64/libzstd.so"

download_linux \
"https://deb.debian.org/debian/pool/main/libz/libzstd/libzstd1_1.5.6+dfsg-1_ppc64el.deb" \
"/usr/lib/powerpc64le-linux-gnu/libzstd.so.1.5.6" \
"Linux-ppc64le/libzstd.so"
"linux-ppc64le/libzstd.so"

download_macos \
zstd 1.5.6 libzstd.1.5.6.dylib amd64 Mac_OS_X-x86_64/libzstd.dylib
zstd 1.5.6 libzstd.1.5.6.dylib amd64 macos-amd64/libzstd.dylib

download_macos \
zstd 1.5.6 libzstd.1.5.6.dylib arm64 Mac_OS_X-aarch64/libzstd.dylib
zstd 1.5.6 libzstd.1.5.6.dylib arm64 macos-aarch64/libzstd.dylib

# LZ4
download_linux \
"https://deb.debian.org/debian/pool/main/l/lz4/liblz4-1_1.9.4-2_amd64.deb" \
"/usr/lib/x86_64-linux-gnu/liblz4.so.1.9.4" \
"Linux-amd64/liblz4.so"
"linux-amd64/liblz4.so"

download_linux \
"https://deb.debian.org/debian/pool/main/l/lz4/liblz4-1_1.9.4-2_arm64.deb" \
"/usr/lib/aarch64-linux-gnu/liblz4.so.1.9.4" \
"Linux-aarch64/liblz4.so"
"linux-aarch64/liblz4.so"

download_linux \
"https://deb.debian.org/debian/pool/main/l/lz4/liblz4-1_1.9.4-2_ppc64el.deb" \
"/usr/lib/powerpc64le-linux-gnu/liblz4.so.1.9.4" \
"Linux-ppc64le/liblz4.so"
"linux-ppc64le/liblz4.so"

download_macos \
lz4 1.9.4 liblz4.1.9.4.dylib amd64 Mac_OS_X-x86_64/liblz4.dylib
lz4 1.9.4 liblz4.1.9.4.dylib amd64 macos-amd64/liblz4.dylib

download_macos \
lz4 1.9.4 liblz4.1.9.4.dylib arm64 Mac_OS_X-aarch64/liblz4.dylib
lz4 1.9.4 liblz4.1.9.4.dylib arm64 macos-aarch64/liblz4.dylib

# bzip2
download_linux \
"https://deb.debian.org/debian/pool/main/b/bzip2/libbz2-1.0_1.0.8-5.1_amd64.deb" \
"/usr/lib/x86_64-linux-gnu/libbz2.so.1.0.4" \
"Linux-amd64/libbz2.so"
"linux-amd64/libbz2.so"

download_linux \
"https://deb.debian.org/debian/pool/main/b/bzip2/libbz2-1.0_1.0.8-5.1_arm64.deb" \
"/usr/lib/aarch64-linux-gnu/libbz2.so.1.0.4" \
"Linux-aarch64/libbz2.so"
"linux-aarch64/libbz2.so"

download_linux \
"https://deb.debian.org/debian/pool/main/b/bzip2/libbz2-1.0_1.0.8-5.1_ppc64el.deb" \
"/usr/lib/powerpc64le-linux-gnu/libbz2.so.1.0.4" \
"Linux-ppc64le/libbz2.so"
"linux-ppc64le/libbz2.so"

0 comments on commit 9171a9c

Please sign in to comment.