Skip to content

Commit

Permalink
update binary files to ZlibBuilder 1.0.2 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 authored Aug 13, 2018
1 parent 074fada commit 0aee068
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
using BinaryProvider
using BinaryProvider # requires BinaryProvider 0.3.0 or later
using Compat
using Compat.Libdl

# Parse some basic command-line arguments
const verbose = "--verbose" in ARGS
const prefix = Prefix(get([a for a in ARGS if a != "--verbose"], 1, joinpath(@__DIR__, "usr")))
products = [
LibraryProduct(prefix, String["libz"], :libz),
LibraryProduct(prefix, ["libz"], :libz),
]

# Download binaries from hosted location
bin_prefix = "https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.0"
bin_prefix = "https://github.com/bicycle1885/ZlibBuilder/releases/download/v1.0.2"

# Listing of files generated by BinaryBuilder:
download_info = Dict(
Linux(:aarch64, :glibc, :blank_abi) => ("$bin_prefix/Zlib.aarch64-linux-gnu.tar.gz", "f5ad5b4390ddd6d6a96cc573b5b6aadce31977698355658f03a62351f02f8e2d"),
Linux(:i686, :glibc, :blank_abi) => ("$bin_prefix/Zlib.i686-linux-gnu.tar.gz", "20afcaf2536f43b35814d56bd8a26cd39b068ffe1a513c21dc61d600ef8b4bee"),
Linux(:x86_64, :glibc, :blank_abi) => ("$bin_prefix/Zlib.x86_64-linux-gnu.tar.gz", "769aee697443ef7111bab843df304f50eedd671006fad9f49913abed0dbac64b"),
MacOS(:x86_64, :blank_libc, :blank_abi) => ("$bin_prefix/Zlib.x86_64-apple-darwin14.tar.gz", "924f13195b3b95c4d23f3828ecb6ae3b1c8f3a1c4d5372a13090cff4e7ed1c4a"),
Windows(:i686, :blank_libc, :blank_abi) => ("$bin_prefix/Zlib.i686-w64-mingw32.tar.gz", "1b85dc6e98e7677b63e6cf7ce97718e892cfdd858b7a210b723ce1b5c86e48d7"),
Windows(:x86_64, :blank_libc, :blank_abi) => ("$bin_prefix/Zlib.x86_64-w64-mingw32.tar.gz", "4479f1b7559227767e305520efe077f575b3edc7cb59235dbdca33e09a756ed1"),
UnknownPlatform() => ("$bin_prefix/Zlib.arm-linux-gnueabihf.tar.gz", "ea00d81a87aa1159348ae570f17398eb5fb6ffea1c8e97751cb4aa5db2e00acf"),
Linux(:aarch64, :glibc) => ("$bin_prefix/Zlib.v1.2.11.aarch64-linux-gnu.tar.gz", "66e6b2414a4fc9a5b8392b70efef9c4d163fad5159270c78e0740eebec95a415"),
Linux(:aarch64, :musl) => ("$bin_prefix/Zlib.v1.2.11.aarch64-linux-musl.tar.gz", "2445bd730e8f7c9dcaaace86b15244549d8630f4d78ce4c4df3fb693adde1333"),
Linux(:armv7l, :glibc, :eabihf) => ("$bin_prefix/Zlib.v1.2.11.arm-linux-gnueabihf.tar.gz", "d6417bffeacdc542a0b35407e1d8cf7a85d8c9d695868c7770df57fe556c5a6f"),
Linux(:armv7l, :musl, :eabihf) => ("$bin_prefix/Zlib.v1.2.11.arm-linux-musleabihf.tar.gz", "0ec51f27db2a7dc3c8056b18a99776ccc7459e6e5127cf82efeca770945d68b6"),
Linux(:i686, :glibc) => ("$bin_prefix/Zlib.v1.2.11.i686-linux-gnu.tar.gz", "1d2bba7f971ab3576d84ce5094cc8e0849d6c7552182146454d90cae1714a542"),
Linux(:i686, :musl) => ("$bin_prefix/Zlib.v1.2.11.i686-linux-musl.tar.gz", "06a77d15bb8ea3db8f7c45b06cf9b2b6944804147ef5ac5de11527a2badca886"),
Windows(:i686) => ("$bin_prefix/Zlib.v1.2.11.i686-w64-mingw32.tar.gz", "db1063328e9f2a961977f870e1954a977f86066f2aa0922ccba6e559aee22484"),
Linux(:powerpc64le, :glibc) => ("$bin_prefix/Zlib.v1.2.11.powerpc64le-linux-gnu.tar.gz", "13bc52cec6a5f40ef81ecb5120b123c6f63508e1b999c76b48ccf27a7029a1bd"),
MacOS(:x86_64) => ("$bin_prefix/Zlib.v1.2.11.x86_64-apple-darwin14.tar.gz", "deb72ecf071dc410870d9df75f3dbeef00c084394e1fc8e8631f5928ead3b87b"),
Linux(:x86_64, :glibc) => ("$bin_prefix/Zlib.v1.2.11.x86_64-linux-gnu.tar.gz", "26f8ddebd91628ca5c08310ec3ed6d7ebef1598ccabc34e5e4d495c6b21d89d0"),
Linux(:x86_64, :musl) => ("$bin_prefix/Zlib.v1.2.11.x86_64-linux-musl.tar.gz", "e826ceffc841d2abf67854ce9ed739ae2d32d1b5acc46df6233b8fd1b549cc12"),
FreeBSD(:x86_64) => ("$bin_prefix/Zlib.v1.2.11.x86_64-unknown-freebsd11.1.tar.gz", "223f1f7886e45f2b1af889d5045402cbc0c22175515e593fead19099e5378741"),
Windows(:x86_64) => ("$bin_prefix/Zlib.v1.2.11.x86_64-w64-mingw32.tar.gz", "016d0ad7dedea4aed59059ba0cf5776ca6955ebcdec262035391ec717e9b67df"),
)

# A simple source build fallback for platforms not supported by BinaryBuilder
Expand Down

0 comments on commit 0aee068

Please sign in to comment.