Skip to content

Commit 8a9666a

Browse files
add stdlibs (for now): Tar, ArgTools (#37763)
This requires activating the project of a stdlib when testing it. This is necessary because the Tar package has test dependencies that are not stdlibs (Tar_jll, SimpleBufferStream).
1 parent c1c5293 commit 8a9666a

File tree

10 files changed

+21
-2
lines changed

10 files changed

+21
-2
lines changed

base/sysimg.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ let
5656
:LibCURL_jll,
5757
:LibCURL,
5858
:Downloads,
59+
:ArgTools,
60+
:Tar,
5961
]
6062

6163
maxlen = reduce(max, textwidth.(string.(stdlibs)); init=0)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7f9f46d1480d57f67c9d3db7505e906f
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fdb39fe1f50292f9ede3f3bd31c180c067ac4d8cb4d42336141f8b0657e42e16d0663e2e0073354fbcf931597fdbb1b91424047832f49220f79cc8871fdc7f1d
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eb845ef73c078a73ffac7dade07e979c
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cd516acfdc37d0d36dfe78914cb1e94035a2eb1c2b80e94528b2a4f27d968a7e62a7eb13ce1eb1365196a274e0c24d02ac6d873596bdb2fe5f2fa9933a51d241

stdlib/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
/LibCURL
88
/Downloads-*
99
/Downloads
10+
/ArgTools-*
11+
/ArgTools
12+
/Tar-*
13+
/Tar

stdlib/ArgTools.version

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ARGTOOLS_BRANCH = master
2+
ARGTOOLS_SHA1 = 388e31f1ccf99ab825671ef4e3ed4a00183b9f0e

stdlib/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ STDLIBS = Artifacts Base64 CRC32c Dates DelimitedFiles Distributed FileWatching
2020
SharedArrays Sockets SparseArrays SuiteSparse Test TOML Unicode UUIDs \
2121
MozillaCACerts_jll LibCURL_jll
2222

23-
STDLIBS_EXT = Pkg Statistics LibCURL Downloads
23+
STDLIBS_EXT = Pkg Statistics LibCURL Downloads ArgTools Tar
2424
PKG_GIT_URL := git://github.com/JuliaLang/Pkg.jl.git
2525
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
2626
STATISTICS_GIT_URL := git://github.com/JuliaLang/Statistics.jl.git
@@ -29,6 +29,10 @@ LIBCURL_GIT_URL := git://github.com/JuliaWeb/LibCURL.jl.git
2929
LIBCURL_TAR_URL = https://api.github.com/repos/JuliaWeb/LibCURL.jl/tarball/$1
3030
DOWNLOADS_GIT_URL := git://github.com/JuliaLang/Downloads.jl.git
3131
DOWNLOADS_TAR_URL = https://api.github.com/repos/JuliaLang/Downloads.jl/tarball/$1
32+
ARGTOOLS_GIT_URL := git://github.com/JuliaIO/ArgTools.jl.git
33+
ARGTOOLS_TAR_URL = https://api.github.com/repos/JuliaIO/ArgTools.jl/tarball/$1
34+
TAR_GIT_URL := git://github.com/JuliaIO/Tar.jl.git
35+
TAR_TAR_URL = https://api.github.com/repos/JuliaIO/Tar.jl/tarball/$1
3236

3337
$(foreach module, $(STDLIBS_EXT), $(eval $(call stdlib-external,$(module),$(shell echo $(module) | tr a-z A-Z))))
3438

stdlib/Tar.version

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TAR_BRANCH = master
2+
TAR_SHA1 = 2c7caf26fde4bc34c2388d460d354f39703b7950

test/precompile.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ try
292292
:Future, :Libdl, :LinearAlgebra, :Logging, :Mmap, :Printf,
293293
:Profile, :Random, :Serialization, :SharedArrays, :SparseArrays, :SuiteSparse, :Test,
294294
:Unicode, :REPL, :InteractiveUtils, :Pkg, :LibGit2, :SHA, :UUIDs, :Sockets,
295-
:Statistics, :TOML, :MozillaCACerts_jll, :LibCURL_jll, :LibCURL, :Downloads,]),
295+
:Statistics, :TOML, :MozillaCACerts_jll, :LibCURL_jll, :LibCURL, :Downloads,
296+
:ArgTools, :Tar,]),
296297
)
297298
@test discard_module.(deps) == deps1
298299
modules, (deps, requires), required_modules = Base.parse_cache_header(cachefile; srcfiles_only=true)

0 commit comments

Comments
 (0)