Skip to content

Commit ba91380

Browse files
committed
HelloWorldC_jll build 1.0.14+0
1 parent 4347667 commit ba91380

File tree

6 files changed

+204
-66
lines changed

6 files changed

+204
-66
lines changed

Artifacts.toml

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,113 @@
11
[[HelloWorldC]]
2-
arch = "armv7l"
3-
git-tree-sha1 = "4b79a32aa15b6b618c4653e33ca07f34fa8bf349"
4-
libc = "glibc"
2+
arch = "aarch64"
3+
git-tree-sha1 = "9028c28b87ee4efaa27012facd8461b912de71b5"
4+
libc = "musl"
55
os = "linux"
66

77
[[HelloWorldC.download]]
8-
sha256 = "56e5ad8c13ebef516aa060cea7aaedabacb568c1e41b2807a1e4680bacb7bf49"
9-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.arm-linux-gnueabihf.tar.gz"
8+
sha256 = "b2091f6af911a20813c07e067482270109afdb737d15efb4997bfad898ff68e9"
9+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.aarch64-linux-musl.tar.gz"
1010
[[HelloWorldC]]
11-
arch = "aarch64"
12-
git-tree-sha1 = "285fb25282e4dcfb0f6df148706528e6b231b50d"
11+
arch = "i686"
12+
git-tree-sha1 = "2c0fccb55c102f66bc8babb004d57fd60a5fb266"
13+
os = "windows"
14+
15+
[[HelloWorldC.download]]
16+
sha256 = "4fcbe3b5894371870e5f7205d5f74d09e4776eac9083fd4a9f6dee37098dcac1"
17+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.i686-w64-mingw32.tar.gz"
18+
[[HelloWorldC]]
19+
arch = "x86_64"
20+
git-tree-sha1 = "f14d9db7ad9e3868e8a29ae27e8155119fc1c428"
1321
libc = "musl"
1422
os = "linux"
1523

1624
[[HelloWorldC.download]]
17-
sha256 = "7fe3e1dbdc63399dd8e2279c5e8a3ccebcaf942b5c5ad5a034cbf465f8ff112d"
18-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.aarch64-linux-musl.tar.gz"
25+
sha256 = "37b2030ede0b4d31a4114bf83194a01ac17b58bb4fba9e719377ced8699600ed"
26+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.x86_64-linux-musl.tar.gz"
1927
[[HelloWorldC]]
20-
arch = "powerpc64le"
21-
git-tree-sha1 = "50c4f44c68a1014858bff4380ab0499c9476c921"
28+
arch = "i686"
29+
git-tree-sha1 = "ecfc9123e796e446e0a6769a76984df85ce8f813"
2230
libc = "glibc"
2331
os = "linux"
2432

2533
[[HelloWorldC.download]]
26-
sha256 = "16af8f4bbf4dd0d6700719136e23f6ee013db20e0ef7ac4140397060ff32c860"
27-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.powerpc64le-linux-gnu.tar.gz"
34+
sha256 = "39e6c0a28d7d0598af83a3d331ec37da9da29c360f99dbf26965a45da26be702"
35+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.i686-linux-gnu.tar.gz"
2836
[[HelloWorldC]]
29-
arch = "x86_64"
30-
git-tree-sha1 = "6ef4152e0f5eb4cf481f67cdb584aee6c45a2496"
31-
os = "macos"
37+
arch = "armv7l"
38+
git-tree-sha1 = "7e8c94ed9ea3b96b3d9862d77e9992d92ade43b6"
39+
libc = "glibc"
40+
os = "linux"
3241

3342
[[HelloWorldC.download]]
34-
sha256 = "72106a835d71d828e3cf8884c821d574714c96c3256a7c12a1cc74a54bb3a098"
35-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.x86_64-apple-darwin14.tar.gz"
43+
sha256 = "18f3017c92cee5766c9bbc2fa3f3e560961084740a1cefcf071667db820dbe97"
44+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.armv7l-linux-gnueabihf.tar.gz"
3645
[[HelloWorldC]]
37-
arch = "x86_64"
38-
git-tree-sha1 = "1febce76455032cac9b51d02ec5cdc0ff22dc40d"
39-
libc = "musl"
46+
arch = "aarch64"
47+
git-tree-sha1 = "3fb2edf2c1d2f360b7fac38eb145c0523ac44740"
48+
libc = "glibc"
4049
os = "linux"
4150

4251
[[HelloWorldC.download]]
43-
sha256 = "9b8d0dcaf62d5ff895f1573f1f72c1d4073a8e79b8afd51f9f9a9bc5909959ac"
44-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.x86_64-linux-musl.tar.gz"
52+
sha256 = "b11c7cb2b3e591c908b69259dbd26e3ed7b992d23c64a7a75d6c08098af5e40d"
53+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.aarch64-linux-gnu.tar.gz"
4554
[[HelloWorldC]]
4655
arch = "x86_64"
47-
git-tree-sha1 = "01e370ba2f1df6b701574f4b51c2a17f1bd75f80"
48-
os = "windows"
49-
50-
[[HelloWorldC.download]]
51-
sha256 = "80b3db67357b1888b3a8b8a629b94a5b924f2318d78197f5714542702a9dda00"
52-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.x86_64-w64-mingw32.tar.gz"
53-
[[HelloWorldC]]
54-
arch = "i686"
55-
git-tree-sha1 = "5ce66ce7ce42d63ddb656eb011c7d1465fafe697"
56+
git-tree-sha1 = "bca7c43f9577b90e5121384daabe09962c6dafdc"
5657
libc = "glibc"
5758
os = "linux"
5859

5960
[[HelloWorldC.download]]
60-
sha256 = "762418636a39eeecff2d4371516838d052150cc0ed0cb8cd8d7600014ff29b46"
61-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.i686-linux-gnu.tar.gz"
61+
sha256 = "2cfc632cc5bc9f525bfa9a9e1247568b247338c6078e512649cfd1b2df83ced2"
62+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.x86_64-linux-gnu.tar.gz"
6263
[[HelloWorldC]]
63-
arch = "aarch64"
64-
git-tree-sha1 = "31373ca3eb2827ae48e0250ebc06ba096c9f5724"
64+
arch = "powerpc64le"
65+
git-tree-sha1 = "5e66f5c75cdb622d1000001c5c8681118e3ad1db"
6566
libc = "glibc"
6667
os = "linux"
6768

6869
[[HelloWorldC.download]]
69-
sha256 = "c20d743d11b4a52ab29a365ee12b055b51706c97d2d17ac8a3073878db1f5e99"
70-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.aarch64-linux-gnu.tar.gz"
70+
sha256 = "bb10601aa3366a2718d00cc7cd065c251133a0e69b60e2f77a3e4b588bd017c9"
71+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.powerpc64le-linux-gnu.tar.gz"
7172
[[HelloWorldC]]
72-
arch = "i686"
73-
git-tree-sha1 = "7aeb53f5797e6abf76ab7b93a24928b7898beb59"
74-
libc = "musl"
75-
os = "linux"
73+
arch = "x86_64"
74+
git-tree-sha1 = "f45efb8396418523e79a213a0f36f4ca6aca42d8"
75+
os = "macos"
7676

7777
[[HelloWorldC.download]]
78-
sha256 = "19ed0229f15db5d96f8d1897705e6e2087d469214e77f8b73a73d8bef676559e"
79-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.i686-linux-musl.tar.gz"
78+
sha256 = "5176c26372359160506d15392e6acbe6ff8d9a08b9a9e36bd892a70048927d0f"
79+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.x86_64-apple-darwin14.tar.gz"
8080
[[HelloWorldC]]
8181
arch = "x86_64"
82-
git-tree-sha1 = "33782dbcfceb634eef97db6a3ece01ae514f04a0"
82+
git-tree-sha1 = "ebad97eb0ed2ef2567245d3685b5989e19f18810"
8383
os = "freebsd"
8484

8585
[[HelloWorldC.download]]
86-
sha256 = "f65bc637f36a502ed6a358f2cbabc9b069c80812c5bda87381541e734a882638"
87-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.x86_64-unknown-freebsd11.1.tar.gz"
86+
sha256 = "38b63bf4605f9f9bef9b813fbffb2a0046c071ce31ae77be82a5a28288fd9d27"
87+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.x86_64-unknown-freebsd11.1.tar.gz"
8888
[[HelloWorldC]]
8989
arch = "i686"
90-
git-tree-sha1 = "eef9d4897972a3d0172824e2c65a8144fa107009"
91-
os = "windows"
90+
git-tree-sha1 = "0f924e8244287b32628950f8caaaf4da739273f2"
91+
libc = "musl"
92+
os = "linux"
9293

9394
[[HelloWorldC.download]]
94-
sha256 = "81e17f7bf5c7fdffe2eb57765e6598fcb98399a72a5a5b0f6cd924d76f143cfe"
95-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.i686-w64-mingw32.tar.gz"
95+
sha256 = "ddd00a855c7ee2ddb94a3535c0be5d5f47c9fbcf7dd4729fa895f8a2a02a72f1"
96+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.i686-linux-musl.tar.gz"
9697
[[HelloWorldC]]
9798
arch = "armv7l"
98-
git-tree-sha1 = "7f32ae8d9cea792fe84768f9e7bdc3e181e32c18"
99+
git-tree-sha1 = "3d85e55e6137f92ce9115d67e73ecfe38c868053"
99100
libc = "musl"
100101
os = "linux"
101102

102103
[[HelloWorldC.download]]
103-
sha256 = "16319acc58ebfd81ecae26d570b959d61c3a24814d0f98a9d69cdcbfd58f2dad"
104-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+0/HelloWorldC.v1.0.8.arm-linux-musleabihf.tar.gz"
104+
sha256 = "a6811082457f3168c056eefe687034474c4f082b16ec9bfbbe5ae84a5304179a"
105+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.armv7l-linux-musleabihf.tar.gz"
105106
[[HelloWorldC]]
106107
arch = "x86_64"
107-
git-tree-sha1 = "73235ed1c701268c78ede8989340e003dd950eda"
108-
libc = "glibc"
109-
os = "linux"
108+
git-tree-sha1 = "3c9a8a0dde6cf5b932b9d960d0f60ef314da3ab8"
109+
os = "windows"
110110

111111
[[HelloWorldC.download]]
112-
sha256 = "46eba0d1ee1ea0924a7e1648d65c3041a3f5bd047c5336c7cf2e9bfe56362a01"
113-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.8+1/HelloWorldC.v1.0.8.x86_64-linux-gnu.tar.gz"
112+
sha256 = "ba26eb76314ffe54fa5ebbe541668c6915b4c8311aee7d41a19bd30bee97a327"
113+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.0.14+0/HelloWorldC.v1.0.14.x86_64-w64-mingw32.tar.gz"

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "HelloWorldC_jll"
2-
uuid = "dca1746e-5efc-54fc-8249-22745bc95a49"
3-
version = "1.0.8+1"
2+
uuid = "0d0fe7a8-7b7d-5f44-b080-8ed6ac8eb89b"
3+
version = "1.0.14+0"
44

55
[deps]
66
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22

33
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl).
44

5-
## Usage
5+
## Products
66

7-
The code bindings within this package are autogenerated from the `Products` defined within the `build_tarballs.jl` file that generated this package. For example purposes, we will assume that the following products were defined:
7+
The code bindings within this package are autogenerated from the following `Products` defined within the `build_tarballs.jl` file that generated this package:
8+
9+
```julia
10+
products = [
11+
ExecutableProduct(["hello_world"], :hello_world)
12+
]
13+
```
14+
15+
## Usage example
16+
17+
For example purposes, we will assume that the following products were defined in the imaginary package `Example_jll`:
818

919
```julia
1020
products = [
@@ -14,10 +24,10 @@ products = [
1424
]
1525
```
1626

17-
With such products defined, this package will contain `data_txt`, `libdataproc` and `mungify_exe` symbols exported. For `FileProduct` variables, the exported value is a string pointing to the location of the file on-disk. For `LibraryProduct` variables, it is a string corresponding to the `SONAME` of the desired library (it will have already been `dlopen()`'ed, so typical `ccall()` usage applies), and for `ExecutableProduct` variables, the exported value is a function that can be called to set appropriate environment variables. Example:
27+
With such products defined, `Example_jll` would contain `data_txt`, `libdataproc` and `mungify_exe` symbols exported. For `FileProduct` variables, the exported value is a string pointing to the location of the file on-disk. For `LibraryProduct` variables, it is a string corresponding to the `SONAME` of the desired library (it will have already been `dlopen()`'ed, so typical `ccall()` usage applies), and for `ExecutableProduct` variables, the exported value is a function that can be called to set appropriate environment variables. Example:
1828

1929
```julia
20-
using HelloWorldC_jll
30+
using Example_jll
2131

2232
# For file products, you can access its file location directly:
2333
data_lines = open(data_txt, "r") do io

src/HelloWorldC_jll.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const LIBPATH_list = String[]
3030
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")
3131

3232
# Extract all platforms
33-
artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("dca1746e-5efc-54fc-8249-22745bc95a49"))
33+
artifacts = Pkg.Artifacts.load_artifacts_toml(artifacts_toml; pkg_uuid=UUID("0d0fe7a8-7b7d-5f44-b080-8ed6ac8eb89b"))
3434
platforms = [Pkg.Artifacts.unpack_platform(e, "HelloWorldC", artifacts_toml) for e in artifacts["HelloWorldC"]]
3535

3636
# Filter platforms based on what wrappers we've generated on-disk
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Autogenerated wrapper script for HelloWorldC_jll for armv7l-linux-gnueabihf
2+
export hello_world
3+
4+
## Global variables
5+
PATH = ""
6+
LIBPATH = ""
7+
LIBPATH_env = "LD_LIBRARY_PATH"
8+
9+
# Relative path to `hello_world`
10+
const hello_world_splitpath = ["bin", "hello_world"]
11+
12+
# This will be filled out by __init__() for all products, as it must be done at runtime
13+
hello_world_path = ""
14+
15+
# hello_world-specific global declaration
16+
function hello_world(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
17+
global PATH, LIBPATH
18+
env_mapping = Dict{String,String}()
19+
if adjust_PATH
20+
if !isempty(get(ENV, "PATH", ""))
21+
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
22+
else
23+
env_mapping["PATH"] = PATH
24+
end
25+
end
26+
if adjust_LIBPATH
27+
if !isempty(get(ENV, LIBPATH_env, ""))
28+
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
29+
else
30+
env_mapping[LIBPATH_env] = LIBPATH
31+
end
32+
end
33+
withenv(env_mapping...) do
34+
f(hello_world_path)
35+
end
36+
end
37+
38+
39+
"""
40+
Open all libraries
41+
"""
42+
function __init__()
43+
global artifact_dir = abspath(artifact"HelloWorldC")
44+
45+
# Initialize PATH and LIBPATH environment variable listings
46+
global PATH_list, LIBPATH_list
47+
# We first need to add to LIBPATH_list the libraries provided by Julia
48+
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
49+
global hello_world_path = normpath(joinpath(artifact_dir, hello_world_splitpath...))
50+
51+
push!(PATH_list, dirname(hello_world_path))
52+
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
53+
filter!(!isempty, unique!(PATH_list))
54+
filter!(!isempty, unique!(LIBPATH_list))
55+
global PATH = join(PATH_list, ':')
56+
global LIBPATH = join(LIBPATH_list, ':')
57+
58+
# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
59+
# that don't honor our "already opened" trick)
60+
#for lp in LIBPATH_list
61+
# push!(DL_LOAD_PATH, lp)
62+
#end
63+
end # __init__()
64+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Autogenerated wrapper script for HelloWorldC_jll for armv7l-linux-musleabihf
2+
export hello_world
3+
4+
## Global variables
5+
PATH = ""
6+
LIBPATH = ""
7+
LIBPATH_env = "LD_LIBRARY_PATH"
8+
9+
# Relative path to `hello_world`
10+
const hello_world_splitpath = ["bin", "hello_world"]
11+
12+
# This will be filled out by __init__() for all products, as it must be done at runtime
13+
hello_world_path = ""
14+
15+
# hello_world-specific global declaration
16+
function hello_world(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true)
17+
global PATH, LIBPATH
18+
env_mapping = Dict{String,String}()
19+
if adjust_PATH
20+
if !isempty(get(ENV, "PATH", ""))
21+
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"])
22+
else
23+
env_mapping["PATH"] = PATH
24+
end
25+
end
26+
if adjust_LIBPATH
27+
if !isempty(get(ENV, LIBPATH_env, ""))
28+
env_mapping[LIBPATH_env] = string(LIBPATH, ':', ENV[LIBPATH_env])
29+
else
30+
env_mapping[LIBPATH_env] = LIBPATH
31+
end
32+
end
33+
withenv(env_mapping...) do
34+
f(hello_world_path)
35+
end
36+
end
37+
38+
39+
"""
40+
Open all libraries
41+
"""
42+
function __init__()
43+
global artifact_dir = abspath(artifact"HelloWorldC")
44+
45+
# Initialize PATH and LIBPATH environment variable listings
46+
global PATH_list, LIBPATH_list
47+
# We first need to add to LIBPATH_list the libraries provided by Julia
48+
append!(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)])
49+
global hello_world_path = normpath(joinpath(artifact_dir, hello_world_splitpath...))
50+
51+
push!(PATH_list, dirname(hello_world_path))
52+
# Filter out duplicate and empty entries in our PATH and LIBPATH entries
53+
filter!(!isempty, unique!(PATH_list))
54+
filter!(!isempty, unique!(LIBPATH_list))
55+
global PATH = join(PATH_list, ':')
56+
global LIBPATH = join(LIBPATH_list, ':')
57+
58+
# Add each element of LIBPATH to our DL_LOAD_PATH (necessary on platforms
59+
# that don't honor our "already opened" trick)
60+
#for lp in LIBPATH_list
61+
# push!(DL_LOAD_PATH, lp)
62+
#end
63+
end # __init__()
64+

0 commit comments

Comments
 (0)