Skip to content

Commit 4259fec

Browse files
committed
LibArchive_jll build 3.4.3+0
1 parent 0febfd0 commit 4259fec

18 files changed

+2416
-0
lines changed

Artifacts.toml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
[[LibArchive]]
2+
arch = "aarch64"
3+
git-tree-sha1 = "32092d4f1b0e7aa9a7ccff76ca3cfe8e6d9491a5"
4+
libc = "glibc"
5+
os = "linux"
6+
7+
[[LibArchive.download]]
8+
sha256 = "aea99de3a5a2c625a70ef5561c6dfb766ec6284c718460febc4b131ea42e0a95"
9+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.aarch64-linux-gnu.tar.gz"
10+
[[LibArchive]]
11+
arch = "aarch64"
12+
git-tree-sha1 = "7fe112e329a6e3cb557929527cbe34e9535f87a9"
13+
libc = "musl"
14+
os = "linux"
15+
16+
[[LibArchive.download]]
17+
sha256 = "a2b354f0f00ef2d5416330bcad9a9b76a8c60552917165de86decd69abee0e93"
18+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.aarch64-linux-musl.tar.gz"
19+
[[LibArchive]]
20+
arch = "armv7l"
21+
git-tree-sha1 = "d2d0a78f6b04ccd8d9bce443b54fd986d9b9f367"
22+
libc = "glibc"
23+
os = "linux"
24+
25+
[[LibArchive.download]]
26+
sha256 = "dd311f81d226557e59be505afc36dfceaa3b906d4fd85b1105e0b9a801deac06"
27+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.armv7l-linux-gnueabihf.tar.gz"
28+
[[LibArchive]]
29+
arch = "armv7l"
30+
git-tree-sha1 = "e1a62da29db40e54eddfcfae86d0fc18d4127037"
31+
libc = "musl"
32+
os = "linux"
33+
34+
[[LibArchive.download]]
35+
sha256 = "35dd3fea297c91c3481aedfef9500db4e902a5a9379537b6210f004f7847a93d"
36+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.armv7l-linux-musleabihf.tar.gz"
37+
[[LibArchive]]
38+
arch = "i686"
39+
git-tree-sha1 = "c5bd0dfe66d51c12ee46ede47e64a39c50cea324"
40+
libc = "glibc"
41+
os = "linux"
42+
43+
[[LibArchive.download]]
44+
sha256 = "6f7c87b5e73e7ea14205674e2b1c3d553fba4dc6f4f74c4b8cbb89627fb91533"
45+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.i686-linux-gnu.tar.gz"
46+
[[LibArchive]]
47+
arch = "i686"
48+
git-tree-sha1 = "8f9671452a50ec6c8aedebe1cf13988c605014b5"
49+
libc = "musl"
50+
os = "linux"
51+
52+
[[LibArchive.download]]
53+
sha256 = "f2d77d6c29ef91de350b4c450e33817f6dc865edc5480bcd05b56fcb9a91c717"
54+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.i686-linux-musl.tar.gz"
55+
[[LibArchive]]
56+
arch = "i686"
57+
git-tree-sha1 = "ae4b57fdf0a2be93be56cc349d0ffc9f43496006"
58+
os = "windows"
59+
60+
[[LibArchive.download]]
61+
sha256 = "89af5c6ea91d64f2f7f8d30aaaf7c9c098f437469b48dc156a38a5d73fc7c882"
62+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.i686-w64-mingw32.tar.gz"
63+
[[LibArchive]]
64+
arch = "powerpc64le"
65+
git-tree-sha1 = "bfd1e2e97436e79acf5c68fb778d16eca12a292b"
66+
libc = "glibc"
67+
os = "linux"
68+
69+
[[LibArchive.download]]
70+
sha256 = "a6402ce76e111f3617a860d2b116ec3707cdb6e0f1a9858ebb2dc479d3cafa9c"
71+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.powerpc64le-linux-gnu.tar.gz"
72+
[[LibArchive]]
73+
arch = "x86_64"
74+
git-tree-sha1 = "a72ba465cf739ac68828aa93c28ed76ffebbf9c5"
75+
os = "macos"
76+
77+
[[LibArchive.download]]
78+
sha256 = "09c0c0b0c74be2f1db13f2c0498b0b3e250f226317e74d9fa4d0c5c68df47c4a"
79+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.x86_64-apple-darwin14.tar.gz"
80+
[[LibArchive]]
81+
arch = "x86_64"
82+
git-tree-sha1 = "084857aba3fcf08ddd8ea02f0f2f3c5ec60d9bfe"
83+
libc = "glibc"
84+
os = "linux"
85+
86+
[[LibArchive.download]]
87+
sha256 = "5fad2e943cd240ffa20d8f38f5e03512234c4506df6617352867207117b6b46c"
88+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.x86_64-linux-gnu.tar.gz"
89+
[[LibArchive]]
90+
arch = "x86_64"
91+
git-tree-sha1 = "601be60ef4007151b2b900b3006df441382d4112"
92+
libc = "musl"
93+
os = "linux"
94+
95+
[[LibArchive.download]]
96+
sha256 = "e6e212891308684c1814ad51ec95e403047c01adda42232047c21bbe89929f02"
97+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.x86_64-linux-musl.tar.gz"
98+
[[LibArchive]]
99+
arch = "x86_64"
100+
git-tree-sha1 = "c4d4ad6b56df829e8ebc1a5cf50d1117f12fad07"
101+
os = "freebsd"
102+
103+
[[LibArchive.download]]
104+
sha256 = "6952687ada78d411eb690744c1358fc340b4c538aea9fc1ed7be6aace4a6f9b8"
105+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.x86_64-unknown-freebsd11.1.tar.gz"
106+
[[LibArchive]]
107+
arch = "x86_64"
108+
git-tree-sha1 = "a9bf5b31614cc9e9dd2a1a8044deba739a6ebe0e"
109+
os = "windows"
110+
111+
[[LibArchive.download]]
112+
sha256 = "b9d2bbd50961973d5f53e7d4cc93357e188b06cc8cdfc2b0dded027c6fd66db5"
113+
url = "https://github.com/JuliaBinaryWrappers/LibArchive_jll.jl/releases/download/LibArchive-v3.4.3+0/LibArchive.v3.4.3.x86_64-w64-mingw32.tar.gz"

LICENSE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
The Julia source code within this repository (all files under `src/`) are
2+
released under the terms of the MIT "Expat" License, the text of which is
3+
included below. This license does not apply to the binary package wrapped by
4+
this Julia package and automatically downloaded by the Julia package manager
5+
upon installing this wrapper package. The binary package's license is shipped
6+
alongside the binary itself and can be found within the
7+
`share/licenses/LibArchive` directory within its prefix.
8+
19
MIT License
210

311
Copyright (c) 2020 JuliaBinaryWrappers

Project.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name = "LibArchive_jll"
2+
uuid = "1e303b3e-d4db-56ce-88c4-91e52606a1a8"
3+
version = "3.4.3+0"
4+
5+
[deps]
6+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
7+
Bzip2_jll = "6e34b625-4abd-537c-b88f-471c36dfa7a0"
8+
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
9+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
10+
Lz4_jll = "5ced341a-0733-55b8-9ab6-a4889d929147"
11+
Expat_jll = "2e619515-83b5-522b-bb60-26c02a35a201"
12+
Libiconv_jll = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531"
13+
XZ_jll = "ffd25f8a-64ca-5728-b0f7-c24cf3aae800"
14+
Zstd_jll = "3161d3a3-bdf6-5164-811a-617609db77b4"
15+
16+
[compat]
17+
julia = "1.0"

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# `LibArchive_jll.jl` (v3.4.3+0)
2+
3+
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/48160b4254209a905e0319fcf119fa38b2ca36aa/L/LibArchive/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree.
4+
5+
For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/).
6+
7+
## Sources
8+
9+
The tarballs for `LibArchive_jll.jl` have been built from these sources:
10+
11+
* compressed archive: https://www.libarchive.org/downloads/libarchive-3.4.3.tar.xz (SHA256 checksum: `0bfc3fd40491768a88af8d9b86bf04a9e95b6d41a94f9292dbc0ec342288c05f`)
12+
13+
## Platforms
14+
15+
`LibArchive_jll.jl` is available for the following platforms:
16+
17+
* `Linux(:aarch64, libc=:glibc)` (`aarch64-linux-gnu`)
18+
* `Linux(:aarch64, libc=:musl)` (`aarch64-linux-musl`)
19+
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf)` (`armv7l-linux-gnueabihf`)
20+
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf)` (`armv7l-linux-musleabihf`)
21+
* `Linux(:i686, libc=:glibc)` (`i686-linux-gnu`)
22+
* `Linux(:i686, libc=:musl)` (`i686-linux-musl`)
23+
* `Windows(:i686)` (`i686-w64-mingw32`)
24+
* `Linux(:powerpc64le, libc=:glibc)` (`powerpc64le-linux-gnu`)
25+
* `MacOS(:x86_64)` (`x86_64-apple-darwin14`)
26+
* `Linux(:x86_64, libc=:glibc)` (`x86_64-linux-gnu`)
27+
* `Linux(:x86_64, libc=:musl)` (`x86_64-linux-musl`)
28+
* `FreeBSD(:x86_64)` (`x86_64-unknown-freebsd11.1`)
29+
* `Windows(:x86_64)` (`x86_64-w64-mingw32`)
30+
31+
## Dependencies
32+
33+
The following JLL packages are required by `LibArchive_jll.jl`:
34+
35+
* [`Bzip2_jll`](https://github.com/JuliaBinaryWrappers/Bzip2_jll.jl)
36+
* [`Expat_jll`](https://github.com/JuliaBinaryWrappers/Expat_jll.jl)
37+
* [`Libiconv_jll`](https://github.com/JuliaBinaryWrappers/Libiconv_jll.jl)
38+
* [`Lz4_jll`](https://github.com/JuliaBinaryWrappers/Lz4_jll.jl)
39+
* [`XZ_jll`](https://github.com/JuliaBinaryWrappers/XZ_jll.jl)
40+
* [`Zlib_jll`](https://github.com/JuliaBinaryWrappers/Zlib_jll.jl)
41+
* [`Zstd_jll`](https://github.com/JuliaBinaryWrappers/Zstd_jll.jl)
42+
43+
## Products
44+
45+
The code bindings within this package are autogenerated from the following `Products`:
46+
47+
* `ExecutableProduct`: `bsdcat`
48+
* `ExecutableProduct`: `bsdcpio`
49+
* `ExecutableProduct`: `bsdtar`
50+
* `LibraryProduct`: `libarchive`

src/LibArchive_jll.jl

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
module LibArchive_jll
2+
3+
if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel"))
4+
@eval Base.Experimental.@optlevel 0
5+
end
6+
7+
if VERSION < v"1.3.0-rc4"
8+
# We lie a bit in the registry that JLL packages are usable on Julia 1.0-1.2.
9+
# This is to allow packages that might want to support Julia 1.0 to get the
10+
# benefits of a JLL package on 1.3 (requiring them to declare a dependence on
11+
# this JLL package in their Project.toml) but engage in heroic hacks to do
12+
# something other than actually use a JLL package on 1.0-1.2. By allowing
13+
# this package to be installed (but not loaded) on 1.0-1.2, we enable users
14+
# to avoid splitting their package versions into pre-1.3 and post-1.3 branches
15+
# if they are willing to engage in the kinds of hoop-jumping they might need
16+
# to in order to install binaries in a JLL-compatible way on 1.0-1.2. One
17+
# example of this hoop-jumping being to express a dependency on this JLL
18+
# package, then import it within a `VERSION >= v"1.3"` conditional, and use
19+
# the deprecated `build.jl` mechanism to download the binaries through e.g.
20+
# `BinaryProvider.jl`. This should work well for the simplest packages, and
21+
# require greater and greater heroics for more and more complex packages.
22+
error("Unable to import LibArchive_jll on Julia versions older than 1.3!")
23+
end
24+
25+
using Pkg, Pkg.BinaryPlatforms, Pkg.Artifacts, Libdl
26+
import Base: UUID
27+
28+
# We put these inter-JLL-package API values here so that they are always defined, even if there
29+
# is no underlying wrapper held within this JLL package.
30+
const PATH_list = String[]
31+
const LIBPATH_list = String[]
32+
33+
# Load Artifacts.toml file
34+
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")
35+
36+
# Extract all platforms
37+
artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("1e303b3e-d4db-56ce-88c4-91e52606a1a8"))
38+
platforms = [Pkg.Artifacts.unpack_platform(e, "LibArchive", artifacts_toml) for e in artifacts["LibArchive"]]
39+
40+
# Filter platforms based on what wrappers we've generated on-disk
41+
filter!(p -> isfile(joinpath(@__DIR__, "wrappers", replace(triplet(p), "arm-" => "armv7l-") * ".jl")), platforms)
42+
43+
# From the available options, choose the best platform
44+
best_platform = select_platform(Dict(p => triplet(p) for p in platforms))
45+
46+
# Silently fail if there's no binaries for this platform
47+
if best_platform === nothing
48+
@debug("Unable to load LibArchive; unsupported platform $(triplet(platform_key_abi()))")
49+
else
50+
# Load the appropriate wrapper. Note that on older Julia versions, we still
51+
# say "arm-linux-gnueabihf" instead of the more correct "armv7l-linux-gnueabihf",
52+
# so we manually correct for that here:
53+
best_platform = replace(best_platform, "arm-" => "armv7l-")
54+
include(joinpath(@__DIR__, "wrappers", "$(best_platform).jl"))
55+
end
56+
57+
end # module LibArchive_jll

0 commit comments

Comments
 (0)