Skip to content

Commit 71bfbb3

Browse files
authored
Update HelloWorldC in Artifacts tests and bump LazyArtifacts for the same change (#57000)
This updates the version of HelloWorldC in `stdlib/Artifacts/test/Artifacts.toml` from 1.1.2 to 1.4.0, for which there are binaries for FreeBSD AArch64 and Linux RISC-V. The same change was made to LazyArtifacts, as it contains that same `Artifacts.toml` file in its tests, and the version of LazyArtifacts used here has been updated accordingly. No other changes have been made to LazyArtifacts since the previous version used here.
1 parent 49428e8 commit 71bfbb3

File tree

7 files changed

+74
-57
lines changed

7 files changed

+74
-57
lines changed

deps/checksums/LazyArtifacts-a719c0e3d68a95c6f3dc9571459428ca8761fa2c.tar.gz/md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

deps/checksums/LazyArtifacts-a719c0e3d68a95c6f3dc9571459428ca8761fa2c.tar.gz/sha512

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
405faa2237105ff823e80e759b2df17a
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9bd2bdd5a83df28a26ebfb0d4e59b50584962e07b1364e6fd76bc7a6a7b109f1facaa04366beaa9f340192ea9efa540decde1393ddd50dc3efa13937deeb5d7f

stdlib/Artifacts/test/Artifacts.toml

Lines changed: 65 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,146 +1,163 @@
11
[[HelloWorldC]]
22
arch = "aarch64"
3-
git-tree-sha1 = "95fce80ec703eeb5f4270fef6821b38d51387499"
3+
git-tree-sha1 = "0835a23111b12d2aa5e1f7a852ed71e0b92e3425"
44
os = "macos"
55

66
[[HelloWorldC.download]]
7-
sha256 = "23f45918421881de8e9d2d471c70f6b99c26edd1dacd7803d2583ba93c8bbb28"
8-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.aarch64-apple-darwin.tar.gz"
7+
sha256 = "4406a35689feaf532ff0347a11896449571e8a1c919e5550b01dfe10f2e64822"
8+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.aarch64-apple-darwin.tar.gz"
99
[[HelloWorldC]]
1010
arch = "aarch64"
11-
git-tree-sha1 = "1ccbaad776766366943fd5a66a8cbc9877ee8df9"
11+
git-tree-sha1 = "c82465bd6d0aa1369ff2fd961b73884d1f5de49a"
1212
libc = "glibc"
1313
os = "linux"
1414

1515
[[HelloWorldC.download]]
16-
sha256 = "82bca07ff25a75875936116ca977285160a2afcc4f58dd160c7b1600f55da655"
17-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.aarch64-linux-gnu.tar.gz"
16+
sha256 = "5bfa84332c7ee485ca8e2eee216ad9fa77b2c43d5f261baa823e301b7c789ec4"
17+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.aarch64-linux-gnu.tar.gz"
1818
[[HelloWorldC]]
1919
arch = "aarch64"
20-
git-tree-sha1 = "dc43ab874611cfc26641741c31b8230276d7d664"
20+
git-tree-sha1 = "cb4b8c88778c6cd93b6df38ec5b95a2678434f5d"
2121
libc = "musl"
2222
os = "linux"
2323

2424
[[HelloWorldC.download]]
25-
sha256 = "36b7c554f1cb04d5282b991c66a10b2100085ac8deb2156bf52b4f7c4e406c04"
26-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.aarch64-linux-musl.tar.gz"
25+
sha256 = "924df1c2a386f79a2727a2f989393102649a24863214f2e88cb4a677d3d22e14"
26+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.aarch64-linux-musl.tar.gz"
27+
[[HelloWorldC]]
28+
arch = "aarch64"
29+
git-tree-sha1 = "7db155cf8485fbeb23d30a305f76ece191db9dc4"
30+
os = "freebsd"
31+
32+
[[HelloWorldC.download]]
33+
sha256 = "d86d992f428df1264d55d7ac886ccd0a0539fda82363bf5dda872d12ea742528"
34+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.aarch64-unknown-freebsd.tar.gz"
2735
[[HelloWorldC]]
2836
arch = "armv6l"
2937
call_abi = "eabihf"
30-
git-tree-sha1 = "b7128521583d02d2dbe9c8de6fe156b79df781d9"
38+
git-tree-sha1 = "20a32b71145b67e708f63fb5880a7243727aec0f"
3139
libc = "glibc"
3240
os = "linux"
3341

3442
[[HelloWorldC.download]]
35-
sha256 = "5e094b9c6e4c6a77ecc8dfc2b841ac1f2157f6a81f4c47f1e0d3e9a04eec7945"
36-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.armv6l-linux-gnueabihf.tar.gz"
43+
sha256 = "6f0997b0aad387ba6e2402530642bb4ded85b0243460d2e4b13d94f2c8340a44"
44+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.armv6l-linux-gnueabihf.tar.gz"
3745
[[HelloWorldC]]
3846
arch = "armv6l"
3947
call_abi = "eabihf"
40-
git-tree-sha1 = "edb3893a154519d6786234f5c83994c34e11feed"
48+
git-tree-sha1 = "c1179604ea37fa66ee6d5d592c7bbfd1f20292c3"
4149
libc = "musl"
4250
os = "linux"
4351

4452
[[HelloWorldC.download]]
45-
sha256 = "0a2203f061ba2ef7ce4c452ec7874be3acc6db1efac8091f85d113c3404e6bb6"
46-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.armv6l-linux-musleabihf.tar.gz"
53+
sha256 = "0aca47bce6f09c38a7939277a593deb988123fe59f7992225a1ede8e174f1b06"
54+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.armv6l-linux-musleabihf.tar.gz"
4755
[[HelloWorldC]]
4856
arch = "armv7l"
4957
call_abi = "eabihf"
50-
git-tree-sha1 = "5a8288c8a30578c0d0f24a9cded29579517ce7a8"
58+
git-tree-sha1 = "0a8e7b523ef6be31311aefe9983a488616e58201"
5159
libc = "glibc"
5260
os = "linux"
5361

5462
[[HelloWorldC.download]]
55-
sha256 = "a4392a4c8f834c97f9d8822ddfb1813d8674fa602eeaf04d6359c0a9e98478ec"
56-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.armv7l-linux-gnueabihf.tar.gz"
63+
sha256 = "f29f4da556d2b4ee9eaff7740aa0f9436406b75b0f1ec428e881a47ab7b7477b"
64+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.armv7l-linux-gnueabihf.tar.gz"
5765
[[HelloWorldC]]
5866
arch = "armv7l"
5967
call_abi = "eabihf"
60-
git-tree-sha1 = "169c261b321c4dc95894cdd2db9d0d0caa84677f"
68+
git-tree-sha1 = "ca94b4d87f1a276066a2994733142e35046c41dd"
6169
libc = "musl"
6270
os = "linux"
6371

6472
[[HelloWorldC.download]]
65-
sha256 = "ed1aacbf197a6c78988725a39defad130ed31a2258f8e7846f73b459821f21d3"
66-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.armv7l-linux-musleabihf.tar.gz"
73+
sha256 = "5fb4019d6d797e5e3860cfec90cab12f6865fa624e87b51c20220a44bb94846a"
74+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.armv7l-linux-musleabihf.tar.gz"
6775
[[HelloWorldC]]
6876
arch = "i686"
69-
git-tree-sha1 = "fd35f9155dc424602d01fbf983eb76be3217a28f"
77+
git-tree-sha1 = "91376c8b0bc90c47076cab4e55bf77e86bb59076"
7078
libc = "glibc"
7179
os = "linux"
7280

7381
[[HelloWorldC.download]]
74-
sha256 = "048fcff5ff47a3cc1e84a2688935fcd658ad1c7e7c52c0e81fe88ce6c3697aba"
75-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.i686-linux-gnu.tar.gz"
82+
sha256 = "b775c985231cd0626afd0111902a764c75c9a8a123b12e1f386a1c2af3cef799"
83+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.i686-linux-gnu.tar.gz"
7684
[[HelloWorldC]]
7785
arch = "i686"
78-
git-tree-sha1 = "8db14df0f1d2a3ed9c6a7b053a590ca6527eb95e"
86+
git-tree-sha1 = "b50220be02e9c839749f91a70694ae68c2712c8e"
7987
libc = "musl"
8088
os = "linux"
8189

8290
[[HelloWorldC.download]]
83-
sha256 = "d521b4420392b8365de5ed0ef38a3b6c822665d7c257d3eef6f725c205bb3d78"
84-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.i686-linux-musl.tar.gz"
91+
sha256 = "6aecc06cf803ad16703744610deb243a21b39e19ae1951a38977610881698f9e"
92+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.i686-linux-musl.tar.gz"
8593
[[HelloWorldC]]
8694
arch = "i686"
87-
git-tree-sha1 = "56f82168947b8dc7bb98038f063209b9f864eaff"
95+
git-tree-sha1 = "cc9cfa3272d4d3844d6fcf8b6b971bd68dbc792f"
8896
os = "windows"
8997

9098
[[HelloWorldC.download]]
91-
sha256 = "de578cf5ee2f457e9ff32089cbe17d03704a929980beddf4c41f4c0eb32f19c6"
92-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.i686-w64-mingw32.tar.gz"
99+
sha256 = "bbf3276bcfc8223061c3b1cf8725425bfc33ac2929214ba57eecfd170d30f096"
100+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.i686-w64-mingw32.tar.gz"
93101
[[HelloWorldC]]
94102
arch = "powerpc64le"
95-
git-tree-sha1 = "9c8902b62f5b1aaa7c2839c804bed7c3a0912c7b"
103+
git-tree-sha1 = "5e9c87fc4e3372c27a77061a49d97fa5002df0e4"
104+
libc = "glibc"
105+
os = "linux"
106+
107+
[[HelloWorldC.download]]
108+
sha256 = "e2a728b29124fc7408d6e47cc6fc943d0336d1386e56a3775a0665b34528881b"
109+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.powerpc64le-linux-gnu.tar.gz"
110+
[[HelloWorldC]]
111+
arch = "riscv64"
112+
git-tree-sha1 = "3c9b23e46b82ab59141bbbc042158af4037d846d"
96113
libc = "glibc"
97114
os = "linux"
98115

99116
[[HelloWorldC.download]]
100-
sha256 = "63ddbfbb6ea0cafef544cc25415e7ebee6ee0a69db0878d0d4e1ed27c0ae0ab5"
101-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.powerpc64le-linux-gnu.tar.gz"
117+
sha256 = "59e2250eab04924eb7167d3232e4b0176c53097e4b21f2f3e3621f1e39f43107"
118+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.riscv64-linux-gnu.tar.gz"
102119
[[HelloWorldC]]
103120
arch = "x86_64"
104-
git-tree-sha1 = "f8ab5a03697f9afc82210d8a2be1d94509aea8bc"
121+
git-tree-sha1 = "2e1742c9c0addd693b0b025f7a1e7aa4c50a0e6c"
105122
os = "macos"
106123

107124
[[HelloWorldC.download]]
108-
sha256 = "f5043338613672b12546c59359c7997c5381a9a60b86aeb951dee74de428d5e3"
109-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.x86_64-apple-darwin.tar.gz"
125+
sha256 = "c4f0c83ae4f72a039c33beb26ebb1d4c0fb739f34360102be79909a0dc17f47f"
126+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.x86_64-apple-darwin.tar.gz"
110127
[[HelloWorldC]]
111128
arch = "x86_64"
112-
git-tree-sha1 = "1ed3d81088f16e3a1fa4e3d4c4c509b8c117fecf"
129+
git-tree-sha1 = "8c8251b0c21615bce0701995eded26ac7697b5cc"
113130
libc = "glibc"
114131
os = "linux"
115132

116133
[[HelloWorldC.download]]
117-
sha256 = "a18212e7984b08b23bec06e8bf9286a89b9fa2e8ee0dd46af3b852fe22013a4f"
118-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.x86_64-linux-gnu.tar.gz"
134+
sha256 = "974f7e1d1cdbebad149e51fed4f1b7c6a0b5ccfa350f7d252dfcf66c2dbf9f63"
135+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.x86_64-linux-gnu.tar.gz"
119136
[[HelloWorldC]]
120137
arch = "x86_64"
121-
git-tree-sha1 = "c04ef757b8bb773d17a0fd0ea396e52db1c7c385"
138+
git-tree-sha1 = "cfaaf0517421585561e3b30dd6f53f6c14b2835f"
122139
libc = "musl"
123140
os = "linux"
124141

125142
[[HelloWorldC.download]]
126-
sha256 = "7a3d1b09410989508774f00e073ea6268edefcaba7617fc5085255ec8e82555b"
127-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.x86_64-linux-musl.tar.gz"
143+
sha256 = "25d3d6ecc753f4dbbcaab0db7b6c20b29b0a79b0c31f7a26a0cf18c365d27809"
144+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.x86_64-linux-musl.tar.gz"
128145
[[HelloWorldC]]
129146
arch = "x86_64"
130-
git-tree-sha1 = "5f7e7abf7d545a1aaa368f22e3e01ea0268870b1"
147+
git-tree-sha1 = "8e8a17876a9c1147bae6a53a175344b805ee72d4"
131148
os = "freebsd"
132149

133150
[[HelloWorldC.download]]
134-
sha256 = "56aedffe38fe20294e93cfc2eb0a193c8e2ddda5a697b302e77ff48ac1195198"
135-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.x86_64-unknown-freebsd.tar.gz"
151+
sha256 = "61a3f945941adbf75c87c1c28f05e95b187959fedf29ecaa36519c5d1941bf23"
152+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.x86_64-unknown-freebsd.tar.gz"
136153
[[HelloWorldC]]
137154
arch = "x86_64"
138-
git-tree-sha1 = "2f1a6d4f82cd1eea785a5141b992423c09491f1b"
155+
git-tree-sha1 = "6e1eb164b0651aa44621eac4dfa340d6e60295ef"
139156
os = "windows"
140157

141158
[[HelloWorldC.download]]
142-
sha256 = "aad77a16cbc9752f6ec62549a28c7e9f3f7f57919f6fa9fb924e0c669b11f8c4"
143-
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.1.2+0/HelloWorldC.v1.1.2.x86_64-w64-mingw32.tar.gz"
159+
sha256 = "1f10e46f7b073136f7f668de89096d631ae8bb8903547d588f6817f0b780b2fc"
160+
url = "https://github.com/JuliaBinaryWrappers/HelloWorldC_jll.jl/releases/download/HelloWorldC-v1.4.0+0/HelloWorldC.v1.4.0.x86_64-w64-mingw32.tar.gz"
144161

145162
[socrates]
146163
git-tree-sha1 = "43563e7631a7eafae1f9f8d9d332e3de44ad7239"

stdlib/Artifacts/test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ end
195195
with_artifacts_directory(artifacts_dir) do
196196
win64 = Platform("x86_64", "windows")
197197
mac64 = Platform("x86_64", "macos")
198-
@test basename(@artifact_str("HelloWorldC", win64)) == "2f1a6d4f82cd1eea785a5141b992423c09491f1b"
199-
@test basename(@artifact_str("HelloWorldC", mac64)) == "f8ab5a03697f9afc82210d8a2be1d94509aea8bc"
198+
@test basename(@artifact_str("HelloWorldC", win64)) == "6e1eb164b0651aa44621eac4dfa340d6e60295ef"
199+
@test basename(@artifact_str("HelloWorldC", mac64)) == "2e1742c9c0addd693b0b025f7a1e7aa4c50a0e6c"
200200
end
201201
end
202202

@@ -206,26 +206,26 @@ end
206206

207207
# Check the first key in Artifacts.toml is hashed correctly
208208
@test artifact_hash("HelloWorldC", joinpath(@__DIR__, "Artifacts.toml"); platform=armv7l_linux) ==
209-
SHA1("5a8288c8a30578c0d0f24a9cded29579517ce7a8")
209+
SHA1("0a8e7b523ef6be31311aefe9983a488616e58201")
210210

211211
# Check the second key in Artifacts.toml is hashed correctly
212212
@test artifact_hash("socrates", joinpath(@__DIR__, "Artifacts.toml"); platform=armv7l_linux) ==
213213
SHA1("43563e7631a7eafae1f9f8d9d332e3de44ad7239")
214214

215215
# Check artifact_hash() works for any AbstractString
216216
@test artifact_hash(SubString("HelloWorldC0", 1, 11), joinpath(@__DIR__, "Artifacts.toml"); platform=armv7l_linux) ==
217-
SHA1("5a8288c8a30578c0d0f24a9cded29579517ce7a8")
217+
SHA1("0a8e7b523ef6be31311aefe9983a488616e58201")
218218
end
219219

220220
@testset "select_downloadable_artifacts()" begin
221221
armv7l_linux = Platform("armv7l", "linux")
222222
artifacts = select_downloadable_artifacts(joinpath(@__DIR__, "Artifacts.toml"); platform=armv7l_linux)
223223
@test length(keys(artifacts)) == 1
224-
@test artifacts["HelloWorldC"]["git-tree-sha1"] == "5a8288c8a30578c0d0f24a9cded29579517ce7a8"
224+
@test artifacts["HelloWorldC"]["git-tree-sha1"] == "0a8e7b523ef6be31311aefe9983a488616e58201"
225225

226226
artifacts = select_downloadable_artifacts(joinpath(@__DIR__, "Artifacts.toml"); platform=armv7l_linux, include_lazy=true)
227227
@test length(keys(artifacts)) == 2
228-
@test artifacts["HelloWorldC"]["git-tree-sha1"] == "5a8288c8a30578c0d0f24a9cded29579517ce7a8"
228+
@test artifacts["HelloWorldC"]["git-tree-sha1"] == "0a8e7b523ef6be31311aefe9983a488616e58201"
229229
@test artifacts["socrates"]["git-tree-sha1"] == "43563e7631a7eafae1f9f8d9d332e3de44ad7239"
230230
end
231231

stdlib/LazyArtifacts.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
LAZYARTIFACTS_BRANCH = main
2-
LAZYARTIFACTS_SHA1 = a719c0e3d68a95c6f3dc9571459428ca8761fa2c
2+
LAZYARTIFACTS_SHA1 = e4cfc39598c238f75bdfdbdb3f82c9329a5af59c
33
LAZYARTIFACTS_GIT_URL := https://github.com/JuliaPackaging/LazyArtifacts.jl.git
44
LAZYARTIFACTS_TAR_URL = https://api.github.com/repos/JuliaPackaging/LazyArtifacts.jl/tarball/$1

0 commit comments

Comments
 (0)